| limit | No | Max rows (1-1000, default 20). | |
| offset | No | Pagination offset (0-100000, default 0). Use the returned pagination.next_offset to continue. | |
| keyword | No | Filter by matched keyword text (LIKE match, use % for wildcards). | |
| sort_by | No | Column to sort by | spend |
| end_date | No | Optional. YYYY-MM-DD. Defaults to today if omitted. | |
| min_spend | No | Keep only search-term groups whose total spend in the window is at least this amount. Applied server-side after grouping, so wasted-spend questions stay bounded. | |
| ad_product | No | Sponsored ad product to search. Defaults to auto, which searches both Sponsored Products and Sponsored Brands search-term reports and returns ad_product on each row. | auto |
| match_type | No | Filter by match type or auto-targeting expression type | |
| min_orders | No | Keep only search-term groups with at least this many orders in the window. Applied server-side after grouping. | |
| profile_id | No | Filter by profile ID | |
| sort_order | No | Sort order | desc |
| start_date | No | Optional. YYYY-MM-DD. Defaults to 30 days ago if omitted. | |
| ad_group_id | No | Filter by ad group ID. | |
| campaign_id | No | Filter by campaign ID. With ad_product=auto, searches matching SP and SB search-term reports. | |
| search_term | No | Filter by customer search term (LIKE match, use % for wildcards). | |
| ad_group_name | No | Filter by ad group name (LIKE match, use % for wildcards). | |
| campaign_name | No | Filter by campaign name (LIKE match, use % for wildcards) | |
| include_raw_rows | No | False returns compact rows. Default true. | |
| zero_orders_only | No | Keep only search-term groups with zero orders in the window (spend without conversion). Combine with min_spend to surface meaningful wasted spend in one bounded call. | |
| include_diagnostics | No | True may add expanded freshness diagnostics. Basic empty-result data-window diagnostics are included by default when available. | |