Possible to select multiple QueryMatchTypeWithVariant in AWQL query?

65 views
Skip to first unread message

Jonas Bolin

unread,
Jul 11, 2017, 10:48:51 AM7/11/17
to AdWords API Forum
Hello everyone,

I would like to create an AWQL query which returns only BROAD and PHRASE matched search queries. AWQL doesn't support the OR operator, but is there a way to circumvent this, other than making a request for each type?

Thanks, and summer greetings from Stockholm!

/Jonas

Shwetha Vastrad (AdWords API Team)

unread,
Jul 11, 2017, 2:13:50 PM7/11/17
to AdWords API Forum
Hi Jonas,

You can use the IN operator and provide a list predicate values in the query to check if the field is equal to one of the given values. The predicate should look something like this:

WHERE QueryMatchTypeWithVariant IN ["BROAD", "PHRASE"]

The formal AWQL grammar is provided here

Regards,
Shwetha, AdWords API Team.

Jonas Bolin

unread,
Aug 8, 2017, 6:00:38 AM8/8/17
to AdWords API Forum
Thanks Shwetha!
Reply all
Reply to author
Forward
0 new messages