Can't create test account

813 views
Skip to first unread message

yvonna tania

unread,
May 13, 2020, 7:36:31 AM5/13/20
to AdWords API and Google Ads API Forum
Hi

I already made a test manager account, but everytime I wanna make test account under this manager account, I got redirected to the billing page.

But since it is a test manager account, I can't set billing. 

So I'm getting stuck...

Anyone can help?
WX20200513-193506@2x.png

Google Ads API Forum Advisor Prod

unread,
May 13, 2020, 11:15:22 AM5/13/20
to bertie1...@gmail.com, adwor...@googlegroups.com
Hello,

Thank you for reaching out! Since this issue pertains to the UI, I suggest reaching out to the product team as they are better equipped to handle your concern. You can contact them through their support page here.

If you have any questions regarding the API, let me know and I can further assist you.

Regards, 
Danica Calusin, Google Ads API Team 

ref:_00D1U1174p._5004Q1zLiHa:ref

Tal Lipits

unread,
May 13, 2020, 12:13:15 PM5/13/20
to AdWords API and Google Ads API Forum
Hi Danica,

I'm experiencing the same thing as yvonna tania, and Celebird from product team say that since this is test related issue, they are not the address, and redirect us back here. Here's their reply.
Looks like we cannot do any testing at the point because of this.
Any suggestion for a solution/workaound would be highly appreciated.

Thanks,

baxter kevin

unread,
May 13, 2020, 12:25:52 PM5/13/20
to AdWords API and Google Ads API Forum
Hi Tal

I understand your feeling.
I'm also asking approval for developer token now. We can use normal ads account if the developer token got granted.

Tal Lipits

unread,
May 13, 2020, 12:45:46 PM5/13/20
to AdWords API and Google Ads API Forum
Thanks Kevin. 
I'm still waiting for my developer token to be approved, and then, yes, I hope we can continue working.
Thanks

Tal Lipits

unread,
May 13, 2020, 12:54:03 PM5/13/20
to AdWords API and Google Ads API Forum
btw - did you manage to run any calls to the API yet?

Since I do have a working test account for adwords - although it's a manager account, not client - I gave it a try, and got AuthenticationError.OAUTH_TOKEN_INVALID
I used a python code sample I saw in github (referenced by the official google api doc), I wrote about it in this thread


On Wednesday, May 13, 2020 at 7:25:52 PM UTC+3, baxter kevin wrote:

Google Ads API Forum Advisor Prod

unread,
May 13, 2020, 2:21:30 PM5/13/20
to tal...@gmail.com, adwor...@googlegroups.com
Hi All,

Thank you for your patience regarding this issue. This is out of scope for our team as the underlying issue is occurring in the Google Ads UI, but I will further check on this internally. Once we have more insight or any updates, rest assured we will reach out to you on this thread.

Regards,
Danica, Google Ads API Team

ref:_00D1U1174p._5004Q1zLiHa:ref

Google Ads API Forum Advisor Prod

unread,
May 14, 2020, 3:06:59 PM5/14/20
to tal...@gmail.com, adwor...@googlegroups.com
Greetings!

Even though you're getting that it's asking for Billing, your account is created, and you can still use that test account through the API as mentioned in this forum post . Are you experiencing issues when trying to do things through the API against this new test account? Test accounts were primarily created for use with our APIs, so it's expected that after creating the account, you would interact with it through the API. If you're having issues with sending requests through the API to the new account, please reply privately, and I can work with you through those issues.

Thanks,
Nadine Wang, Google Ads API Team

ref:_00D1U1174p._5004Q1zLiHa:ref

baxter kevin

unread,
May 14, 2020, 9:34:23 PM5/14/20
to AdWords API and Google Ads API Forum
Hi Nadine

Here is my case:


1. It shows "manager (closed)" there (screenshot 1)
2. After I got redirected after creating account, the test account didn't get created (screenshot 2)

So don't know what to do...

Thanks
WX20200515-092924@2x.png
WX20200515-093240@2x.png

Google Ads API Forum Advisor Prod

unread,
May 15, 2020, 9:57:14 AM5/15/20
to baxter1...@gmail.com, adwor...@googlegroups.com
Hello!

By default, all test accounts are closed because they are no serving accounts. Even though a test account is listed as closed, you can still use it in the API. I took a look at your manager account, and you have two client accounts (860-520-9335 and 825-131-2129) that were created under the manager account. You creations are working, and you can make API calls under those new child accounts. Make sure to click on the down arrow next to your manager account number, then click the 3 dots, and then select Canceled accounts. Since all test accounts are canceled in the system, you have to select that in order to see them in the UI.



Happy coding,
Nadine, Google Ads API Team

ref:_00D1U1174p._5004Q1zLiHa:ref

Google Ads API Forum Advisor Prod

unread,
May 15, 2020, 10:07:54 AM5/15/20
to baxter1...@gmail.com, adwor...@googlegroups.com
Hello again, 

I see my screenshot for some reason did not make it through in the last message. My inbox must have not had its coffee, yet. I'm attaching it here.

Best,
test_account.png

baxter kevin

unread,
May 15, 2020, 10:42:44 AM5/15/20
to AdWords API and Google Ads API Forum
Thanks!!
This really helps!!

Just another question I'm not very clear now:

I'm following this guide:

Currently I have: 
developer token  -  from production account
test account id   -  from test account

Things that not sure about: 
clientId / secret
Do we use test Google account or production Google account to create credentials?

Thanks

Google Ads API Forum Advisor Prod

unread,
May 15, 2020, 11:55:39 AM5/15/20
to baxter1...@gmail.com, adwor...@googlegroups.com
Hello,

I'm happy to hear that! You can use any account to generate the client ID and client secret. Just keep in mind that you have to use the same client ID and client secret to generate the refresh token as you do when you make the API calls. 

Regards,
Message has been deleted

baxter kevin

unread,
May 15, 2020, 1:38:28 PM5/15/20
to AdWords API and Google Ads API Forum
Hi Nadine

We can now generate refresh token, but still can't make our first call (https://github.com/googleads/google-ads-python/blob/master/examples/basic_operations/get_campaigns.py)

Here is the output error:

google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', '{\n  "error": "invalid_grant",\n  "error_description": "Bad Request"\n}')

Any idea how we can diagnose?

Thanks

* We input the client ID and secret in the yaml file which generate the fresh token.

Google Ads API Forum Advisor Prod

unread,
May 15, 2020, 1:49:24 PM5/15/20
to baxter1...@gmail.com, adwor...@googlegroups.com
Hi,

How strange. That interface, used to have 'Other', then they changed it to 'Desktop app'. I can see that yours is the old way of doing it; perhaps, they haven't pushed the change to all the accounts. Please try choosing 'Other'. 

Thanks,

baxter kevin

unread,
May 15, 2020, 10:14:52 PM5/15/20
to AdWords API and Google Ads API Forum
Hi

'Other' works for creating refresh token, but we still can't make our first call (https://github.com/googleads/google-ads-python/blob/master/examples/basic_operations/get_campaigns.py)

Here is the output error:

google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', '{\n  "error": "invalid_grant",\n  "error_description": "Bad Request"\n}')

Any idea how we can diagnose?

Thanks

Google Ads API Forum Advisor Prod

unread,
May 18, 2020, 12:34:53 PM5/18/20
to baxter1...@gmail.com, adwor...@googlegroups.com
Hello,

I'll work with you offline on this since it looks like a separate issue. I see your private message, and I'll get back to you there.

Cheers,
Reply all
Reply to author
Forward
0 new messages