Get permissions of login behind OAuth access token

38 views
Skip to first unread message

al...@trueclicks.com

unread,
Apr 2, 2019, 4:23:48 AM4/2/19
to AdWords API and Google Ads API Forum
I have a quick question that I did not find answer to in this forum yet.

Google Ads login can have one of 5 different permission levels, starting from lowest Email-only all the way up to Administrative access. The OAuth token inherits the same permissions of a login it was authenticated with.

Question: Is it possible to retrieve through an Google Ads/AdWords API call what permissions Email/../Administrative we have with the given OAuth token?


Best,
 Ales

googleadsapi...@google.com

unread,
Apr 2, 2019, 5:39:21 AM4/2/19
to adwor...@googlegroups.com, AdWords API and Google Ads API Forum
Hi Ales,

On the AdWords API perspective, if what you want is to fetch the access level of specific OAuth token based on this link, I'm afraid that this is currently not supported via AdWords API.

Other way to know the access level is too check it in UI by navigating to TOOLS->SETUP->Account access search for the particular user accounts which you want to know.

Regards,
Ejay
Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/dcb0b316-9826-48c9-a2a7-1be98408d3d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dorian Kind

unread,
Apr 2, 2019, 10:22:39 AM4/2/19
to AdWords API and Google Ads API Forum
To at least check whether there's only read-only access to a given account you could try send a simple operation (e.g. creating a new campaign) with the validateOnly header as suggested in this thread.
Reply all
Reply to author
Forward
0 new messages