The new Search Ads 360 Reporting API is now available. Join the searchads-api-announcements Google group to stay up to date on upcoming enhancements and releases.
Stay organized with collections
Save and categorize content based on your preferences.
The table below contains a complete Search Ads 360 Query Language grammar
reference.
Grammar reference
Query
SELECT clause
SELECT FIELD_NAME (, FIELD_NAME)*
FROM clause
FROM RESOURCE_NAME
WHERE clause
WHERE CONDITION (AND CONDITION)*
ORDER BY clause
ORDER BY ORDERING (, ORDERING)*
LIMIT clause
LIMIT POSITIVE_INTEGER
PARAMETERS clause
PARAMETERS LITERAL = VALUE (, LITERAL = VALUE)*
Field name
[a-z] ([a-zA-Z0-9._])*
Resource name
[a-z] ([a-zA-Z_])*
Condition
FIELD_NAMEOPERATORVALUE
Ordering
FIELD_NAME (ASC | DESC)?
Operator
= | != | > | >= | < | <= | IN | NOT IN | LIKE | NOT LIKE | CONTAINS ANY | CONTAINS ALL | CONTAINS NONE | IS NULL | IS NOT NULL | DURING | BETWEEN | REGEXP_MATCH | NOT REGEXP_MATCH
To match a [, ], %, or _ literal using the LIKE operator, surround
the character in square brackets. For example, the following condition matches
all campaign.name values that start with [Earth_to_Mars]:
WHERE campaign.name LIKE '[[]Earth[_]to[_]Mars[]]%'
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[],[]]