I want to get the cost metrics of my google ads account using google ads api.

76 views
Skip to first unread message

Akshay Sharma

unread,
Feb 5, 2024, 5:13:50 AM2/5/24
to Google Ads API and AdWords API Forum
{
 
"error": {
   
"status": "PERMISSION_DENIED",
   
"message": "The caller does not have permission",
   
"code": 403,
   
"details": [
     
{
       
"errors": [
         
{
           
"errorCode": {
             
"authorizationError": "USER_PERMISSION_DENIED"
           
},
           
"message": "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' header. See https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid"
         
}
       
],
       
"@type": "type.googleapis.com/google.ads.googleads.v15.errors.GoogleAdsFailure",
       
"requestId": "fpKpI5VJ7BJYy2Tt3GK1RA"
     
}
   
]
 
}
}

return this error. Please do needful to how we resolve this error.

Google Ads API Forum Advisor

unread,
Feb 5, 2024, 8:11:39 AM2/5/24
to aksha...@gmail.com, adwor...@googlegroups.com
Hi,

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

I see that you have already raised this concern on another thread with the subject “Please do needful to give solution.” and we have already responded there for this issue. To avoid multiple threads on the same issue, please take a look at that thread and continue the discussion on the same for further updates on the issue.

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02ryoPa:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages