QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED for test account

435 views
Skip to first unread message

Alix BelugaBear

unread,
Sep 19, 2018, 7:20:03 PM9/19/18
to AdWords API and Google Ads API Forum
Hello,

I have followed the instruction in order to test the Adword API:
- Created a "production" adword manager account
- Got an Developer token
- Created a "test" adword manager account
- Created OAUTH2 Credentials for this account
- Got the refresher token with this account 
- Tried to do some basic actions that comes with the PHP example AdwordAPI package but still get QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED

I also tried using OAUTH2 credentials for production account and getRefresherToken, but same issue (which makes sense).

However I don't understand if I have to link my production and test account somehow?

Regards,

Alix

Luis Xander Talag (AdWords API Team)

unread,
Sep 20, 2018, 2:22:56 AM9/20/18
to AdWords API and Google Ads API Forum
Hi Alix,

The DEVELOPER_TOKEN_NOT_APPROVED error you encountered indicates that you are using an unapproved developer token to make calls against a production account. Make sure that the clientCustomerId that you entered in your property file is from a test client account. If you haven't created a test client account, you could use the Google Ads UI to create a test client account under your test manager account.

If your issue persists after doing the suggestion, kindly provide your SOAP request and response logs via Reply privately to author so I can further check.

Thanks,
Luis
AdWords API Team

Vibhesh Mishra

unread,
Sep 21, 2018, 4:08:20 AM9/21/18
to AdWords API and Google Ads API Forum
hi 

I have created two client account in my test manager account, and i am able do all the operation like getting campaign data and related item using c# but i am facing issue with second one

Test MagerAccount is 600-800-6574 WM Test Mager 

Client Accounts

1) www.test1.com--- i am able do all the operation like getting campaign data and related details using c#

2) www.test2.com--- Getting error as given below

{"AdWordsApiException: Exception of type 'Google.Api.Ads.AdWords.Lib.AdWordsApiException' was thrown. \r\n\r\nDeveloper token is not approved for production access, and the customer is attempting to access a production account.. (Error: QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED, FieldPath: , Trigger: <null>)\r\n\r\n"}

but as per my knowledge

 All client accounts created under the test manager account will be automatically marked as test accounts.

ref 

Please help 

Thanks in advance 
Reply all
Reply to author
Forward
0 new messages