The caller does not have permission. Google Adsense Management Api

Viewed 22

{ "error": { "code": 403, "message": "The caller does not have permission", "errors": [ { "message": "The caller does not have permission", "domain": "global", "reason": "forbidden" } ], "status": "PERMISSION_DENIED" } }

It says you don't have permission. But I am logging in oauth2 with the adsense account itself. So it's not from a different account. It seems silly to me that there is an access permission issue here. I couldn't get past this error for about 1 day.

By the way, I get the same result in google's 'try this method' service.


SOLVED

I was entering the adsense email as the accounts parameter, the problem was here. API worked when using account name

0 Answers
Related