ManagedCustomerService is not returning all the accounts

19 views
Skip to first unread message

cv

unread,
Jan 22, 2019, 8:21:33 AM1/22/19
to AdWords API and Google Ads API Forum
Hello,

I was using ManagedCustomerService to get all the accounts under Adwords.
UI has so many accounts but API is returning only one account.

Is there anything limited to API?

Thanks,

googleadsapi...@google.com

unread,
Jan 22, 2019, 3:58:48 PM1/22/19
to AdWords API and Google Ads API Forum
Hi Chirag,

If you are passing the client customer id of the manager account in the request header, it should return the account hierarchy under that manager account. You can refer to this sample Java code here. Samples in other languages can be found here, Could you please share the request and response logs so that I can troubleshoot the issue? You can use 'Reply privately to author' while responding.

Thanks,
Milind, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

cv

unread,
Jan 23, 2019, 12:57:30 AM1/23/19
to AdWords API and Google Ads API Forum
Hi,

No I am not passing any of the customer ID. I am using example GetAccountHierarchy.php to test it out.

Please check private reply for SOAP logs.

Thanks,
Reply all
Reply to author
Forward
0 new messages