curl -f --request GET 
"https://googleads.googleapis.com/v7/customers:listAccessibleCustomers"; \
--header "Content-Type: application/json" \
--header "developer-token: DEVELOPER_TOKEN" \
--header "Authorization: Bearer ACCESS_TOKEN"

I tried to get user details for TEST account ID - 815-430-6829 using the 
developer token of production manager account (different base email-Id as 
mentioned in step up page)980-013-4950  so I should successfully get the 
output as json file with user details instead I get a error message about 
Developer Token Prohibited Error and I am not able to under stand why I am 
getting it please anyone from google officials help ASAP as I need to solve 
this error which are basic requirement in automation of application.

Response error I received as json file : 
{
  "error": {
    "status": "PERMISSION_DENIED", 
    "message": "The caller does not have permission", 
    "code": 403, 
    "details": [
      {
        "errors": [
          {
            "errorCode": {
              "authorizationError": "DEVELOPER_TOKEN_PROHIBITED"
            }, 
            "message": "Developer token is not allowed with project 
'407408718192'."
          }
        ], 
        "@type": 
"type.googleapis.com/google.ads.googleads.v7.errors.GoogleAdsFailure", 
        "requestId": "cmjVn_ABtqyYJWIwznV5Zw"
      }
    ]
  }
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/360e39e3-34b8-47c7-b295-14280ce42a0cn%40googlegroups.com.

Reply via email to