top_queries
Identify the search queries driving the most clicks to your site, with impressions, CTR, and position data. Use it to analyze search performance over a custom date range.
Instructions
The search queries bringing the most clicks to a property, with impressions, CTR and average position. Defaults to the last 28 days ending three days ago, because Search Console lags and a window ending today reads as empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Window length. | |
| site | Yes | The Search Console property. Either a URL-prefix property ("https://navid.me/", trailing slash included) or a domain property ("sc-domain:navid.me"). A bare hostname is read as a domain property. Call list_sites for the exact strings this account owns, because the two shapes are different properties and mixing them up returns a 403. | |
| type | No | Which surface to report on. Defaults to web. "discover" and "googleNews" carry no query or device dimension at all, so asking for one returns an error rather than empty rows. | |
| limit | No | ||
| account | No | Which signed-in Google account to act as, by email. Omit to use the default. Call list_accounts to see what is signed in. | |
| country | No | Three-letter country code, e.g. "usa", "gbr", "swe". | |
| page_filter | No | Only queries that landed on pages whose URL contains this, e.g. "/blog/". |