user test accounts and pending token to call AdWords API but faill

75 views
Skip to first unread message

yang liu

unread,
Jul 15, 2019, 2:04:08 AM7/15/19
to AdWords API and Google Ads API Forum

Hi Team,


We tried to get statistics for the adscampaign. I have been researching the official documentation for a few days, but the basic access api has not been approved. I used the built-in test manager account and its pending token to get the campaign information, but there are always some errors here. , like the following error message.


No handlers could be found for logger "googleads.common"
Traceback (most recent call last):
  File "G:/PycharmProjects/Task/channel_data_update/test.py", line 64, in <module>
    main(adwords_client)
  File "G:/PycharmProjects/Task/channel_data_update/test.py", line 33, in main
    print type(campaign_service.get())
  File "F:\anaconda\lib\site-packages\googleads\common.py", line 1004, in MakeSoapRequest
    e.detail, errors=error_list, message=e.message)
googleads.errors.GoogleAdsServerFault: [QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED @ ; trigger:'<null>']

 

Please advice us how to slove the error.

I would be grateful if team could solve my problem.




Thanks and Regards

Mark


Google Ads API Forum Advisor Prod

unread,
Jul 15, 2019, 3:22:05 AM7/15/19
to adwor...@googlegroups.com
Hi Mark,

Thank you for reaching out.

The error DEVELOPER_TOKEN_NOT_APPROVED means that you are using a developer token with Test Access for production calls. Could you confirm if your application for Basic Access has already reached 2 business days with no update from the Compliance Team? If yes, kindly follow this up by submitting this form as this is out of our scope.

Regards,
Dannison
Google Ads API Team

 

ref:_00D1U1174p._5001U8LJRl:ref

yang liu

unread,
Jul 19, 2019, 10:53:27 AM7/19/19
to AdWords API and Google Ads API Forum
Hi Dannison,
Now,i know i get the DEVELOPER_TOKEN_NOT_APPROVED error is because i using a developer token with Test Access for production calls. 

Ater that,i debugging my code successfully in test account. and my developer key get the basic access permission.but i also get a AuthorizationError.SERVICE_ACCESS_DENIED when run the code(pass in the test account).I browsed some posts.they say it need to upgrade the developer token.

so,can you tell me it is true or not?If true,how can i upgrade the developer token?

thanks a lot~

Mark


adsapiforumadvisor於 2019年7月15日星期一 UTC+8下午3時22分05秒寫道:

Google Ads API Forum Advisor Prod

unread,
Jul 21, 2019, 11:35:20 PM7/21/19
to adwor...@googlegroups.com
Hi Mark,

The error SERVICE_ACCESS_DENIED is usually encountered when your developer token is not approved for AdWords API use. With this said, could you provide your manager account Id via reply privately to author option so I could investigate this further? 

yang liu

unread,
Jul 23, 2019, 7:48:55 AM7/23/19
to AdWords API and Google Ads API Forum

Hi Dannison ,


Have you get my manager account Id info?


Thanks and Regards

Mark


在 2019年7月22日星期一 UTC+8上午11:35:20,adsapiforumadvisor写道:

Google Ads API Forum Advisor Prod

unread,
Jul 23, 2019, 10:25:10 PM7/23/19
to adwor...@googlegroups.com
Hi Mark,

It seems that you did not receive my private response. I have received your manager account Id.

I can see from your initial developer token request that you requested for the App Conversion and Remarketing API. Since you have already contacted the Compliance Team for an update, kindly wait for their response within 2 business days for the status of your developer token. If you did not receive any update from them, you may follow up your request via this form.

Regards,
Dannison
Google Ads API Team

ref:_00D1U1174p._5001U8LJRl:ref
Reply all
Reply to author
Forward
0 new messages