Skip to main content
Connectors

YouTube Data connector

Set up the YouTube Data connector in Kaivo: authentication, configuration, the 5 BigQuery tables it syncs, and answers to common questions.

Written By Lauri Raivio

Last updated 16 days ago

Kaivo is a fully managed data platform that syncs your YouTube Data data into a Google BigQuery warehouse and keeps it up to date automatically. There is no pipeline to build and no infrastructure to run, so you can spend your time analysing your marketing and sales data instead of moving it.

What is the YouTube Data connector

Sync your YouTube channel data into BigQuery with Kaivo to analyse videos, comments, and channel performance.

CategoryMarketing & Sales
AuthenticationAPI key
SetupSelf-service

Getting started with the YouTube Data connector

  1. Sign up for Kaivo and create a workspace.
  2. Connect your YouTube Data account.
  3. Choose which tables to sync.
  4. Wait for the initial sync to finish.
  5. Query your data in BigQuery or your favourite AI or BI tool.

Authenticating YouTube Data

Authenticate with your API Key.

FieldDescription
API Key

The API Key for the YouTube Data API. See the Google Cloud Console to create one.

Configuring the YouTube Data connector

When you set up the connector, you provide:

FieldDescription
Channel IDs

The list of YouTube channel IDs to sync data from.

Tables and columns synced from YouTube Data

Kaivo syncs 5 tables from YouTube Data into a dedicated dataset in your BigQuery warehouse. Click any table to see its columns and types.

ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
can_replyBOOL
channel_idSTRING
is_publicBOOL
top_level_comment__etagSTRING
top_level_comment__idSTRING
top_level_comment__kindSTRING
top_level_comment__snippet__author_channel_id__valueSTRING
top_level_comment__snippet__author_channel_urlSTRING
top_level_comment__snippet__author_display_nameSTRING
top_level_comment__snippet__author_profile_image_urlSTRING
top_level_comment__snippet__can_rateBOOL
top_level_comment__snippet__channel_idSTRING
top_level_comment__snippet__like_countFLOAT64
top_level_comment__snippet__published_atSTRING
top_level_comment__snippet__text_displaySTRING
top_level_comment__snippet__text_originalSTRING
top_level_comment__snippet__updated_atSTRING
top_level_comment__snippet__video_idSTRING
top_level_comment__snippet__viewer_ratingSTRING
total_reply_countFLOAT64
video_idSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
content_details__related_playlists__likesSTRING
content_details__related_playlists__favoritesSTRING
content_details__related_playlists__uploadsSTRING
etagSTRING
idSTRING
kindSTRING
snippet__descriptionSTRING
snippet__countrySTRING
snippet__custom_urlSTRING
snippet__localized__descriptionSTRING
snippet__localized__titleSTRING
snippet__published_atSTRING
snippet__default_languageSTRING
snippet__thumbnails__default__heightFLOAT64
snippet__thumbnails__default__urlSTRING
snippet__thumbnails__default__widthFLOAT64
snippet__thumbnails__high__heightFLOAT64
snippet__thumbnails__high__urlSTRING
snippet__thumbnails__high__widthFLOAT64
snippet__thumbnails__medium__heightFLOAT64
snippet__thumbnails__medium__urlSTRING
snippet__thumbnails__medium__widthFLOAT64
snippet__titleSTRING
statistics__hidden_subscriber_countBOOL
statistics__subscriber_countSTRING
statistics__video_countSTRING
statistics__view_countSTRING
branding_settings__channel__titleSTRING
branding_settings__channel__descriptionSTRING
branding_settings__channel__keywordsSTRING
branding_settings__channel__tracking_analytics_account_idSTRING
branding_settings__channel__unsubscribed_trailerSTRING
branding_settings__channel__default_languageSTRING
branding_settings__channel__countrySTRING
branding_settings__watch__text_colorSTRING
branding_settings__watch__background_colorSTRING
branding_settings__watch__featured_playlist_idSTRING
status__privacy_statusSTRING
status__is_linkedBOOL
status__long_uploads_statusSTRING
status__made_for_kidsBOOL
status__self_declared_made_for_kidsBOOL
content_owner_details__content_ownerSTRING
content_owner_details__time_linkedSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channels__topic_details__topic_ids

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channels__topic_details__topic_categories

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
can_replyBOOL
channel_idSTRING
is_publicBOOL
top_level_comment__etagSTRING
top_level_comment__idSTRING
top_level_comment__kindSTRING
top_level_comment__snippet__author_channel_id__valueSTRING
top_level_comment__snippet__author_channel_urlSTRING
top_level_comment__snippet__author_display_nameSTRING
top_level_comment__snippet__author_profile_image_urlSTRING
top_level_comment__snippet__can_rateBOOL
top_level_comment__snippet__channel_idSTRING
top_level_comment__snippet__like_countFLOAT64
top_level_comment__snippet__published_atSTRING
top_level_comment__snippet__text_displaySTRING
top_level_comment__snippet__text_originalSTRING
top_level_comment__snippet__updated_atSTRING
top_level_comment__snippet__video_idSTRING
top_level_comment__snippet__viewer_ratingSTRING
total_reply_countFLOAT64
video_idSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
datetimeSTRING
video_idSTRING
kindSTRING
etagSTRING
idSTRING
published_atSTRING
channel_idSTRING
titleSTRING
descriptionSTRING
channel_titleSTRING
category_idSTRING
live_broadcast_contentSTRING
default_languageSTRING
default_audio_languageSTRING
localized__titleSTRING
localized__descriptionSTRING
thumbnails__default__urlSTRING
thumbnails__default__widthFLOAT64
thumbnails__default__heightFLOAT64
thumbnails__medium__urlSTRING
thumbnails__medium__widthFLOAT64
thumbnails__medium__heightFLOAT64
thumbnails__high__urlSTRING
thumbnails__high__widthFLOAT64
thumbnails__high__heightFLOAT64
thumbnails__standard__urlSTRING
thumbnails__standard__widthFLOAT64
thumbnails__standard__heightFLOAT64
thumbnails__maxres__urlSTRING
thumbnails__maxres__widthFLOAT64
thumbnails__maxres__heightFLOAT64
content_details__durationSTRING
content_details__dimensionSTRING
content_details__definitionSTRING
content_details__captionSTRING
content_details__licensed_contentBOOL
content_details__projectionSTRING
content_details__has_custom_thumbnailBOOL
statistics__view_countSTRING
statistics__like_countSTRING
statistics__dislike_countSTRING
statistics__favorite_countSTRING
statistics__comment_countSTRING
player__embed_htmlSTRING
player__embed_heightFLOAT64
player__embed_widthFLOAT64
status__upload_statusSTRING
status__failure_reasonSTRING
status__rejection_reasonSTRING
status__privacy_statusSTRING
status__publish_atSTRING
status__licenseSTRING
status__embeddableBOOL
status__public_stats_viewableBOOL
status__made_for_kidsBOOL
status__self_declared_made_for_kidsBOOL
status__contains_synthetic_mediaBOOL
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: video__tags

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: video__content_details__region_restriction__allowed

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: video__content_details__region_restriction__blocked

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
kindSTRING
video_idSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

