I'm trying to do my first AdWords API call and I get an error:

*AuthorizationError.USER_PERMISSION_DENIED*

This is my credentials:

1. Developer token - Production token from my MCC
2. Client customer Id - The test AdWords account ID under test MCC account
3. Client id - My id from google api console
4. Client secret - My secret from google api console
5. Refresh token - token which I get under Production MCC account

Why I get this error? I read about this on a forum and I understand - There 
is no link between the manager account authenticated in the request and the 
client account specified in the headers.

When I try to change Refresh token which I get under Test MCC account I get 
new error:

*error: 'invalid_grant', error_description: 'Bad Request'*

So, guys, how do you do the correct request?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ec3ec373-b735-41de-a170-e4489d2aa856%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to