YouTube analytics broken down by dimension
youtube_channel_reportPull granular YouTube Analytics: traffic sources, search terms, demographics, retention curves, and more. Identify where views originate, how drops occur, and what drives performance using actionable reports.
Instructions
The YouTube Analytics reports that say WHERE views came from, WHO watched and WHERE they stopped watching — the questions youtube_channel (totals) and youtube_video_insights (one video, flat) cannot answer. Pick a report: day / month (time series) · country / province (US states) / city / dma (geography) · trafficSource (search vs browse vs suggested vs shorts feed vs external — the single most useful one for judging a thumbnail and title) · trafficSourceDetail (the actual search terms, inside ONE source — pass parent, e.g. "YT_SEARCH") · playbackLocation / playbackLocationDetail (which sites embedded it) · device / operatingSystem · demographics (age + gender) · sharingService · subscribedStatus · audienceRetention (the drop-off CURVE, 100 points across ONE video — the read that tells you whether the hook held and exactly when people left) · topVideos (the channel’s best in the window). Scope it to one or more videoIds, or omit for the whole channel. An unknown report name is refused WITH the list rather than quietly swapped. TWO THINGS TO SAY OUT LOUD WHEN REPORTING: demographics returns viewerPercentage and NOTHING else — YouTube publishes no absolute demographic counts, so never convert it into a number of viewers — and a capped report (city 250, topVideos 200, the *Detail reports 25) is the TOP N, not the whole set. Zero rows means missing data for that window, never zero views. Read-only, 0 credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | rows, within YouTube’s own cap for that report | |
| parent | No | required by the *Detail reports: the ONE parent to drill into, e.g. "YT_SEARCH" / "SUBSCRIBER" / "RELATED_VIDEO" for trafficSourceDetail, "EMBEDDED" for playbackLocationDetail | |
| report | No | which report (default day) | |
| endDate | No | YYYY-MM-DD, default today | |
| videoIds | No | narrow to these videos — audienceRetention requires exactly ONE, because the curve is per video | |
| startDate | No | YYYY-MM-DD, default 28 days ago |