Compare periods
compare_periodsCompare search performance over two time windows to detect changes in clicks and impressions, highlighting top gainers and losers by query or page.
Instructions
Compare the most recent N days against the preceding N days. Returns total clicks/impressions deltas plus the biggest gainers and losers for the chosen dimension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Length of each window. Default 28. | |
| limit | No | Movers per direction. Default 10. | |
| siteUrl | No | Property as shown in Search Console: a URL-prefix property ends with a slash (e.g. "https://example.com/") or a domain property uses "sc-domain:example.com". May be a registered alias, or omitted to use the active/default site. | |
| dimension | No | Default query. |