Hello,

Thanks for getting back to us and for sharing those logs.

As per checking on the CID (4230269174), this is a Production MCC account and 
not a test MCC account. You should create a test MCC account by following this 
guide. Once a test MCC account has been created, use this in the 
login-customer-id field (if your OAuth2 credentials were created by a user / 
email that has access to the said test MCC) then you can now create a test 
client account.

As an aside, I will be removing the thread that contains the logs. Moving 
forward, avoid sharing logs in forum and only send those privately. Below is a 
copy of your post with the redacted details.

No, the developer token is not approved, but the request is against a testing 
account, so it should be ok, shouldn't it?

1. Response/request details:

2021-08-02 12:18:02,159 [INFO] google.ads.googleads.client: Request

-------

Method: /google.ads.googleads.v7.services.CustomerService/CreateCustomerClient

Host: googleads.googleapis.com

Headers: {

"developer-token": "REDACTED",

"login-customer-id": "4230269174",

"x-goog-api-client": "gl-python/3.8.4 grpc/1.39.0 gax/1.31.1 gapic/13.0.0",

"x-goog-request-params": "customer_id=4230269174"

}

Request: customer_id: "4230269174"

customer_client {

descriptive_name: "Test

currency_code: "CZK"

time_zone: "Europe/Prague"

}

Response

-------

Headers: {

"google.ads.googleads.v7.errors.googleadsfailure-bin": 
"\nm\n\u0002H\n\u0012gThe developer token is not approved. Non-approved 
developer tokens can only be used with test accounts.\u0012\u0016xxxx",

"grpc-status-details-bin": "\b\u0007\u0012#The caller does not have 
permission\u001a\u0001\nCtype.googleapis.com/google.ads.googleads.v7.errors.GoogleAdsFailure\u0012\u0001\nm\n\u0002H\n\u0012gThe
 developer token is not approved. Non-approved developer tokens can only be 
used with test accounts.\u0012\u0016xxxx",

"request-id": "REDACTED"

}

Fault: errors {

error_code {

authorization_error: DEVELOPER_TOKEN_NOT_APPROVED

}

message: "The developer token is not approved. Non-approved developer tokens 
can only be used with test accounts."

}

request_id: "REDACTED"

2021-08-02 12:18:02,159 [WARNING] google.ads.googleads.client: Request made: 
ClientCustomerId: 4230269174, Host: googleads.googleapis.com, Method: 
/google.ads.googleads.v7.services.CustomerService/CreateCustomerClient, 
RequestId: REDACTED, IsFault: True, FaultMessage: The developer token is not 
approved. Non-approved developer tokens can only be used with test accounts.

2. Accoun id:

423-026-9174

Regards,

Mark Kevin Albios
Google Ads API Team
ref:_00D1U1174p._5004Q2JFIAz:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/tMl8j000000000000000000000000000000000000000000000QX8UGQ007LU0EMB2RqOoMGyGOUe6wg%40sfdc.net.
  • Non-approved ... 'Miloš Jedlinský' via AdWords API and Google Ads API Forum
    • RE: Non-... Google Ads API Forum Advisor
      • Re: ... 'Miloš Jedlinský' via AdWords API and Google Ads API Forum
    • RE: Non-... Google Ads API Forum Advisor

Reply via email to