How to recover all accounts MCC?

43 views
Skip to first unread message

fabrice.b...@ysance.com

unread,
Sep 27, 2017, 6:05:17 AM9/27/17
to AdWords API Forum

How to recover all accounts MCC?


I have been looking for a few days on google but I find nothing.

I would like to retrieve all accounts manager from an adwords account.

For the moment I only get the first one.

I have seen : https://developers.google.com/adwords/api/docs/samples/python/account-management


Fabrice Boccaccini
Software Engineer
24, rue du Sentier, 75002 Paris
+33 1 43 36 23 17
www.ysance.com | blog.ysance.com
 
Paris, 28 septembre : Témoignage Generali

fabrice.b...@ysance.com

unread,
Sep 27, 2017, 6:05:17 AM9/27/17
to AdWords API Forum

Shwetha Vastrad (AdWords API Team)

unread,
Sep 27, 2017, 11:10:54 AM9/27/17
to AdWords API Forum
Hi, 

Are you looking to get all the accounts linked to an AdWords MCC account? If so, you need to use ManagedCustomerService.get() method as shown in the get_account_hierarchy.py example. Please note that you need to set the clientCustomerId in the request to the AdWords MCC ID. 

Regards,
Shwetha, AdWords API Team.

fabrice.b...@ysance.com

unread,
Sep 28, 2017, 4:26:25 AM9/28/17
to AdWords API Forum
Hi

I'm not looking to have all accounts linked to an mcc account but to have all mcc accounts linked to an adwords account.


I want to have this list . (picture)

Cordially.

Shwetha Vastrad (AdWords API Team)

unread,
Sep 28, 2017, 11:41:31 AM9/28/17
to AdWords API Forum
Hi, 

I'm afraid its not possible to get the AdWords Manager accounts linked to a client account using AdWords API. If you are looking to get all accounts that are directly accessible authenticated user, you can use CustomerService.getCustomers() without specifying the clientCustomerId in the request. 
Reply all
Reply to author
Forward
0 new messages