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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.