Returns watch metrics for specific videos, or for the channel's 20 newest, over
the same kind of window as
channel insights. Needs
yt-analytics.readonly, like channel insights.
Query parameters
accountIduuidRequired- A connected YouTube channel.
profileIduuid- Optional, because accountId names its profile. If you pass both, they must agree.
videoIdsstring- Comma-separated YouTube video ids (providerId from GET /api/v1/posts), at most 50. Omit for the 20 newest.
startDateYYYY-MM-DD- Give both dates or neither; the default is the 28 days ending three days ago.
endDateYYYY-MM-DD
A video YouTube has no figures for in the window comes back with every metric
null.
Errors — 401 unauthorized, 400 invalid_request, 404 account_not_found,
404 profile_not_found, 422 connection_expired,
422 provider_not_configured, 429 rate_limited, 502 provider_error.