search_analytics
Retrieve Google Search Console analytics to rank clicks, impressions, CTR, and position. Filter by date range, dimensions, and result type to diagnose performance trends and identify optimization opportunities.
Instructions
Query Google Search Console search analytics and return ranked clicks, impressions, CTR, and position
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Result type. discover is the Discover feed and googleNews is the Google News app and news.google.com, not the News tab in Search. Both support fewer dimensions than web: neither reports a query dimension | |
| endDate | No | End date in YYYY-MM-DD; defaults to today | |
| siteUrl | Yes | Search Console property, such as https://example.com/ or sc-domain:example.com | |
| rowLimit | No | Maximum rows to return | |
| startRow | No | Zero-based row to start from, for paging through a large result | |
| dataState | No | full = finalized data (default, ~2-3 day lag); all = include recent partial data | |
| startDate | No | Start date in YYYY-MM-DD; defaults to 28 days ago | |
| dimensions | No | Dimensions used to group results | |
| maxTableRows | No | Cap rows shown in the text table; structured rows are always complete. 0 = summary only. | |
| aggregationType | No | How Search Console aggregates rows | |
| dimensionFilterGroups | No | Search Console dimension filters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| endDate | Yes | ||
| siteUrl | Yes | ||
| rowCount | Yes | ||
| startRow | Yes | ||
| startDate | Yes | ||
| truncated | Yes | More rows follow this page. False does not mean the result is complete: Search Console returns top rows subject to its own internal limits | |
| dimensions | Yes | ||
| firstIncompleteDate | No |