Bug Google Ads Search Customer Client

75 views
Skip to first unread message

tony teo

unread,
Sep 27, 2019, 5:14:33 AM9/27/19
to AdWords API and Google Ads API Forum
I've got CustomerClient  during 1 month. But today, i coudn't get CustomerClient because it returned empty. I really don't know why, my code didn't change!
Please help me, thank you in advance
Here my code:
query = ('SELECT '
'customer.currency_code, '
'customer.resource_name, '
'customer_client.id '
'FROM '
'customer_client')

results = ga_service.search(manager_id, query=query, page_size=page_size)
list = []
try:
for row in results:
list.append(row.customer_client.id.value)
except Exception as ex:
cfg.log_file(constant.LOG_TYPE_ERROR, constant.LOG_GOOGLE_ADS, str(ex))
print(ex)
return list

Google Ads API Forum Advisor Prod

unread,
Sep 27, 2019, 2:15:12 PM9/27/19
to deoch...@gmail.com, adwor...@googlegroups.com
Hello Tony, 

We are taking a look into this issue. We will get back to you with an update soon.

Thanks,
Bharani, Google Ads API Team

ref:_00D1U1174p._5001UHIA6P:ref

Asaf Zinger

unread,
Oct 7, 2019, 5:19:12 PM10/7/19
to AdWords API and Google Ads API Forum
I have the same issue, when changing the API version to v1 it works fine:
ga_service = client.get_service('GoogleAdsService', version='v1')

when I use v2 and select from customer_client I always get empty result without errors (it used to work fine for me too a month ago)

Google Ads API Forum Advisor Prod

unread,
Oct 8, 2019, 8:59:57 AM10/8/19
to zing...@gmail.com, adwor...@googlegroups.com
Hi Asaf,

Thanks for the info. We're investigating the problem and hope to get back to you with more information as soon as possible.

Best,
Ben Karl, Google Ads API Team

ref:_00D1U1174p._5001UHIA6P:ref

Google Ads API Forum Advisor Prod

unread,
Oct 8, 2019, 3:21:31 PM10/8/19
to zing...@gmail.com, adwor...@googlegroups.com
Hi Asaf,

One additional question that will help in our investigation - can you repond privately to let me know what customer ID you're using the make the below requests?

Best,
Ben, Google Ads API Team

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