This page is also available in Ukrainian.
Overview
All Google Ads data table endpoints now support an optionalsearch query
parameter. When provided, the API filters results server-side using
case-insensitive substring matching across designated text fields for each
table.
This is designed for the search bar in each data table on the frontend.
How to use
Add?search=<term> to any data table GET endpoint:
Parameter rules
| Property | Value |
|---|---|
| Name | search |
| Type | string (optional) |
| Min length | 1 |
| Max length | 200 |
| Default | None (no filtering) |
search (or sending an empty value) returns the full dataset — fully
backward compatible.
Search behavior
- Case-insensitive:
"brand"matches"Brand Campaign","BRAND", etc. - Substring match:
"shoe"matches"buy shoes online" - OR logic across fields: a row matches if any of its searchable fields contains the search term
- Post-fetch filtering: search is applied after data is fetched from Google Ads, so it works on all fields including resolved names and RSA headlines
Searchable fields per table
| Endpoint | Searchable fields |
|---|---|
/campaigns | name |
/ad-groups | name, campaign_name |
/ads | headline texts, description texts, final_url, campaign_name, ad_group_name |
/keywords | text, campaign name, ad group name |
/search-terms | search_term, matched_keyword, campaign_name, ad_group_name |
/ad-schedule | campaign_name, day_of_week |
/locations | campaign_name, location_name |
/user-locations | campaign_name, most_specific_location, city, region |
/geographic-performance | location_name, campaign_name |