Hi team, 

I have a manager account with a developer test token, and I've subsequently 
created test accounts in order to develop my functionalities in a test 
environment. However, even with all the right parameters, I get the error 
DEVELOPER_TOKEN_PROHIBITED.

Here's an example of the CURL request I use that results in this error:

curl -X POST \
     -H "Content-Type: application/json" \
     -H "developer-token: {DEVELOPER_TOKEN}" \
     -H "Authorization: Bearer {ACCESS_TOKEN}" \
     -d '{
           "query": "SELECT campaign.id, campaign.name FROM campaign"
         }' \
    
 
https://googleads.googleapis.com/v15/customers/{CLIENT_TEST_ID}/googleAds:search
{
  "error": {
    "code": 403,
    "message": "The caller does not have permission",
    "status": "PERMISSION_DENIED",
    "details": [
      {
        "@type": 
"type.googleapis.com/google.ads.googleads.v15.errors.GoogleAdsFailure",
        "errors": [
          {
            "errorCode": {
              "authorizationError": "DEVELOPER_TOKEN_PROHIBITED"
            },
            "message": "Developer token is not allowed with project 
'{CLIENT_TEST_ID}'."
          }
        ],
        "requestId": "taFQMxFBX6Rlbp37uSxMBQ"
      }
    ]
  }
}

How can I fix this issue? 
Thank you for your help

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/526c83b6-3667-4050-9ab0-d68ed8cb982en%40googlegroups.com.
  • DE... Maxime Heurtevent
    • ... Maxime Heurtevent
    • ... Nimisha Mahajan
    • ... Nimisha Mahajan
    • ... Buman-Erdene Usukhbayar
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Buman-Erdene Usukhbayar
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... Buman-Erdene Usukhbayar
              • ... Buman-Erdene Usukhbayar

Reply via email to