403 error code while using google ads API

593 views
Skip to first unread message

Sri kp

unread,
Oct 5, 2023, 5:36:22 PM10/5/23
to Google Ads API and AdWords API Forum
https://googleads.googleapis.com/v14/customers:listAccessibleCustomers call is getting me a 403 error code. Using credentials and refresh token from the google cloud console.

Any ideas what could be going wrong ?

Sri kp

unread,
Oct 5, 2023, 6:09:25 PM10/5/23
to Google Ads API and AdWords API Forum
{ "error": { "code": 403, "message": "The caller does not have permission", "status": "PERMISSION_DENIED", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v14.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "authorizationError": "DEVELOPER_TOKEN_PROHIBITED" }, "message": "Developer token is not allowed with project '40740871XXXX'." } ], "requestId": "E1s9tMnp4eTsES4pkDXXXX" } ] } }

Google Ads API Forum Advisor

unread,
Oct 6, 2023, 4:30:52 AM10/6/23
to sriku...@gmail.com, adwor...@googlegroups.com
Hi,

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

By reviewing your concern, I understand that you are getting a 403 error code while trying to use the listAccessibleCustomers method.

In order to investigate your issue further, kindly provide us with the complete API logs (request and response with request-id and request header) along with the uncropped UI screenshot generated at your end. Kindly note that the only error logs are not sufficient to investigate your issue.

If you are using a client library and haven't enabled logging yet, I would request that you enable logging for the specific client library that you are using. You can refer to the guides in Java.NetPHPPythonRuby, 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:_00D1U1174p._5004Q2pPK6N:ref"

Thanks,
 
Google Logo Google Ads API Team


 

Reply all
Reply to author
Forward
0 new messages