gsc_search_analytics
Run flexible Google Search Console performance queries with custom dimensions, date ranges, filters, and search types. Retrieve traffic data by page, query, country, device, or appearance to analyze SEO and discover insights.
Instructions
Run any Search Console performance query. The most flexible read tool -- use it for anything the shortcut tools do not cover.
Args:
site_url: property, exactly as list_sites reports it.
dimensions: any mix of query, page, country, device, date,
searchAppearance. Empty list returns a single totals row.
start_date / end_date: YYYY-MM-DD. Omit both to use the last days.
days: window length when dates are omitted (default 28).
row_limit: max rows, up to 25000 (default 100).
search_type: web, image, video, news, discover, or googleNews.
filters: list of {dimension, operator, expression}. Operators are
equals, notEquals, contains, notContains, includingRegex,
excludingRegex.
start_row: offset for paging past row_limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| filters | No | ||
| end_date | No | ||
| site_url | No | ||
| row_limit | No | ||
| start_row | No | ||
| dimensions | No | ||
| start_date | No | ||
| search_type | No | web |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |