Hello Juan, >From the screenshot shared I see that you are facing USER_PERMISSION_DENIED <https://developers.google.com/adwords/api/docs/common-errors#AuthorizationError.USER_PERMISSION_DENIED> error. Which means that there is no link between the manager account authenticated in the request and the client account specified in the headers. You need to make sure the user authenticating the API call must have access to the account targeted in the API call. You could refer this article <https://support.google.com/google-ads/answer/6372672?hl=en&co=ADWORDS.IsAWNCustomer=true> to grant access to the user, before granting the access please refer to this access level guide <https://support.google.com/google-ads/answer/1704346?hl=en>. Please note that an approved developer token can be used to make API calls against any AdWords account. Please let me know if you have any further questions.
Regards, Sai Teja, AdWords API Team. On Monday, November 19, 2018 at 6:08:12 AM UTC-5, [email protected] wrote: > > Hello, I am trying to consume the adswords API with a refresh token > generated after the user grants me the permissions, following this guide > > https://github.com/googleads/googleads-php-lib/wiki/API-access-on-behalf-of-your-clients-(web-flow) > > unfortunately I do not get the results I want, > my question is: does that generated refreshtoken work with accounts that > are not in the account hierarchy of the developer token? > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/7aadabcb-fdf5-48b0-8911-9846462881ae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
