query_search_analytics_tool
Fetch Google Search Console traffic metrics (clicks, impressions, CTR, position) with filters for page, query, country, device, and date ranges to analyze search performance.
Instructions
Query search traffic data with filters and dimensions.
Returns clicks, impressions, CTR, and average position grouped by the requested dimensions. Use this to analyze search performance for specific pages, queries, countries, devices, or date ranges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | End date in YYYY-MM-DD format | |
| site_url | Yes | Site URL or domain property | |
| row_limit | No | Maximum rows to return, 1-25000 (default: 1000) | |
| start_row | No | Zero-based row offset for pagination (default: 0) | |
| data_state | No | Data freshness (final, all). Default: final | final |
| dimensions | No | Dimensions to group by (date, query, page, country, device, searchAppearance). Multiple allowed. | |
| start_date | Yes | Start date in YYYY-MM-DD format | |
| search_type | No | Search type filter (web, image, video, news, googleNews, discover). Default: web | web |
| aggregation_type | No | How to aggregate results (auto, byPage, byProperty). Default: auto | auto |
| dimension_filter_groups | No | Filter groups to narrow results |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||