How to know what type of access my manager account have over its client accounts through some API endpoint.

39 views
Skip to first unread message

Ankit Agarwal

unread,
Mar 22, 2020, 12:13:06 PM3/22/20
to AdWords API and Google Ads API Forum
I have a manager account with access to multiple client accounts. But not all of them have the ad_manage permission, I need to figure out through some API endpoint that which client accounts have given ad manage permission to my ad manager account.

Google Ads API Forum Advisor Prod

unread,
Mar 23, 2020, 2:57:38 PM3/23/20
to ankit....@lsasoftware.com, adwor...@googlegroups.com

Hello Ankit,

Thank you for reaching out. We currently do not have any endpoint to verify whether the accounts have permissions to manage the ads via API. It is only possible to verify this by logging into your Google Ads account. Please let us know if you have any concerns.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UXW5uK:ref

Ankit Agarwal

unread,
Mar 25, 2020, 7:53:42 AM3/25/20
to AdWords API and Google Ads API Forum
I am working on software that will allow my clients to create Google Ads. 

How would I know which client account has Read/admin role? This is important for me to know. I cannot verify this by logging into my client's Google Ads Account.

Please tell me some way out.

Zweitze

unread,
Mar 25, 2020, 9:22:07 AM3/25/20
to AdWords API and Google Ads API Forum
The best way around this is using the validateOnly request header. When you add this header (and set to 'true') the API call will be checked but not executed. When the check fails the error is reported.

You use it with, for instance, trying to create a campaign. Now you can get dozens of different errors (eg. name already exists, name is empty, name is too long, user has to agree with latest Terms&Conditions, account disabled, etc.etc.) but one of them refers to insufficient rights.

Get the idea?
Note: I am not sure if validateOnly is supported on the newer Ads API. It hasn't come up for me yet...

Google Ads API Forum Advisor Prod

unread,
Mar 25, 2020, 2:30:34 PM3/25/20
to zwe...@gmail.com, adwor...@googlegroups.com

Hello,

To verify if the client accounts are having sufficient access via UI, you could login to your manager account and navigate to the Tools &  Settings > Account Access as mentioned in this article. The access levels for the user will give you the required details. Please reach out to our product support team via this link for more details as they are better equipped to address UI related concerns. 



Regards,
Nikisha Patel, Google Ads API Team



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