Hi Aaron,
The query you provided will work with a few changes:
Instead of CONTAINS_ANY with an underscore, please use CONTAINS ANY with a
space.
Use parentheses instead of square brackets around the list of label resource
names.
Quote the label resource names within parentheses.
With the above changes applied, the query will be:
SELECT customer_client.id, customer_client.descriptive_name,
customer_client.applied_labels,
customer_client.client_customer, customer_client.currency_code,
customer_client.time_zone
FROM customer_client
WHERE customer_client.applied_labels CONTAINS ANY
('customers/1234567890/labels/54321','customers/1234567890/labels/76543')
ORDER BY customer_client.id
I realize that the Query Validator states that this query is invalid, but I was
able to successfully execute it on my test manager account without errors. I'll
look into why the validator isn't working as intended, but please give the
query a try and let me know if you still encounter any issues.
Cheers,
Josh, Google Ads API Team
ref:_00D1U1174p._5004Q2RurKP:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/NeF0E000000000000000000000000000000000000000000000R3V9HG00j4RaxHVeRZa3Rh5Xb-Igzg%40sfdc.net.