How to access real data from Google Ads API

189 views
Skip to first unread message

Matheus de Andrade

unread,
Jun 23, 2023, 10:00:43 AM6/23/23
to Google Ads API and AdWords API Forum
Hello!

I'm trying to access real data using the Google Ads API, but everytime I make a request, I get an error The developer token is only approved for use with test accounts. To access non-test accounts, apply for Basic or Standard access.

I read here that the Google Ads account needs to have a developer token with Basic Access. But how another applications (like Qlik Sense) that connects with Google Ads can get data from Test Access account?

The only way to sove it is applying my account to Basic Access? If I would develop a public application (like Qlik Sense), how could I get the data from another accounts using only oauth?

Thanks!!

Google Ads API Forum Advisor

unread,
Jun 26, 2023, 2:29:38 AM6/26/23
to matheusdea...@gmail.com, adwor...@googlegroups.com

Hi Matheus,

Thank you for reaching out to Google Ads API Forum.

With regards to your concern, please note that our team could only provide further guidance in Google Ads API perspective and we have limited knowledge with Qliksense application. With this, since you mentioned that you are using Google Ads API to access real data but you are getting an error, “The developer token is only approved for use with test accounts. To access non-test accounts, apply for Basic or Standard access”, please check this documentation (https://developers.google.com/google-ads/api/docs/best-practices/common-errors#authorizationerror) for more information about this error. You may note that once you complete the initial signup for the Google Ads API, you will be issued a developer token with the test account access level. This means that the developer token can only make Google Ads API requests against test accounts. Kindly refer to this documentation (https://developers.google.com/google-ads/api/docs/first-call/dev-token#step-3) to apply for Basic or Standard access. You may also check our guide (https://developers.google.com/google-ads/api/docs/first-call/test-accounts) for more information on test accounts. 

Additionally, with regards to getting the data from another accounts using only Oauth, you may refer to this documentation (https://developers.google.com/google-ads/api/docs/first-call/oauth-cloud-project) in configuring a Google API Console Project for the Google Ads API. Credentials for accessing Google's OAuth2 servers are required in order to authenticate and authorize Google Ads users. These credentials identify your app to Google, enabling you to generate OAuth tokens for managing Google Ads users. Access to Google OAuth2 credentials is managed from the Google API Console.

Reference Links:

This message is in relation to case "ref:_00D1U1174p._5004Q2mWr3R:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages