Hi, You can get the full list of accounts under an MCC by setting clientCustomerId <https://developers.google.com/adwords/api/docs/guides/soap#clientCustomerId> to your *MCC*'s customer ID and running the GetAccountHierarchy.java <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201409/accountmanagement/GetAccountHierarchy.java> example.
To get the customer ID of the authenticated user (derived from your OAuth credentials) you can use CustomerService.get <https://developers.google.com/adwords/api/docs/reference/v201409/CustomerService#get> -- that's the one service that does not require *clientCustomerId* (see the release notes <https://developers.google.com/adwords/api/docs/reference/>). Cheers, Josh, AdWords API Team On Thursday, November 20, 2014 10:01:52 AM UTC-5, Liqun Chen wrote: > > After upgraded to V201409, for all request, we need to provide customer > id, otherwise you get CLIENT_CUSTOMER_ID_IS_REQUIRED, but you provided a > valid customer id, only return this customer/account. > Now I am not able to get a full list of accounts, please advise. > > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/e3e22534-3bec-475c-a384-984af873b29c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
