Hi Darwin, 
First of all, thanks for the quick response, the code worked fine when I 
executed it after few hours, no changes in the code looks like the issue is 
with Google Ads API something weird happens in between,  I have been 
noticing this for a while, all the credentials are right...I literally 
changed nothing, the code works fine after some time....

Regards,
Pawan Manpuri

On Wednesday, January 25, 2023 at 7:31:27 PM UTC+5:30 adsapi wrote:

> Hi Pawankumar,
>  
>
> Thanks for reaching out to the Google Ads API team. I hope you are doing 
> well today.
>
>
> With regards to your concern, It seems that you are encountering the "
> *USER_PERMISSION_DENIED* 
> <https://developers.google.com/google-ads/api/reference/rpc/v10/AuthorizationErrorEnum.AuthorizationError?hl=en#user_permission_denied>"
>  
> which means a user doesn't have permission to access a customer and you’re 
> accessing a client customer using 'login-customer-id’ in the request.
>
>
> That being said, you will need to ensure that the user / email address you 
> used to generate the credentials indeed has *access* 
> <https://support.google.com/google-ads/answer/9978556?visit_id=637628826037447236-382779227&rd=1>
>  to 
> the account in your request. If the user / email address has access or is 
> associated with the MCC / manager account, you will need to specify the *MCC 
> / manager account's ID* without hyphens (-) as the value of the 
> *login-customer-id* 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid>
>  field. 
>
>
> If the error still persists, you may provide us with 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>
>  along 
> with the *email address* used to generate the OAuth2 credentials.
>
> You can provide it via Reply privately to the author option. If this 
> option is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
>
> Regards,
> [image: Google Logo] 
> Darwin 
> Google Ads API Team 
>   
>
>
> ref:_00D1U1174p._5004Q2iNWvb: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 
"Google Ads API and AdWords 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/23e94549-d773-401c-ae98-81c9a67eb48fn%40googlegroups.com.
  • GO... Pawankumar Manpuri
    • ... Pawankumar Manpuri
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Pawankumar Manpuri
          • ... Pawankumar Manpuri
            • ... Pawankumar Manpuri

Reply via email to