CustomerService only return single MCC when multiple are present

40 views
Skip to first unread message

Tiana S.

unread,
Oct 26, 2016, 3:38:02 AM10/26/16
to AdWords API Forum
Hi guys!

I have someone here who has multiple MCCs connected to a single user. 
The issue is that when authorising this user and fetching the available details for it through the CustomerService only one of the MCCs is returned.
Is there any way to fetch all MCCs connected to the user?

Thanks,

Tiana

Peter Oliquino

unread,
Oct 26, 2016, 5:01:48 AM10/26/16
to AdWords API Forum
Hi Tiana,

The CustomerService.getCustomers method returns only the details of the specified account in the clientCustomerId field of the request header. Additionally, the client library has the GetAccountHierarchy (other languages also available in the link) example wherein it uses the ManagedCustomerService to fetch the full list of accounts under an MCC account by specifying the MCC account ID in the clientCustomerId field. It cannot, however, fetch information vice-versa wherein you will fetch all the connected MCCs of a given customer account.

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages