Getting error QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED

26 views
Skip to first unread message

Gurmeet Singh

unread,
Jan 19, 2017, 9:15:45 AM1/19/17
to AdWords API Forum
I want to know, how i can start calling api through PHP library. Currently i did the following steps:
  1. I download the php library called "googleads-php-lib" from the link "https://github.com/googleads/googleads-php-lib"And install it through composer.
  2. Create a manager account in google adwords.
  3. Generate a developer token in manager account and insert that developer token in adsapi_php.ini file.
  4. Then create a test manager account under this manager account.
  5. Then insert a clientCustomerId of the client account created under test manager account.
  6. Then generate a clientId and clientSecret and generate a refresh token from the same account that i use to create manager account.
  7. Then i run the getCampaigns.php file and it gives me error "Developer token not approved".

I think i did lot of mistakes while doing these things. Can you please correct me?

Or it will be great if you send me some easy steps, so that i can call api.

Shwetha Vastrad (AdWords API Team)

unread,
Jan 19, 2017, 2:37:48 PM1/19/17
to AdWords API Forum
Hi Gurmeet,

The DEVELOPER_TOKEN_NOT_APPROVED error occurs when you use an unapproved developer token to target a production account. An unapproved developer token can only make calls against test accounts. Be sure to provide the OAuth2 credentials and the clientCustomerId of your test AdWords account in the configuration file. Please note that test and production accounts cannot interact in any way and you cannot use a test account under your existing production manager account. To get your developer token approved, please fill out this basic access application form. The AdWords API Compliance team will respond with an answer within a couple of business days regarding the status of your application. 

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages