How to identify shared set owner account

368 views
Skip to first unread message

Charles Langlois

unread,
Apr 13, 2020, 3:28:31 PM4/13/20
to AdWords API and Google Ads API Forum
Hi!

I just realized that neither the adwords api(v201809) nor the new googleads api(v3) include the owner account id in the shared set model.
The shared set report also does not include the true owner account id, the externalCustomerId attribute seems to be populated with the customer id used for the request.

Querying available shared sets for an account(e.g. through the shared set service `Get` operation) indeed returns all available shared sets.
However, some of those may be owned by a parent manager account, some of them may be owned by the account used for the request.
There seems to be no way to know which is which, except perhaps through a process of elimination by going through the account hierarchy and noticing in which parent account a shared set becomes unavailable(implying it is owned by the account below).

Is there a better way to know which account is the owner of a shared set?
Why doesn't the shared set model include an `ownerAccountId` attribute?

This information is necessary to mutate shared sets. For example, attempting to add keyword criteria to a negative keyword list using the wrong account(e.g. a child account of the MCC shared set owner account) will fail with a `EntityNotFound.INVALID_ID` error.

Our application rely on this: we need to mutate shared sets, and we need to know which account is the true owner of a shared set.

Thanks!

Charles Langlois

unread,
Apr 13, 2020, 4:41:08 PM4/13/20
to AdWords API and Google Ads API Forum
An alternative interpretation of the issue, is that if all available shared sets are returned from a `Get` query on the shared set service, and it should be possible to target those shared sets for mutations(e.g. using the shared set criteria service to add keywords to a negative keyword shared set). Currently, it seems that this is not the case, as attempting to modify a shared set owned by a parent MCC account fails withan error
EntityNotFound.INVALID_ID

.

Google Ads API Forum Advisor Prod

unread,
Apr 14, 2020, 1:24:33 PM4/14/20
to adwor...@googlegroups.com

Hi Charles,

Thank you for reaching out. The SharedSets are used for sharing entities across multiple campaigns under the same account. Another thing is that the MCC account could not contain any criterion list themselves, neither the campaigns that you might already know. I hope this answered your question. Please let us know if you have any further concerns. 

Thanks and regards,
Xiaoming, Google Ads API Team



 

ref:_00D1U1174p._5001UZXs8t:ref

Ales Sturala

unread,
Aug 24, 2020, 6:24:02 AM8/24/20
to AdWords API and Google Ads API Forum
So I have the same issue and I believe that the original question wasn't answered. Let me rephrase the question though.

Goal: In our tool you can list shared negative lists that are used within your Google Ads account. That includes MCC level/master/cross account shared negative lists too - so shared lists created within other account, usually an MCC above.

Problem: When listing negative lists, we cannot see CCId of the owning Google Ads account (when it is a cross account shared list). That means that I cannot perform any mutate operations on the list either. So to rephrase it even further - when I see a cross account shared negative list in a specific Google Ads account, how can I know which CCId to use when performing mutate operations (e.g. adding a new negative)?

Google Ads API Forum Advisor Prod

unread,
Aug 24, 2020, 3:27:27 PM8/24/20
to al...@trueclicks.com, adwor...@googlegroups.com

Hi Ales,

Thank you for reaching out. Retrieving of the owner of the shared set is not currently supported via the API. There is already a feature request to support this functionality. Please keep an eye on our blog for the announcements and updates on new releases.



Thanks and regards,
Xiaoming, Google Ads API Team




Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5001UZXs8t:ref

Ales Sturala

unread,
Aug 25, 2020, 5:58:26 AM8/25/20
to AdWords API and Google Ads API Forum
Thank you  Xiaoming for your quick answer. Is there a way to at least:

a) identify if a negative list is cross account or not?
b) list for specific Google Ads account only lists that belong to it?

Otherwise we are left in a situation where you can get negative lists but you have no way to know whether you can actually mutate it or not.


Google Ads API Forum Advisor Prod

unread,
Aug 25, 2020, 12:20:53 PM8/25/20
to al...@trueclicks.com, adwor...@googlegroups.com

Hi Ales,

Thank you for reaching out. Please find my response to your questions below:
 

  1. It is not possible to check whether the shared set is across account or not.
     

  2. You could query the SharedSetId from the Shared Set Report to get a list of Shared Set Ids that are applied to the account.
     

We requested the feature to be able to find the owner of the shared set and then mutate it.



Thanks and regards,
Xiaoming, Google Ads API Team






Ales Sturala

unread,
Jan 28, 2021, 10:25:49 AM1/28/21
to AdWords API and Google Ads API Forum
Hello,

we're migrating to the new Google Ads API and I stumbled upon this problem again. Is there by any chance a way now to get the client customer Id for account owning a MCC level shared negative list in the new Google Ads API or is it still on the roadmap?


Best,
 Ales

Google Ads API Forum Advisor Prod

unread,
Jan 28, 2021, 12:12:46 PM1/28/21
to al...@trueclicks.com, adwor...@googlegroups.com

Hi Ales,

Thank you for reaching out. This is still on the roadmap. Please keep an eye on our blog for the announcements and updates on new releases.



Thanks and regards,
Xiaoming, Google Ads API Team
 

Jun Kagaya

unread,
Feb 26, 2022, 1:54:50 AM2/26/22
to Google Ads API and AdWords API Forum
A hack I've found that works to find non-manager owned shared sets that can be mutated:
1. Query the shared sets by customerId. This gives you all of the shared sets EXCLUDING ones not owned by managers.
2. Query again with managerId and get all of the shared sets INCLUDING ones owned by managers.
3. EXCLUDE the common shared sets between the two queries, the remainder are shared sets not owned by managers.

It's a bit tedious, but it's the only solution I found.

Kind regards,
Jun


Google Ads API Forum Advisor

unread,
Feb 28, 2022, 3:57:59 AM2/28/22
to jun.a....@gmail.com, adwor...@googlegroups.com

Hello Jun,

Thanks for sharing your inputs to this forum thread.

As an aside, we recommend that you keep an eye to our blog for any updates and new releases in the Google Ads API.

Regards,

Google Logo
Mark Kevin
Google Ads API Team
 

 

ref:_00D1U1174p._5001UZXs8t:ref

Ales Sturala

unread,
Dec 29, 2022, 6:44:13 AM12/29/22
to Google Ads API and AdWords API Forum
Hello,

It is now 2.5 years. Is there any update on this limitation, or is it still on the roadmap?


Cheers

Google Ads API Forum Advisor

unread,
Dec 29, 2022, 11:09:32 AM12/29/22
to al...@trueclicks.com, adwor...@googlegroups.com
Hi Ales,

Thank you for reaching out to the Google Ads API support team.

It is still not available in the shared_set report.We recommend that you keep an eye to our blog for any updates and new releases in the Google Ads API.

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


ref:_00D1U1174p._5001UZXs8t:ref
Reply all
Reply to author
Forward
0 new messages