get linked manager account data

33 views
Skip to first unread message

INI GlobalOps

unread,
Jan 14, 2021, 12:08:50 PM1/14/21
to AdWords API and Google Ads API Forum
Hi I'm wondering how to access the data for subaccounts under a linked manager account.

When we request customer_service.list_accessible_customers() the response is this list:

Customer resource name: "customers/92xxxxxxxx"
Customer resource name: "customers/20xxxxxxxx"
Customer resource name: "customers/78xxxxxxxx "
Customer resource name: "customers/84xxxxxxxx "
etc.

These are manager accounts linked to our manager account.

My question is how do I extract the subaccounts of these manager accounts so I can get campaign performance data?

Thank you!

Google Ads API Forum Advisor Prod

unread,
Jan 15, 2021, 12:39:48 AM1/15/21
to iniglo...@initiative.com, adwor...@googlegroups.com
Hi,

Thank you for posting your concern.

The list_accessible_customers can only used to return the list of accounts where your authenticated user has been added with admin or other rights in the account. This does not include all accounts within the account hierarchy. Please see this document to read more information about List Accessible Accounts.

If you want to get all the accounts under a specific manager account, then I would recommend referring to this document. Aside from providing the list of accounts under the MCC account, it will also return the account hierarchy from the top MCC to the lowest client account.

Hope this will help. Let me know if you have further questions.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2B0LVN:ref
Reply all
Reply to author
Forward
0 new messages