How does one query the API to get accounts connected to a client?

28 views
Skip to first unread message

Johan Henriques

unread,
Mar 3, 2017, 3:17:44 AM3/3/17
to AdWords API Forum
Hey,

I am aware of the fact that MCC accounts can use the ManagedCustomerService to get clients connected to the manager account.
What I am trying to do is to get accounts conected to the specific client and return them so that I can parse all the access levels and accounts connected to a specific client to get an overview over the users and access levels.

How would one go about to do such a thing? I have been trying to read the API forwards and backwards, but I can't seem to find a way to query for the users under a client.

Johan Henriques

unread,
Mar 3, 2017, 3:46:42 AM3/3/17
to AdWords API Forum
The equivalent of what I am trying to do is how one can query Analytics API and get a response with the user and a permission object. See https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/accountUserLinks for info on what I mean more precisely.

I appreciate all help there is! Thanks

Peter Oliquino

unread,
Mar 3, 2017, 4:26:17 AM3/3/17
to AdWords API Forum
Hi Johan,

In a recent announcement, AdWords now allows the user to associate one login email to up to 5 other AdWords accounts (not necessarily in the same managerial hierarchy) and they may then be able to retrieve account information of these accounts via the CustomerService.getCustomers().

As for customer information returned by the AdWords API, the Customer object returned by CustomerService only contains information such as customerId or a flag to indicate whether that particular customer can manage other AdWords accounts or not. However, retrieval of access levels or account permissions is not supported in the AdWords API.

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