Hi,

The USER_PERMISSION_DENIED 
<https://developers.google.com/adwords/api/docs/common-errors#AuthorizationError.USER_PERMISSION_DENIED>
 error 
suggests that there could be no link between the client account and the MCC 
account, or that your OAuth2 credentials do not match the clientCustomerId. 
For the first scenario, you may use the GetAccountHierarchy 
<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201609/AccountManagement/GetAccountHierarchy.php>
 example 
(while using the MCC account ID as the value for the *clientCustomerId*) to 
check which client accounts are associated to your MCC. 

For the second scenario, could you confirm if you used the same email 
associated to your MCC account to generate your OAuth2 credentials? If no, 
then I would recommend that you recreate your credentials 
<https://developers.google.com/adwords/api/docs/guides/authentication> while 
logged in to the email account associated to your MCC. I hope this helps 
and please let me know if the issue persists.

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 [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 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/4f12bfd5-7aaa-4c4e-8a8a-9a8cc65f5d65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to