compare_periods
Compare search performance metrics between two time periods by page, query, country, device, or search appearance.
Instructions
Compare current vs previous period by page, query, country, device, or search appearance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteUrl | No | Google Search Console property URL, e.g. sc-domain:example.com or https://www.example.com/. | |
| startDate | No | Start date in YYYY-MM-DD. If omitted, days is used. | |
| endDate | No | End date in YYYY-MM-DD. If omitted, days is used. | |
| days | No | Lookback window when startDate/endDate are omitted. | |
| dimensions | No | ||
| filters | No | Search Analytics dimension filters. Operators: contains, equals, notContains, notEquals, includingRegex, excludingRegex. | |
| limit | No |