gsc_search_analytics
Retrieve clicks, impressions, CTR, and position from Google Search Console. Apply filters and dimensions to analyze SEO performance by query, page, country, or device.
Instructions
Query Search Console performance data: clicks, impressions, CTR, position.
Dates are YYYY-MM-DD, or 'today' / 'yesterday' / 'NdaysAgo'; the absolute range actually used is echoed in summary.date_range. dimensions may include query, page, country, device, date (default ["query"]). filters are "dimension operator value", e.g. "page contains /blog/". search_type is web, image, video, news or discover. data_state "final" excludes the most recent 2-3 incomplete days; "all" is fresher but unstable. Rows carrying the 'query' dimension are anonymised by Google and will NOT sum to property totals - never compute shares or percentages from them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | ||
| end_date | No | yesterday | |
| site_url | No | ||
| row_limit | No | ||
| data_state | No | final | |
| dimensions | No | ||
| start_date | No | 28daysAgo | |
| search_type | No | web |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| notes | Yes | ||
| export | No | ||
| summary | Yes | ||
| export_rows | No |