compare_periods
Compare Search Console clicks, impressions, CTR, and position between two chosen date ranges, optionally grouped by dimension, to see what changed after a release or season.
Instructions
Compare Search Console clicks, impressions, CTR, and position between two explicit date ranges, optionally grouped by a dimension. Use when the user names a before and an after, such as a release or a season. Call get_performance_summary when they want the latest period against the one just before it, without choosing dates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteUrl | Yes | The site URL exactly as it appears in Google Search Console (e.g., "https://example.com/" or "sc-domain:example.com") | |
| dimensions | No | Dimensions to group by | |
| searchType | No | Search type to analyze | web |
| period1EndDate | Yes | Period 1 end date (YYYY-MM-DD) | |
| period2EndDate | Yes | Period 2 end date (YYYY-MM-DD) | |
| period1StartDate | Yes | Period 1 start date (YYYY-MM-DD) | |
| period2StartDate | Yes | Period 2 start date (YYYY-MM-DD) |