Admob API returns Request is missing required authentication credential
230 views
Skip to first unread message
Hien Mai Nguyen
unread,
May 31, 2021, 2:44:53 AM5/31/21
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
Hello,
I am using some sample provided in https://github.com/googleads/googleads-admob-api-samples to call AdMob API. I was using the Python sample, after entering my publisher ID and client_secrets, AdMob returns this error (I censored my publisher ID, so it doesnt show the actual one).
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 m...@puzzle.sg, google-admob-api...@googlegroups.com
Hello there,
Thank you for reaching out to the forum. Could you please confirm that the authorization steps were completed? These steps typically include:
From the Google Console Credentials page, click Download JSON next to the client ID and save the file as client_secrets.json in the root directory of the samples.
Open an example and replace the PUBLISHER_ID constant with your Publisher ID.
Run any of the samples.
Click on the link that is generated in the terminal and complete the authorization steps in the browser.