Connector

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.

YouTubeConnectedChannelChannel dailyDemographics da…Devices daily
Data MartPublishedone definition
Google BigQueryChann…DayViewsDaily 09:00
Refreshed on a schedule. No exports, no copy-paste.

Get started free

Hand this to your AI

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

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

Endpoints

YouTube Endpoints

Documentation

11 YouTube endpoints you can import. Each lands in its own table in your data warehouse.

S00 · Why

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 data 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
YouTubeViews by video
SearchQueries, clicks
Ad platformsSpend
Your data warehouseBigQueryYouTubeSearchAd spendJoined by idVideo publishedSearch liftsOne query follows a video into branded search.

S01 · Step 1

Step 1: Connect YouTube and pick the fields

Create a Data Mart, choose YouTube as the data 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
New Data MartChoose a sourceGoogle AdsYouTubeGoogle Search…AuthorizeConnectedEndpointVideo dailyChannelChannel dailyDemographics daily
Video daily13 fieldsdayvideo_idviewsestimated_minutes_watchedaverage_view_percentagesubscribers_gained

S02 · Step 2

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 data 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
DestinationBigQueryDatasetyoutubeTablevideo_dailyRun
Run HistoryPendingRunningSuccessIncremental load
Tableyoutube.video_daily

S03 · Step 3

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 data 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
youtube.video_dailyOutput schemaFieldDescriptiondayThe day, stamped from the…video_idThe video. Part of the key…viewsViews on that day (YouTube's…estimated_minutes_watchedWatch time in minutes. The…average_view_percentageAverage share of the video…subscribers_gainedSubscribers gained from this…

S04 · Step 4

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 data 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
Channelchannel_idtitlesubscriber_count
Videosvideo_idchannel_idpublished_at
Video dailyvideo_idviewsestimated_minute…

S05 · Step 5

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
ScheduleRun on a scheduleDaily 09:00
BackfillRun backfill
Run HistoryDaily scheduleManual backfillDaily schedule

S06 · Step 6

Step 6: Reuse the same YouTube table everywhere

One table feeds your data model, spreadsheets, dashboards, AI assistants and scheduled insights in Slack or email.

  • Define a video's first-week views once
  • Every report reads the same table
YouTubeData MartPublished
Your data model
Google Sheets
Data Studio dashboards
Claude, ChatGPT
Slack, email

Recent updates

Why OWOX

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.

Book a callGet started free

Trust

The Data Partner You Can Trust

users

166K Source: Internal OWOX data as of 2026-11-15

Executives and data analysts across 20+ industries

G2 rating

4.9★2

“A trusted data analytics partner” — verified review

npm installs

171K3

In Open Source We Trust

Customers