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!