YouTube data model: channel, videos and daily analytics as tables
The YouTube data model in OWOX: 11 tables for the channel, videos, playlists and the daily views, watch time, traffic sources, countries, devices, audience and revenue, with keys and joins drawn.
Don't start from scratch. Have your AI assistant lay the foundation with you.
Your assistant interviews you about your sources and goals; OWOX Data Marts hold the models and the SQL.
The prompt
Read https://www.owox.com/ai-agent-setup.md and follow it to set up OWOX Data Marts for me, starting from /data-sources/youtube.md. The task: set up a data foundation for my team: connect my data, model the business, and see the numbers everyone trusts. Tag the links you give me with utm_campaign=ai-task and utm_term=data-foundation. Use what you know about my context and goals
Available connectors from YouTube
Available connectors from YouTube
- YouTube Connector to ChatGPT11 endpoints123 fieldsChannel, Channel daily, Demographics daily, Devices daily, Geography daily, Playlist items, Playlists, Revenue daily, Traffic sources daily, Video daily, Videos
- YouTube Connector to Claude11 endpoints123 fieldsChannel, Channel daily, Demographics daily, Devices daily, Geography daily, Playlist items, Playlists, Revenue daily, Traffic sources daily, Video daily, Videos
- YouTube Connector to AWS Athena11 endpoints123 fieldsChannel, Channel daily, Demographics daily, Devices daily, Geography daily, Playlist items, Playlists, Revenue daily, Traffic sources daily, Video daily, Videos
- YouTube Connector to AWS Redshift11 endpoints123 fieldsChannel, Channel daily, Demographics daily, Devices daily, Geography daily, Playlist items, Playlists, Revenue daily, Traffic sources daily, Video daily, Videos
- YouTube Connector to Databricks11 endpoints123 fieldsChannel, Channel daily, Demographics daily, Devices daily, Geography daily, Playlist items, Playlists, Revenue daily, Traffic sources daily, Video daily, Videos
- YouTube Connector to Google BigQuery11 endpoints123 fieldsChannel, Channel daily, Demographics daily, Devices daily, Geography daily, Playlist items, Playlists, Revenue daily, Traffic sources daily, Video daily, Videos
- YouTube Connector to Snowflake11 endpoints123 fieldsChannel, Channel daily, Demographics daily, Devices daily, Geography daily, Playlist items, Playlists, Revenue daily, Traffic sources daily, Video daily, Videos
- YouTube Connector to Data Studio11 endpoints123 fieldsChannel, Channel daily, Demographics daily, Devices daily, Geography daily, Playlist items, Playlists, Revenue daily, Traffic sources daily, Video daily, Videos
- YouTube Connector to Google Sheets11 endpoints123 fieldsChannel, Channel daily, Demographics daily, Devices daily, Geography daily, Playlist items, Playlists, Revenue daily, Traffic sources daily, Video daily, Videos
- YouTube Connector to Microsoft Excel11 endpoints123 fieldsChannel, Channel daily, Demographics daily, Devices daily, Geography daily, Playlist items, Playlists, Revenue daily, Traffic sources daily, Video daily, Videos
- YouTube Insights to Email11 endpoints123 fieldsChannel, Channel daily, Demographics daily, Devices daily, Geography daily, Playlist items, Playlists, Revenue daily, Traffic sources daily, Video daily, Videos
- YouTube Insights to Google Chat11 endpoints123 fieldsChannel, Channel daily, Demographics daily, Devices daily, Geography daily, Playlist items, Playlists, Revenue daily, Traffic sources daily, Video daily, Videos
- YouTube Insights to Microsoft Teams11 endpoints123 fieldsChannel, Channel daily, Demographics daily, Devices daily, Geography daily, Playlist items, Playlists, Revenue daily, Traffic sources daily, Video daily, Videos
- YouTube Insights to Slack11 endpoints123 fieldsChannel, Channel daily, Demographics daily, Devices daily, Geography daily, Playlist items, Playlists, Revenue daily, Traffic sources daily, Video daily, Videos
- 0.45.0Know what a backfill loads when a connector has no date fields
- 0.44.0Connector Data Marts set up through MCP no longer fail their first run because of the table path
- 0.44.0Backfill a catalog for any period in one run, and follow a long backfill as parts of one operation
- 0.39.0Reload a year of history in one backfill, not twelve
- 0.37.0Clearer connector errors, and custom connectors that handle more APIs
YouTube Endpoints
11 YouTube endpoints you can import. Each lands in its own table in your data warehouse.
Channel
The channel itself, one row, refreshed on every run: title, description, country, creation date, the lifetime view, subscriber and video counts YouTube shows on the channel page, and the uploads playl
15 fieldsChannel daily
One row per day for the whole channel: views, watch time, average view duration and percentage, likes, dislikes, comments, shares, subscribers gained and lost, playlist adds.
14 fieldsTime seriesDemographics daily
Share of watch time per age group and gender, per day.
5 fieldsTime seriesDevices daily
Views and watch time per day, device type and operating system: desktop, mobile, tablet, TV, game console; Android, iOS, Windows, Macintosh, and so on.
6 fieldsTime seriesGeography daily
Views, watch time, average view duration and percentage, likes, comments, shares and subscriber changes per country and day.
13 fieldsTime seriesPlaylist items
Which video sits in which playlist, at which position: the many-to-many bridge between playlists and videos.
9 fieldsPlaylists
The channel's playlists (series, courses, product lines), with item counts and privacy.
8 fieldsRevenue daily
Estimated revenue, ad revenue, YouTube Premium revenue, gross revenue, CPM, playback-based CPM, ad impressions and monetized playbacks per day, for channels in the YouTube Partner Program.
10 fieldsTime seriesTraffic sources daily
Views and watch time per day and traffic source type: YouTube search, suggested videos, browse features (home, subscriptions), external (websites and apps, including your own site and newsletters), pl
5 fieldsTime seriesVideo daily
Per video and day: views, watch time, average view duration and percentage, likes, dislikes, comments, shares, subscribers gained and lost.
13 fieldsTime seriesVideos
Every public upload with its metadata and lifetime counters as of the run: title, description, tags, category, duration, publish time, privacy, and the view, like and comment counts the watch page sho
25 fields
The Data Partner You Can Trust
users
166K Source: Internal OWOX data as of 2026-11-15
Executives and data analysts across 20+ industries
Customers
YouTube Channel schema
15 fieldsyoutube_channel
The channel itself, one row, refreshed on every run: title, description, country, creation date, the lifetime view, subscriber and video counts YouTube shows on the channel page, and the uploads playl
| Field | Type | Description |
|---|---|---|
channel_id | STRING | The channel ID (UC…). Primary key, and the join key to every other YouTube table. |
title | STRING | Channel name as shown on YouTube. |
description | STRING | The channel's About text. |
custom_url | STRING | The channel handle, e.g. @owox_bi. |
published_at | TIMESTAMP | When the channel was created (UTC). |
country | STRING | Country set in the channel settings (ISO 3166-1 alpha-2), empty when not set. |
thumbnail_url | STRING | URL of the channel avatar, 800 px. |
view_count | INTEGER | Lifetime views of all public videos, as of the run. A snapshot, not a daily number: daily views live in channel_daily. |
subscriber_count | INTEGER | Subscribers as of the run, rounded by YouTube to three significant figures for channels above 1,000. |
hidden_subscriber_count | BOOLEAN | True when the channel hides its subscriber count; subscriber_count is then 0. |
video_count | INTEGER | Public videos on the channel as of the run. |
uploads_playlist_id | STRING | The uploads playlist (UU…); copy it into the Uploads playlist ID parameter. |
keywords | STRING | Channel keywords from Studio → Customization, space-separated, quoted when multi-word. |
privacy_status | STRING | public, unlisted or private. |
made_for_kids | BOOLEAN | Channel-level made-for-kids setting. |
YouTube Channel daily schema
14 fieldsTime seriesyoutube_channel_daily
One row per day for the whole channel: views, watch time, average view duration and percentage, likes, dislikes, comments, shares, subscribers gained and lost, playlist adds.
| Field | Type | Description |
|---|---|---|
channel_id | STRING | The channel, stamped from the Channel ID parameter. Part of the key. |
day | DATE | Day in the channel's time zone as YouTube Analytics reports it. Part of the key. |
views | INTEGER | Views on that day (YouTube's counted views, not impressions). |
estimated_minutes_watched | INTEGER | Watch time in minutes. The metric YouTube ranks by; views × average duration. |
average_view_duration | INTEGER | Average seconds a view lasted. |
average_view_percentage | FLOAT | Average share of the video watched, in percent: the retention proxy. |
likes | INTEGER | Net likes that day: likes added minus likes removed, so a day can be negative. |
dislikes | INTEGER | Dislikes added that day (visible to the owner only). |
comments | INTEGER | Comments posted that day. |
shares | INTEGER | Shares through the Share button that day. |
subscribers_gained | INTEGER | Subscribers gained from this content that day. |
subscribers_lost | INTEGER | Subscribers lost that day. |
videos_added_to_playlists | INTEGER | Times viewers added the channel's videos to playlists that day. |
videos_removed_from_playlists | INTEGER | Times viewers removed them from playlists that day. |
YouTube Demographics daily schema
5 fieldsTime seriesyoutube_demographics_daily
Share of watch time per age group and gender, per day.
| Field | Type | Description |
|---|---|---|
channel_id | STRING | The channel, stamped from the Channel ID parameter. Part of the key. |
day | DATE | The day, stamped from the request window. Part of the key. |
age_group | STRING | age13-17, age18-24, age25-34, age35-44, age45-54, age55-64, age65-. Part of the key. |
gender | STRING | female, male or user_specified. Part of the key. |
viewer_percentage | FLOAT | Percent of the day's watch time from that age group and gender; the day's rows sum to 100. |
YouTube Devices daily schema
6 fieldsTime seriesyoutube_devices_daily
Views and watch time per day, device type and operating system: desktop, mobile, tablet, TV, game console; Android, iOS, Windows, Macintosh, and so on.
| Field | Type | Description |
|---|---|---|
channel_id | STRING | The channel, stamped from the Channel ID parameter. Part of the key. |
day | DATE | Day. Part of the key. |
device_type | STRING | DESKTOP, MOBILE, TABLET, TV, GAME_CONSOLE or UNKNOWN_PLATFORM. Part of the key. |
operating_system | STRING | ANDROID, IOS, WINDOWS, MACINTOSH, LINUX, CHROMECAST, SMART_TV, PLAYSTATION, XBOX and others. Part of the key. |
views | INTEGER | Views that day on that device and OS. |
estimated_minutes_watched | INTEGER | Watch time that day, minutes. |
YouTube Geography daily schema
13 fieldsTime seriesyoutube_geography_daily
Views, watch time, average view duration and percentage, likes, comments, shares and subscriber changes per country and day.
| Field | Type | Description |
|---|---|---|
channel_id | STRING | The channel, stamped from the Channel ID parameter. Part of the key. |
day | DATE | The day, stamped from the request window. Part of the key. |
country | STRING | Viewer country, ISO 3166-1 alpha-2; ZZ when unknown. Part of the key. |
views | INTEGER | Views on that day (YouTube's counted views, not impressions). |
estimated_minutes_watched | INTEGER | Watch time in minutes. The metric YouTube ranks by; views × average duration. |
average_view_duration | INTEGER | Average seconds a view lasted. |
average_view_percentage | FLOAT | Average share of the video watched, in percent: the retention proxy. |
likes | INTEGER | Net likes that day: likes added minus likes removed, so a day can be negative. |
dislikes | INTEGER | Dislikes added that day (visible to the owner only). |
comments | INTEGER | Comments posted that day. |
shares | INTEGER | Shares through the Share button that day. |
subscribers_gained | INTEGER | Subscribers gained from this content that day. |
subscribers_lost | INTEGER | Subscribers lost that day. |
YouTube Playlist items schema
9 fieldsyoutube_playlist_items
Which video sits in which playlist, at which position: the many-to-many bridge between playlists and videos.
| Field | Type | Description |
|---|---|---|
playlist_item_id | STRING | Placement id. Primary key. |
playlist_id | STRING | The playlist. Joins youtube_playlists. |
video_id | STRING | The video. Joins youtube_videos and video_daily. |
position | INTEGER | Zero-based position in the playlist. |
added_at | TIMESTAMP | When the video was added to the playlist (UTC). |
video_published_at | TIMESTAMP | When the video itself was published (UTC). |
title | STRING | Video title as of the run. |
video_owner_channel_id | STRING | Owner of the video; differs from channel_id when a playlist holds other channels' videos. |
privacy_status | STRING | Privacy of the placement. |
YouTube Playlists schema
8 fieldsyoutube_playlists
The channel's playlists (series, courses, product lines), with item counts and privacy.
| Field | Type | Description |
|---|---|---|
playlist_id | STRING | Playlist ID (PL…). Primary key. |
channel_id | STRING | Owning channel. Joins youtube_channel. |
title | STRING | Playlist title. |
description | STRING | Playlist description. |
published_at | TIMESTAMP | When the playlist was created (UTC). |
thumbnail_url | STRING | Thumbnail of the playlist's cover video. |
item_count | INTEGER | Number of videos in the playlist as of the run. |
privacy_status | STRING | public, unlisted or private. |
YouTube Revenue daily schema
10 fieldsTime seriesyoutube_revenue_daily
Estimated revenue, ad revenue, YouTube Premium revenue, gross revenue, CPM, playback-based CPM, ad impressions and monetized playbacks per day, for channels in the YouTube Partner Program.
| Field | Type | Description |
|---|---|---|
channel_id | STRING | The channel, stamped from the Channel ID parameter. Part of the key. |
day | DATE | Day. Part of the key. |
estimated_revenue | FLOAT | Total estimated net revenue from ads and YouTube Premium, USD. |
estimated_ad_revenue | FLOAT | Estimated net revenue from AdSense and DoubleClick ads, USD. |
estimated_red_partner_revenue | FLOAT | Estimated revenue from YouTube Premium subscribers' watch time, USD. |
gross_revenue | FLOAT | Estimated gross revenue from Google-sold ads before YouTube's share, USD. |
cpm | FLOAT | Gross revenue per 1,000 ad impressions, USD. |
playback_based_cpm | FLOAT | Gross revenue per 1,000 monetized playbacks, USD. |
ad_impressions | INTEGER | Verified ad impressions served. |
monetized_playbacks | INTEGER | Playbacks where at least one ad impression was served. |
YouTube Traffic sources daily schema
5 fieldsTime seriesyoutube_traffic_sources_daily
Views and watch time per day and traffic source type: YouTube search, suggested videos, browse features (home, subscriptions), external (websites and apps, including your own site and newsletters), pl
| Field | Type | Description |
|---|---|---|
channel_id | STRING | The channel, stamped from the Channel ID parameter. Part of the key. |
day | DATE | Day. Part of the key. |
traffic_source_type | STRING | YouTube's traffic source type: YT_SEARCH, RELATED_VIDEO, SUBSCRIBER (browse: home and subscriptions), EXT_URL, PLAYLIST, YT_CHANNEL, NOTIFICATION, SHORTS, ADVERTISING, NO_LINK_OTHER, END_SCREEN, ANNOTATION, YT_OTHER_PAGE, PROMOTED, CAMPAIGN_CARD, PLAYLIST_PAGE, HASHTAGS, SOUND_PAGE, LIVE_REDIRECT, VIDEO_REMIXES, PRODUCT_PAGE. Part of the key. |
views | INTEGER | Views from that source that day. |
estimated_minutes_watched | INTEGER | Watch time from that source that day, minutes. |
YouTube Video daily schema
13 fieldsTime seriesyoutube_video_daily
Per video and day: views, watch time, average view duration and percentage, likes, dislikes, comments, shares, subscribers gained and lost.
| Field | Type | Description |
|---|---|---|
channel_id | STRING | The channel, stamped from the Channel ID parameter. Part of the key. |
day | DATE | The day, stamped from the request window. Part of the key. |
video_id | STRING | The video. Part of the key; joins youtube_videos. |
views | INTEGER | Views on that day (YouTube's counted views, not impressions). |
estimated_minutes_watched | INTEGER | Watch time in minutes. The metric YouTube ranks by; views × average duration. |
average_view_duration | INTEGER | Average seconds a view lasted. |
average_view_percentage | FLOAT | Average share of the video watched, in percent: the retention proxy. |
likes | INTEGER | Net likes that day: likes added minus likes removed, so a day can be negative. |
dislikes | INTEGER | Dislikes added that day (visible to the owner only). |
comments | INTEGER | Comments posted that day. |
shares | INTEGER | Shares through the Share button that day. |
subscribers_gained | INTEGER | Subscribers gained from this content that day. |
subscribers_lost | INTEGER | Subscribers lost that day. |
YouTube Videos schema
25 fieldsyoutube_videos
Every public upload with its metadata and lifetime counters as of the run: title, description, tags, category, duration, publish time, privacy, and the view, like and comment counts the watch page sho
| Field | Type | Description |
|---|---|---|
video_id | STRING | The 11-character video ID (youtube.com/watch?v=…). Primary key; the join key to video_daily and to the video id you put in UTM content or landing pages. |
channel_id | STRING | The channel that owns the video. Joins youtube_channel. |
title | STRING | Video title as of the run. |
description | STRING | Full video description, including the links in it. |
published_at | TIMESTAMP | When the video was published (UTC). Age of a video = run date minus this. |
tags | JSON | Tags set in Studio, as a JSON array string. |
category_id | STRING | YouTube category id (28 = Science & Technology, 27 = Education, 22 = People & Blogs). |
default_language | STRING | Language of the title and description (BCP-47), when set. |
default_audio_language | STRING | Language of the audio track, when set. |
live_broadcast_content | STRING | none for uploads, live or upcoming for streams. |
thumbnail_url | STRING | URL of the 480×360 thumbnail. |
duration | STRING | Length as an ISO 8601 duration (PT12M34S). Under PT1M is usually a Short; parse in SQL with REGEXP_EXTRACT. |
definition | STRING | hd or sd. |
caption | BOOLEAN | True when the video has captions. |
licensed_content | BOOLEAN | True when the video is claimed by a content partner. |
privacy_status | STRING | public, unlisted or private. |
upload_status | STRING | processed, uploaded, failed, rejected or deleted. |
license | STRING | youtube (standard) or creativeCommon. |
embeddable | BOOLEAN | Whether the video can be embedded on other sites. |
made_for_kids | BOOLEAN | Made-for-kids flag; such videos get no personalised ads and no comments. |
view_count | INTEGER | Lifetime views as of the run. |
like_count | INTEGER | Lifetime likes as of the run (empty when the creator hides it). |
comment_count | INTEGER | Lifetime comments as of the run (empty when comments are off). |
favorite_count | INTEGER | Always 0 since YouTube retired favourites; kept for schema stability. |
topic_categories | JSON | Wikipedia topic URLs YouTube assigned to the video, as a JSON array string. |
Not testimonials. Comment threads.
Real things real customers said — each quote pinned to a specific claim, straight from the quotes database.
“AI, by the nature of the models, will hallucinate. And because of that, you need something which will create guardrails to ensure that there are no hallucinations, that you can trust your data.”
“We had six or seven different channels and no single source of truth — it was almost impossible, a lot of guesswork.”
“We regained time. And time is the one resource that never comes back.”
Turn your YouTube Data Model: Channel, Videos and the Daily Analytics Series data into business decisions
You are booked. The invitation is on its way to , with the calendar invite and the meeting link.





