Query Discover performance
query_discover_analyticsFetch Google Discover analytics: clicks, impressions, and CTR by page, country, or date. Filter by search appearance; no query or device data.
Instructions
Google Discover performance: clicks, impressions and CTR by page, country or date. Discover reports no queries, no average position and no device breakdown, and has data only for sites that appear in Discover feeds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | Filters, combined with AND. | |
| end_date | No | Last day (inclusive), YYYY-MM-DD in Pacific Time. Defaults to today. | |
| site_url | Yes | The property, as listed by list_sites: 'sc-domain:example.com' for a domain property or 'https://www.example.com/' for a URL-prefix property. A bare domain such as 'example.com', or any URL on the site, is resolved to the property that contains it. | |
| row_limit | No | Rows to return (1-25,000). | |
| start_row | No | Zero-based row offset, for paging. | |
| data_state | No | 'all' includes fresh data that may still change and matches the Search Console UI; 'final' is finalized data only (lags 2-3 days). | all |
| dimensions | No | Group rows by these. Omit for ['page'] (['date'] with byNewsShowcasePanel); [] for totals. | |
| start_date | No | First day, YYYY-MM-DD in Pacific Time. Defaults to 28 days ago. | |
| aggregation_type | No | 'auto' aggregates by page. byNewsShowcasePanel counts News Showcase panels instead: it needs the filter searchAppearance equals NEWS_SHOWCASE and cannot group or filter by page, so dimensions default to ['date'] with it. | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | One object per row: dimension values by name, then clicks, impressions, ctr (0-1) and position (absent for Discover and Google News). | |
| notes | No | ||
| request | Yes | The exact request body sent to Google. | |
| end_date | Yes | ||
| site_url | Yes | ||
| row_count | Yes | ||
| data_state | Yes | ||
| dimensions | Yes | ||
| start_date | Yes | ||
| search_type | Yes | ||
| next_start_row | No | Pass as start_row to fetch the next page, if there is one. | |
| aggregation_type | No | ||
| first_incomplete_date | No | ||
| first_incomplete_hour | No |