I am trying to get only campaigns that include a keyword in their name. In 
this case campaign.name CONTAINS Store

query = ('SELECT campaign.id, campaign.name, segments.date, 
metrics.impressions, metrics.clicks, metrics.cost_micros, 
metrics.phone_calls FROM campaign WHERE segments.date BETWEEN 
\'2020-01-01\' AND \'2020-01-31\' '
             'AND campaign.name LIKE \'Store\' '
             'ORDER BY campaign.id')

This returns no results even though I have several thousand campaigns with 
the keyword in it. I tried various operators listed at the link before like 
CONTAINS ANY but they just give me attribute errors.

https://developers.google.com/google-ads/api/docs/migration/querying

Any ideas what I am doing wrong/how I would achieve that.

-- 
CONFIDENTIALITY NOTICE: This e-mail and any files transmitted with it are 
confidential and intended solely for the use of the individual or entity to 
whom they are addressed. If you have received this e-mail in error, please 
delete it from your system. Thank you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/0de1c3ab-f5da-4cbd-9557-ea4808ae0f50%40googlegroups.com.

Reply via email to