googleads.yaml setup for test account

272 views
Skip to first unread message

A_H

unread,
May 3, 2016, 10:32:51 AM5/3/16
to AdWords API Forum
Hello, 

I am trying to setup a test account to play around with the AdWords API. I have created a production manager account and retrieved the developer token from the production account. I then generated a refresh token successfully with the TEST account. I am now trying to run "get_keywords_ideas.py" example file and am getting: 



"suds.WebFault: Server raised fault: '[QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED @ ; trigger:'<null>']'

I have 6 fields that need to be filled out in the yaml file and I'm just not sure which ones should have the production manager account credentials and which should have the test account. So far all of these are filled in with test account info except for the developer token which is from the production manager account.

- developer_token
- user_agent
- client_customer_id
- client_id
- client_secret
- refresh_token

Any suggestions would be much appreciated! Thanks

Shwetha Vastrad (AdWords API Team)

unread,
May 3, 2016, 12:40:48 PM5/3/16
to AdWords API Forum
Hi Austin,

The "DEVELOPER_TOKEN_NOT_APPROVED" error occurs when you are using an unapproved token to make calls against a production account. Are you sure you are using test account credentials when you are making the request? 

Test accounts are designated with a red label. If you do not see the red "This is a test account!" label on your AdWords account page, then the account is a production account.

Regards,
Shwetha, AdWords API Team.

A_H

unread,
May 4, 2016, 9:49:13 AM5/4/16
to AdWords API Forum
Hi Swetha, 

Should all of the credentials be from the test account except for the developer token which is from the production manager account? 

Thanks

Shwetha Vastrad (AdWords API Team)

unread,
May 4, 2016, 12:59:46 PM5/4/16
to AdWords API Forum
Hi Austin,

Yes, apart from the developer token, all the credentials should be from the test account. 
Reply all
Reply to author
Forward
0 new messages