OR clause in Query language grammar?

20 views
Skip to first unread message

Noud Adrichem

unread,
Jun 3, 2020, 9:50:15 AM6/3/20
to AdWords API and Google Ads API Forum
I'm unable to find the OR clause in the query language. Is this with reason? 
I need an OR clause in my report fetching for specific IDs So it's going to be 

WHERE id = 1 OR id = 2 etc. But I'm unable to find the OR clause in the grammar on this page : https://developers.google.com/google-ads/api/docs/query/grammar

I also tried || and |.

Google Ads API Forum Advisor Prod

unread,
Jun 3, 2020, 3:33:45 PM6/3/20
to no...@bannerwise.io, adwor...@googlegroups.com

Hi Noud,

Thanks for reaching out to us. Unfortunately, there is no “OR” clause in the Google Ads Query Language. For reference, please see here.  You can try with | stand for "or".

Let me know if you have any questions.

Thank you
Nirmita Patel Google Ads Team



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