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
. On Monday, April 13, 2020 at 3:28:31 PM UTC-4, Charles Langlois wrote: > > 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 > <https://developers.google.com/adwords/api/docs/reference/v201809/SharedSetService.SharedSet> > . > The shared set report > <https://developers.google.com/adwords/api/docs/appendix/reports/shared-set-report> > > also does not include the true owner account id, the externalCustomerId > attribute > <https://developers.google.com/adwords/api/docs/appendix/reports/shared-set-report#externalcustomerid> > > 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! > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/44830fcc-6dc5-4e04-afd5-4180bf09796b%40googlegroups.com.