Can't use endpoint which requires admob.monetization permission scope

63 views
Skip to first unread message

Lê Hồ Phú Quý

unread,
Aug 12, 2024, 11:53:12 PM8/12/24
to AdMob API Developer Forum
Hi team,
I got the 403 error when calling v1beta accounts.mediationGroups.list endpoint even though I have the owner's permission. I observed the admob.monetization scope does not exist in the oauth2 scopes.

Please assist me! Thanks in advance

Lin Yang

unread,
Aug 12, 2024, 11:56:52 PM8/12/24
to AdMob API Developer Forum
https://github.com/googleads/googleads-admob-api-samples has samples on how to obtain the oauth tokens. In short, please make sure (a) you've specified admob.monetization scope in the oauth request, (b) you provided a valid client secrete json file from your GCP project, and (c) the AdMob data you're accessing from the API belongs to your account.
Reply all
Reply to author
Forward
0 new messages