I am having the same issue as above. I am able to authenticate when using the 'load_from_storage' method however when using 'load_from_dict' it says I don't have permissions.
On Monday, July 12, 2021 at 7:43:26 AM UTC+1 mo...@abagada.com wrote: > Hi Peter, Boshy, > > Just to address Boshy's previous question, we are using a production > developer token, so that should not be an issue. We are able to execute the > calls with the adwords API. > > @Peter - I have been doing exactly as you mentioned, adding the manager > account as part of the authentication package, under login-customer-id, and > still receive this error (indeed a user_permission_denied). We have an > account structure that is several manager accounts deep (users are provided > access to the relevant manager account, and not directly to the ad > accounts), and have tried all manager accounts as the login-customer-id > with no success. When access is granted to a user directly to an account > the issue is resolved. > > How can we proceed? > > Thanks, > > Moshik > > On Monday, July 12, 2021 at 6:16:45 AM UTC+3 adsapi wrote: > >> Hi Boshy, >> >> I work with Ernie and allow me to assist you. >> >> The "*User doesn\'t have permission to access customer. Note: If you\'re >> accessing a client customer, the manager\'s customer id must be set in the >> \'login-customer-id\'*" error usually comes along when the >> user_permission_denied >> <https://developers.google.com/google-ads/api/docs/best-practices/common-errors#user_permission_denied> >> >> error is encountered. >> >> To avoid this, you will need to ensure that the OAuth2 credentials >> <https://developers.google.com/google-ads/api/docs/oauth/cloud-project> >> you are using was generated by a user / email address that has access to >> the Google Ads account specified in your API request. If the user / email >> address used to generate the credentials is one that is associated to the >> MCC / manager Google Ads account, then you will need to specify the MCC / >> manager account's ID as the login-customer-id >> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid> >> >> in the API request. >> >> Should the issue persist, and so our team can take a closer look at the >> issue, could you share the user / email address used, and also the complete >> request >> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> >> >> and response >> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> >> >> logs, with the request-id >> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id> >> ? >> >> If you haven't yet, logging can be enabled by navigating to the *Client >> libraries > Your client library (ex. Java) > Logging* documentation, >> which you can access from this link >> <https://developers.google.com/google-ads/api/docs/client-libs>. >> >> You may then send the requested information via the *Reply privately to >> author* option. If this option is not available, you may send the >> details directly to our googleadsa...@google.com alias instead. >> >> Best regards, >> >> [image: Google Logo] >> Peter Laurence Napa Oliquino >> Google Ads API Team >> >> >> ref:_00D1U1174p._5004Q2JYa3Y:ref >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/30276c13-d1f8-43a0-a84f-e94fc74e5ae4n%40googlegroups.com.