search_analytics_query
Query Google Search Console traffic data to retrieve clicks, impressions, CTR, and position. Filter and group results by dimensions like country, device, page, and query for targeted analysis.
Instructions
Query search traffic data from Google Search Console. Returns clicks, impressions, CTR, and position data with flexible filtering and grouping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Search type filter: web, image, video, news, discover, googleNews (default: web) | |
| endDate | Yes | End date in YYYY-MM-DD format | |
| siteUrl | Yes | The site URL | |
| rowLimit | No | Maximum number of rows to return (1-25000, default: 1000) | |
| startRow | No | Zero-based row offset for pagination | |
| dataState | No | 'all' includes fresh (possibly incomplete) data, 'final' only finalized data, 'hourly_all' required when using 'hour' dimension | |
| startDate | Yes | Start date in YYYY-MM-DD format | |
| dimensions | No | Dimensions to group by: country, device, page, query, searchAppearance, date, hour (hour requires dataState='hourly_all') | |
| aggregationType | No | How data is aggregated (default: auto) | |
| dimensionFilterGroups | No | Filter groups to apply to the query |