Collect YouTube video performance in Google BigQuery
Load daily views, watch time and subscribers for every video into your own BigQuery project with a custom OWOX connector: one table per endpoint, readable columns, a refresh on a schedule. A video's first weeks then sit next to search and ad data.
In Google BigQuery, video performance should sit next to search and ad data, but it stays in YouTube Studio.
Paste this into your AI assistant. It sets up a YouTube Data Mart in OWOX Data Marts that loads video daily, videos and the channel into your Google BigQuery project, one table per endpoint, refreshed on a schedule.
The prompt
Read https://www.owox.com/ai-agent-setup.md and follow it to set up OWOX Data Marts for me, starting from /connectors/youtube-connector-to-google-bigquery.md. The task: load YouTube video daily, videos and channel into Google BigQuery with a daily refresh, and show me views and watch time for each video by days since it was published. 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
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
Why join YouTube video performance with search and ad data
YouTube Studio shows how each video does on its own. It does not show whether a video lifted branded search or made the ad spend around a launch work harder. Reading that needs the daily video series in one warehouse with Search Console and Google Ads.
- Line up each video's days since publishing against branded search clicks
- Set ad spend on a launch beside the views and watch time that followed
- Compare subscribers gained per video, not only per channel
Step 1: Connect YouTube and pick the fields
Create a Data Mart, choose YouTube as the source and sign in with the Google account that manages the channel. Open an endpoint and tick only the fields you need.
- Video daily carries views, watch time, retention, likes, shares and subscribers per video and day
- A custom connector: the Google credential and the channel ID are yours
Step 2: Load YouTube into Google BigQuery
Each endpoint becomes its own table, and refresh settings are set in the Data Mart. Run it and the first load lands as a table in a dataset of your own Google BigQuery project. The location is pre-filled from your storage, and you can change it.
- Video daily and Videos each get their own table, not one table for the channel
- Every run is logged in Run History
Step 3: Get a business-friendly YouTube output schema
After the first run you get the output schema: every field with its type and a description. Watch time arrives in minutes and average view duration in seconds, and the schema says so. Your quality checks can read it too.
- likes is net per day, so a day can be negative
- average_view_percentage is the retention proxy, in percent
Step 4: Keep the YouTube tables linked
The channel, its videos and the daily series stay separate tables, joined by ids. Together they become one YouTube model, ready to join to search and ad spend.
- Video daily carries video_id; Videos carries channel_id
- published_at on Videos turns a calendar day into days since publishing
Step 5: Schedule the YouTube refresh and backfill history
Set it once. A daily scheduled refresh keeps the series current, and a manual backfill reloads earlier days, which also picks up recent days that YouTube Analytics filled in late.
- Daily runs with no pipeline to maintain
- Backfill the channel's history the first time you connect
Step 6: Reuse the same YouTube table everywhere
One table feeds your model, , , assistants and scheduled insights in Slack or email.
- Define a video's first-week views once
- Every report reads the same table
- 0.45.0Know what a backfill loads when a connector has no date fields
- 0.45.0Transformations and GA4 Streaming now live next to your Data Marts: install them as plugins
- 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.43.0Parallel reads of a SQL Data Mart on Google BigQuery no longer fail with a rate limit error
Why OWOX for YouTube in Google BigQuery
Studio exports, hand-built API scripts or a generic ETL tool each get YouTube numbers out. OWOX also keeps them yours, readable and ready to join to search and ads.
- You own the data. It lands in your own data warehouse, in tables you control.
- Per video, per day. Video daily keeps one row per video and day, so a launch curve is a query.
- Ready for a data model. Separate tables per endpoint, joined by ids, built to connect to search, ads and web analytics.
- One place to fix. When the YouTube APIs change, you fix one connector, not a pile of scripts.
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
You are booked. The invitation is on its way to , with the calendar invite and the meeting link.