Cannot obtain customer data for test accounts via ads api

221 views
Skip to first unread message

Orkhan Alikhanov

unread,
Dec 3, 2019, 2:55:09 AM12/3/19
to AdWords API and Google Ads API Forum
I've some manager test accounts with or w/o subaccounts.
v2/customers:listAccessibleCustomers successfully returns lists accessible customers including test accounts.
When I try to query customers for a test accounts via v2/customers/3792911154/googleAds:search with login-id 3792911154, it returns empty result.
My query is:
{ "query": "SELECT customer_client.id, customer_client.level, customer_client.descriptive_name, customer_client.manager, customer_client.hidden, customer_client.test_account FROM customer_client" }

The query works for production accounts, but not for test accounts.

Also I find this in the UI (see attached image)
New Test Manager Account
Manager
(Closed)

Why (Closed), not (Test)?
Screen Shot 2019-12-03 at 11.44.56.png

Google Ads API Forum Advisor Prod

unread,
Dec 3, 2019, 12:56:36 PM12/3/19
to orkhan.a...@gmail.com, adwor...@googlegroups.com

Hi Orkhan,

Thanks for reaching out. Currently querying the customer_client resource in the Google Ads API only works for the Production Account. You could keep an eye on our blog for announcements and updates on new releases. The Test Manager Account is by default with the Closed status so no need to worry about it. 

Thanks and regards,
Xiaoming, Google Ads API Team



ref:_00D1U1174p._5001UODhIf:ref

Orkhan Alikhanov

unread,
Dec 3, 2019, 1:01:23 PM12/3/19
to AdWords API and Google Ads API Forum
Thank you for your response! Docs seem to not correctly indicate that behavior.

Basic access allows the developer token to make Google Ads API requests against both test accounts and production accountsProduction accounts are any accounts that serve real, live Google ads (test accounts do not serve ads). https://developers.google.com/google-ads/api/docs/access-levels

Google Ads API Forum Advisor Prod

unread,
Dec 3, 2019, 5:10:32 PM12/3/19
to orkhan.a...@gmail.com, adwor...@googlegroups.com

Hi Orkhan,

This is an existing issue for the customer_client resource. Our team is looking into it and I will keep you updated.



Thanks and regards,
Xiaoming, Google Ads API Team



ref:_00D1U1174p._5001UODhIf:ref

Google Ads API Forum Advisor Prod

unread,
Dec 6, 2019, 2:33:00 PM12/6/19
to orkhan.a...@gmail.com, adwor...@googlegroups.com

Hi Orkhan,

Currently our team is looking into the issue and getting it resolved. I would encourage you to keep an eye on the blog and release notes for the announcements and updates on the new releases.



Thanks and regards,
Xiaoming, Google Ads API Team



 

ref:_00D1U1174p._5001UODhIf:ref

Irfan Rafiq

unread,
Dec 18, 2019, 4:43:55 AM12/18/19
to AdWords API and Google Ads API Forum
Hi,

I have the same problem. I can however run the query against V1 and get a list of test account, the problem only seems to be with v2.

Irfan

Google Ads API Forum Advisor Prod

unread,
Dec 18, 2019, 11:51:13 AM12/18/19
to adwor...@googlegroups.com

Hi Irfan,

This is an existing issue for the customer_client resource for Google Ads API v2. Our team is getting it resolved. Please keep an eye on the blog and release notes for the announcements and updates on the new releases.



Thanks and regards,
Xiaoming, Google Ads API Team



 

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