Hi Edward,

No worries, we're always here to provide help. Moving forward, there are 
two possible causes for the USER_PERMISSION_DENIED 
<https://developers.google.com/adwords/api/docs/common-errors#AuthorizationError.USER_PERMISSION_DENIED>
 error 
that you encountered. One cause could be that there is no link between the 
MCC account and the client account and also possibly that your OAuth2 
credentials does not match the *client_customer_id* in your 
*adwords_api.yml* file. For this case, I would recommend that you review 
your OAuth2 credentials and see if they were generated using the same login 
email associated to your Test MCC account. 

You could check by logging in to your AdWords Test MCC account and access 
the Google API Console Credentials Page 
<https://console.developers.google.com/apis/credentials> and check if the 
credentials in this page match those specified in your *adwords_api.yml* file. 
The same can be said when checking the credentials for your production 
account.

For the "*Unauthorized client or scope in request*" error, I would suggest 
that you regenerate your refresh token. You may find this guide 
<https://github.com/googleads/google-api-ads-ruby/wiki/API-access-using-own-credentials-(installed-application-flow)>
 helpful 
in setting up your configuration for Ruby. I hope this helps.

Best regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/4299789a-21cf-400a-bd2b-828d70b0e89c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to