Hi!
I want to query the customers under manager account so I refer to the 
example here
and it work.

https://developers.google.com/google-ads/api/docs/account-management/get-account-hierarchy

Then I change query just add LIKE operator
 FROM
"SELECT customer_client.client_customer, customer_client.level, 
customer_client.manager, customer_client.descriptive_name, 
customer_client.currency_code, customer_client.time_zone, 
customer_client.id FROM customer_client WHERE customer_client.level <= 1"

TO
"SELECT customer_client.client_customer, customer_client.level, 
customer_client.manager, customer_client.descriptive_name, 
customer_client.currency_code, customer_client.time_zone, 
customer_client.id FROM customer_client WHERE customer_client.level <= 1 
and  customer_client.descriptive_name LIKE 'keyword' ";

The following error occurred
ā€¯Unable to retrieve information for the following accounts which are likely 
either test accounts or accounts with setup
issues. Please check the logs for details:
MANAGER_CUSTOMER_ID"

But strangely, when I change LIKE operator to NOT LIKE it work.

Please where am I doing wrong?
How can i improve?

(I'm not an English-speaking country, so there may be some inaccuracies in 
the grammar)

Best regards

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/68b987aa-ed0c-4801-ad7d-a48e666dd769n%40googlegroups.com.
  • Qu... Allen Chen
    • ... Allen Chen
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to