compare_search_periods
Compares two date ranges item by item to reveal clicks, impressions, CTR, and position deltas per query or page, using Period 2 as the baseline for accurate period-over-period analysis.
Instructions
Compare two date ranges item by item (queries, pages...). Period 1 = the period you analyse, Period 2 = the baseline.
Positive deltas mean Period 1 did better (more clicks/impressions, higher CTR, better/lower position). With no dates it compares the last 28 days against the 28 days before.
Args: site_url: Exact property (defaults to GSC_SITE_URL) period1_start: Analysed period start YYYY-MM-DD period1_end: Analysed period end YYYY-MM-DD period2_start: Baseline start YYYY-MM-DD period2_end: Baseline end YYYY-MM-DD dimensions: Group by, e.g. "query" or "page" or "query,page" limit: Number of biggest movers to return (default 20) search_type: web, image, video, news, discover, googleNews filters: Optional AND filters applied to both periods
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| filters | No | ||
| site_url | No | ||
| dimensions | No | query | |
| period1_end | No | ||
| period2_end | No | ||
| search_type | No | web | |
| period1_start | No | ||
| period2_start | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |