How can i get Adsense Management API scope authentication

Skip to first unread message

Jess Jiao

Sep 14, 2021, 11:02:18 AM9/14/21
to AdSense API Forum
Hello, need help with dsense Management API, thanks  in-advance

When we trying to request data from Adsense Management API, the error message is 
"error":"code": 403, "message":"Request had insufficient authentication scopes ","errors" :[i"message": "Insufficient Permission ", "domain": " "PERMISSION DENIED"]

However when we go to oathplayground, we are not able to find Adsense Management API scope . If this scope is not supported yet, how can we request data through Adsense Management API ?

Ad Sense API

Sep 16, 2021, 11:49:49 AM9/16/21
Hi, Jess.

The AdSense Management API scopes can be found in our Authorizing Requests guide. It's strange they are not present in the OAuth playground scopes list. I can look into that. However, you can enter your own scope in the text field below the list, so you can use that method in the meantime.

As for the 403 error, does the user that is authenticating for the API have access to the AdSense account you're trying to access? Also, did you register your API application either in the Google Cloud Project Console or on our developer docs?

Google Logo
Donovan McMurray
AdSense API Team


Jess Jiao

Sep 27, 2021, 11:22:44 AM9/27/21
to Ad Sense API,
Hello Google Support Team
Thanks. very much for help, manually add scope in the text field does work
Kind regards
焦旸 Jess AM Manager of Commercialization Growth
+86 138 1402 3290
Building H, 21 Ruanjian Avenue, Nanjing, Jiangsu, China
Disclaimer: This email message together with any attachment(s) are confidential and may be legally privileged and are intended solely for the use of the intended recipient. If you are not the intended recipient, please notify the sender immediately and then delete the message from your computer. You should not copy it or disclose its contents to any other person. 

Ad Sense API <> 于2021年9月16日周四 下午11:49写道:
Reply all
Reply to author
0 new messages