$filter_operator |
str |
operator in the filter
optional field
required field if the filter is applied
available filter operators:
• if num : < , <= , > , >= , = , <> , in , not_in
• if str : match , not_match , like , not_like , ilike , not_ilike , in , not_in , = , <> , regex , not_regex
if you specify in or not_in operator, the $filter_value should be specified as an array
example:
["ai_search_volume","in",[10,1000]]
regex and not_regex operators can be specified with string values using the RE2 regex syntax;
Note: the maximum limit for the number of characters you can specify in regex and not_regex is 1000;
example:
string contains keywords: ["language_code", "regex", "(how|what|when)"]
string does not contain keywords: ["language_code", "not_regex", "(how|what|when)"]
like and not_like operators require adding % symbol to get accurate results
example:
["keyword_data.keyword", "like", "%seo%"] return keyword_data items that contain “seo” in the keyword field
["keyword_data.keyword", "not_like", "%seo%"] do not return keyword_data items that contain “seo” in the keyword field
match and not_match are full-text search operators that work with string values
example:
["keyword", "not_match", "camera"] return keywords that do not contain the “camera” word
["keyword", "match", "phone"] return keywords that contain the “phone” word
|