Impressions & CTR (beta)
get_impressionsRetrieve thumbnail impressions and click-through rate by day, video, or total for a chosen period. Use it to track how often thumbnails appear in feeds and how often viewers click.
Instructions
Thumbnail impressions and impressions click-through rate (CTR) from the YouTube Reporting API, by day, by video, or in total. Requires enable_impressions_reports to have been run at least ~2 days earlier; only days YouTube has published are included.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_impressions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows for group_by='video'. | |
| period | No | Named date range, Studio-style. Rolling ranges end at the latest complete day of data (analytics lag ~2-3 days; dates are US Pacific). Ignored when start_date is set. | last_28_days |
| end_date | No | Custom range end, YYYY-MM-DD (inclusive). Defaults to the latest complete day. | |
| group_by | No | Daily trend, per-video ranking, or one total for the period. | total |
| start_date | No | Custom range start, YYYY-MM-DD. Overrides `period`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||