DEVELOPER_TOKEN_NOT_APPROVED "The developer token is only approved for use with test accounts. To access non-test accounts, apply for Basic or Standard access."

927 views
Skip to first unread message

Marco Antonio Rodriguez Cortés

unread,
Jun 7, 2023, 2:55:54 PM6/7/23
to Google Ads API and AdWords API Forum
Hi Everyone 

Im trying to test the Google Ads API but everytime that i try to get info from the "googleAds:search" or "googleAds:searchStream" i get the error "DEVELOPER_TOKEN_NOT_APPROVED"

I read that this error is becuase im trying to access an account that is not a test account with Management Test Account

So Im not sure what im doing wrong becuase i follow the instructions that says that every account created under my Management Test Account will be a Test Account but looks like that is not happening 

Hope any of you can point me in the right direction to solve this issue

Regards

Google Ads API Forum Advisor

unread,
Jun 13, 2023, 9:22:39 AM6/13/23
to marco...@gmail.com, adwor...@googlegroups.com
Hi,

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

Regarding your concern, it appears that you've encountered the DEVELOPER_TOKEN_NOT_APPROVED error. The said error will occur if you send a request against a production account with a test account developer token. Also, as per this guide (https://developers.google.com/google-ads/api/docs/access-levels#test_account_access), note that if your developer token has a test account access level then it means that you can only use this against test accounts. Since you mentioned that you are following the instructions and yet you are still encountering this error.

So our team can better investigate and provide precise recommendations, can you please provide the could you please provide the updated complete API logs below?
Note that these logs can be requested or provided to the developer handling the Google Ads API transactions when logging of the API requests has been enabled. You may check here (https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging) and click your client library for the specific guideline to enable it.

For REST interface requests, you can enable logging via the curl command by using the -i flag. This will cause the tool to include HTTP response headers in the output.

You may then send the requested logs via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.
 
This message is in relation to case "ref:_00D1U1174p._5004Q2mAYkc:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages