YouTube Analytics

Owner-authorized YouTube Analytics reports for connected YouTube channels.

Overview

YouTube analytics in UniPost has two layers. V1 is the shared basic account metrics endpoint, /v1/accounts/{account_id}/metrics, for live subscriber count, public video count, and lifetime channel views. V2 uses the YouTube Analytics API for richer date-ranged channel reporting.

V1 requires youtube.readonly. V2 requires the connected account to include https://www.googleapis.com/auth/yt-analytics.readonly. Monetary reports are not included and do not require yt-analytics-monetary.readonly.

V2 starts with /v1/accounts/{account_id}/youtube/analytics/summary, then adds daily trend and top video endpoints under the same YouTube Analytics route family.

In the dashboard, use Analytics - Platforms - YouTube to see V1 channel metrics beside V2 summary, daily trend, and top video reports for a connected YouTube channel.

Endpoints