Further to my last post pointing to what the documentation said, we tested this functionality and it seems the documentation is not correct.
Without setting the *clientCustomerId,* we still get back one entry only when calling the getCustomers() method for a Manager account. It seems the new getCustomers() method work exactly the same as the old get() method. Can you please clarify if we missed something? or what exactly has changed? Oliver On Saturday, 30 July 2016 08:00:22 UTC+1, Oliver wrote: > > Hi Shwetha, > > The documentation says something different from what you mentioned. It > says in this page: > https://developers.google.com/adwords/api/docs/guides/accounts-overview#customerservice > > *In v201605 and earlier, if no clientCustomerId is specified, then the > response will contain a single entry for the authenticated account. You > must specify a clientCustomerId when authenticating as a manager account to > obtain info for a specific account.* > > > *Starting with v201607, if no clientCustomerId is specified, then the > response will contain multiple entries if more than one account is directly > accessible by the authenticated account. If you only want results for a > single account, you must specify the clientCustomerId in your request.* > > > So my question is, if we don't specify a customerId (which we can't if we > just authenticated a new user and we don't know his Id), then we will get > back multiple accounts. How do we know which account is the root account? > > > Oliver > > > > On Friday, 29 July 2016 22:48:36 UTC+1, Shwetha Vastrad (AdWords API Team) > wrote: >> >> Hi Oliver, >> >> If you do not specify a clientCustomerId in the request header, the >> getCustomers >> <https://developers.google.com/adwords/api/docs/reference/v201607/CustomerService#getCustomers> >> method >> will return the account details of the authenticated customer. If the >> canManageClients >> <https://developers.google.com/adwords/api/docs/reference/v201607/CustomerService.Customer#canmanageclients> >> field >> is true in the returned Customer object, then the returned account is a >> Manager account. >> >> I hope this helps. >> >> Regards, >> Shwetha, AdWords API Team. >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/c3b87583-abb7-4d1c-a5e5-94083efabb24%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.