Thank you of answer. Propably problem is that I don't send login-id but I 
have a manager permission. But where can I found login-customer-id? I'm 
using this code. It's correct? On documentation I saw that this id I can 
find after click help icon. But i don't have id with this place.
 [image: screen.png]
I'm using this library googleads/google-ads-php:21.1.0 in Laravel framework
środa, 17 stycznia 2024 o 12:57:20 UTC+1 Google Ads API Forum Advisor 
napisał(a):

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> By reviewing your query, I understand that you are getting the error "
> PERMISSION_DENIED 
> <https://developers.google.com/google-ads/api/reference/rpc/v15/AuthorizationErrorEnum.AuthorizationError?hl=en#user_permission_denied>".
>  
> It 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. To 
> address the above error, 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 
> said MCC / manager account ID as the value of the login-customer-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid>
>  field.
>
> However, If you are still facing the issue, please provide us with the (
> 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>
>  with request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  and request header 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>)
>  and 
> uncropped UI screenshots to further investigate this issue.
>
> If you are using a client library and haven't enabled the logging yet, I 
> would request you to enable logging for the specific client library that 
> you are using. You can refer to the guide PHP 
> <https://developers.google.com/google-ads/api/docs/client-libs/php/logging> 
> to 
> enable logging at your end. For REST interface requests, you can enable 
> logging via the curl command by using the -i flag.
>   
> This message is in relation to case "ref:!00D1U01174p.!5004Q02rX3Ul:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0ede0870-26f7-4637-9599-7863ca15e482n%40googlegroups.com.
  • Re... PHP programmer
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... PHP programmer
        • ... PHP programmer
          • ... PHP programmer
            • ... PHP programmer

Reply via email to