The caller does not have permission

59 views
Skip to first unread message

kwerysupport

unread,
Aug 9, 2024, 5:46:06 AM8/9/24
to Google Ads API and AdWords API Forum
Hi Team,

My Login Customer Id is 220-479-8678, i have configured the same in my App config file. 

I am getting the below error from the Google Ads API response

Kindly let me know if I missed any configuration

Status(StatusCode="PermissionDenied", Detail="The caller does not have permission", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1723082867.671000000","description":"Error received from peer ipv4:142.251.46.170:443","file":"..\..\..\src\core\lib\surface\call.cc","file_line":953,"grpc_message":"The caller does not have permission","grpc_status":7}") [08/08/24 2:07:47]

Google Ads API Forum Advisor

unread,
Aug 9, 2024, 11:28:37 AM8/9/24
to kwerys...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

I could see that you are encountering a USER_PERMISSION_DENIED authorization error, it means the user doesn't have permission to access the customer. According to the documentation, if you're accessing the customer, please specify the login-customer-id as the manager account ID without hyphens (-). Also, kindly check if you have the correct access level to the Google Ads account that you are accessing. Kindly note that only error logs are not sufficient to assist you.

To analyze your issue further could you kindly provide us with the below details. 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 guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vEjSD:ref" (ADR-00262641)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages