> googleapiclient.errors.HttpError: <HttpError 401 when requesting https://admob.googleapis.com/v1/accounts/pub-xxxxxxxxx?alt=json returned "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.">
I have no idea why this error occurs even though I'm just following the guidance.
Could someone please help me solve this and download a report using the API?
Thank you.
{
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"status": "UNAUTHENTICATED"
}
}
|
||||||