gsc_find_losses_gains
Identify queries or pages that gained or lost search performance by comparing clicks, impressions, CTR, and position across two periods, then sort by delta to reveal wins and losses.
Instructions
Compare two periods for query or page performance and return click/impression/CTR/position deltas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | ||
| limit | No | Rows to fetch for each period. | |
| sortBy | No | clicksDelta | |
| siteUrl | No | Search Console property URL, e.g. https://example.com/ or sc-domain:example.com. Uses GSC_SITE_URL when omitted. | |
| dimension | No | query | |
| datePreset | No | last28days | |
| searchType | No | web | |
| currentDateRange | No | Current period. Defaults to datePreset. | |
| minAbsClickDelta | No | Filter out rows with smaller absolute click delta. | |
| previousDateRange | No | Previous period. Defaults to the immediately preceding period with the same length. |