Google Ads API V11 - Permission Denied

134 views
Skip to first unread message

Phil Konsor

unread,
Aug 25, 2022, 12:10:41 PM8/25/22
to Google Ads API and AdWords API Forum
I am trying to get Google Ads API up and running for an internal application. 

Currently, I have set up:
- developer token on Google MCC
- client id and secret through Google Cloud OAuth credentials 
- have a script that retrieves a new access token based off my refresh token (which works)

My problem is now I'm trying to hit 


and I keep getting a 403 - "The caller does not have permission" error. I have everything set up like I see in the documentations. 

my headers look like: 

'Content-Type' => 'application/json',
'developer-token' => env('GA_DEVELOPER_TOKEN'),
'login-customer-id' => env('GA_MCC_ACCOUNT_ID'),
'linked-customer-id' => env('GA_ADS_ACCOUNT_ID'),
'Authorization' => 'Bearer ' . $access_token

What could I be missing? The MCC account is linked to the Google Ads account. I see the data coming through on the MCC dashboard. 

Currently using the Google REST API as our application does not support the Google API clients. 

Any help would be appreciated! 

Google Ads API Forum Advisor

unread,
Aug 25, 2022, 3:24:03 PM8/25/22
to pko...@queensboro.com, adwor...@googlegroups.com
Hi Phil,

Thank you for raising this concern to the Google Ads API Forum.

I completely understand that you are having issues regarding the Permission Denied. To have a clearer view to this, we will be needing the complete API logs within the format of request and response logs with the request-id that generated on your end also where we can see the "The caller does not have permission" error.  This information will help our team to better check and have an accurate solution here. If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

For security purposes, you can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Best regards,
Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2dncUy:ref
Reply all
Reply to author
Forward
0 new messages