How the YouTube Data sync works

After the first load, Kaivo keeps your BigQuery warehouse up to date for you. Where YouTube Data supports it, each sync pulls only new and changed records so it stays fast; otherwise it refreshes the whole table. Every record keeps its original ID, so you won't get duplicate rows.

Frequently asked questions

How long does the initial sync take for YouTube Data?

It depends on how much history is in your YouTube Data account. Most initial syncs finish within minutes, while large accounts can take a few hours. After that, syncs only fetch new and changed records, so they're much faster.

Can I sync only some tables or columns?

Yes. You pick which tables to sync when you set up the connection and can change the selection later. Tables you don't select are never copied to your warehouse.

What happens when YouTube Data's schema changes?

New fields are never added automatically. You choose which fields to sync, so data you haven't selected (sensitive personal data, for example) never lands in your warehouse. When a new field appears, it becomes available for you to add. What happens to removed or renamed fields depends on a table's sync mode: full-refresh tables always match what's currently in YouTube Data, so dropped fields disappear, while incremental tables keep their existing columns and history, so an old field stays and newly added fields fill in over time.

How do I handle GDPR or data deletion requests?

Your data lives in your own Kaivo-managed BigQuery warehouse, so the most direct option is to delete or anonymise specific records right in BigQuery. If you delete data in YouTube Data instead, full-refresh tables drop it on the next sync, while incremental tables keep it, so you would remove the row in BigQuery or ask us to run a full refresh. To remove everything, delete the YouTube Data connector in Kaivo and all of its synced data is deleted with it.

Common use cases for YouTube Data data

Video performance

Use videos to track how your content performs over time.

Audience engagement

Use comments and channel_comments to understand how viewers respond.

Channel view

Join channels with videos to report across your channels.

Use YouTube Data data in your AI and BI tools

Once YouTube Data data lands in your Kaivo-managed BigQuery warehouse, you can explore it with AI tools or any BI tool that connects to BigQuery. Here's how the most common destinations work with YouTube Data data.

Claude

Use Kaivo's MCP server to give Claude secure, workspace-scoped access to your data. Setup guide β†’

Power BI

Microsoft's BI tool with a native BigQuery connector. Supports direct query and scheduled refresh. Setup guide β†’

Data Studio

Free Google BI tool with native BigQuery support. One-click connection to your Kaivo warehouse; great for SMB teams on Google Workspace. Setup guide β†’

Tableau

The premium analytics standard, with native BigQuery integration. Setup guide β†’

Google Sheets

Use Connected Sheets to query BigQuery directly from a spreadsheet, with no SQL. Setup guide β†’

Excel

Connect via Power Query's BigQuery connector. Setup guide β†’

Metabase

Open-source BI tool with strong BigQuery support. Setup guide β†’

See our pricing page for YouTube Data connector pricing and plan details.

Was this helpful?

Still need help? Share an idea