Why do I get not all adwords accounts by user with API?

34 views
Skip to first unread message

Kirill Muhov

unread,
Aug 2, 2017, 1:18:16 AM8/2/17
to AdWords API Forum
Hi, all! I need your help.
I have 2 google emails and 2 accounts.
The first email is (for example) te...@gmail.com and AdWords Manager account
The second email is te...@gmail.com and AdWords Client account

When I use API, 

adwords_client.GetService('ManagedCustomerService').get({
    'fields': ['Name', 'CustomerId', 'CurrencyCode', 'CanManageClients']
}) 

by te...@gmail.com I get a list of accounts
by te...@gmail.com I get an empty list.

Why do I get an empty list of accounts if I have client account and get a list of accounts from MCC?

Ivan Bautista

unread,
Aug 2, 2017, 3:26:31 AM8/2/17
to AdWords API Forum
Hi Kirill,

If you specified as request header the clientCustomerId of the AdWords client account associated with te...@gmail.com when executing the ManagedCustomerService.get(), then you should be getting, at least, that account from the response.

For us to investigate further, could you provide to us privately (using reply privately to author option) the SOAP request and response logs captured when the empty list was returned as well as your AdWords account Ids? If you are using the Python client library for integration, then you may enable SOAP logging via this guide.

Regards,
Ivan 
AdWords API Team

Ivan Bautista

unread,
Aug 9, 2017, 9:40:17 AM8/9/17
to AdWords API Forum
Hi Kirill,

Is the issue still reproducible on your end? If the issue still persists, then would you be able to provide to us privately (using reply privately to author option) the previously requested information so we can investigate further?
Reply all
Reply to author
Forward
0 new messages