Connect YouTube Analytics to your AI agents.

Connect YouTube Analytics data to AI agents with Combined. Explore report types, channel annotations a1, channel basic a3, source setup, MCP access and read-only business queries.

Put YouTube Analytics records to work in the agent you already use. Combined syncs business data into a managed data layer and exposes scoped, read-only queries through MCP.

Start with 5 million MAR without a card; usage after the trial is $5 per million MAR, with no monthly minimum. Combined offers 1,125 connectors across catalog sources and connectors generated through desktop automation.

How to connect YouTube Analytics to Combined

  1. Add your source. Open Connected Apps in Combined and select YouTube Analytics. Use the account or workspace that contains the records you want to analyze.
  2. Authorize access. Complete the connection flow and choose the required permissions. The setup reference below shows the upstream source's configurable fields; the Combined flow may handle some of them for you.
  3. Select datasets and sync. Choose the relevant data, set any available history filters, and wait for the first successful sync.
  4. Grant your agent access. Use the Set up or Access workspace to connect your agent through MCP and scope it to the sources it needs.
  5. Ask a first question. Discover the synced schema, check freshness, and run a bounded read-only query. Then add another source for a cross-app analysis.

The onboarding guide covers the workspace flow. Prepare these YouTube Analytics settings before connecting:

YouTube Analytics source setup reference
SettingWhen neededInput
Content Owner IDOptionalstring
Authenticate via OAuth 2.0Required by source schemaobject
Client IDRequired by source schemaCredential entered in the connection flow
Client SecretRequired by source schemaCredential entered in the connection flow
Refresh TokenRequired by source schemaCredential entered in the connection flow

Authentication choices are alternatives. Supply the settings for your selected method; enter credentials in the connection flow, rather than in an agent prompt.

YouTube Analytics datasets you can evaluate

This reference comes from the upstream source catalog and connector definition, version 1.3.1. Your account permissions, selected streams and successful sync determine what your agent can query. Discover the actual table and field names in Combined before writing SQL.

YouTube Analytics dataset and schema reference
DatasetRecord keyUpdate fieldExample fields
report_typesidInspect sync configurationid, name, deprecateTime, systemManaged
channel_annotations_a1date + channel_id + video_id + live_or_on_demand + subscribed_status + country_code + annotation_type + annotation_iddateannotation_click_through_rate, annotation_clickable_impressions, annotation_clicks, annotation_closable_impressions, annotation_close_rate (15 fields in reference)
channel_basic_a3date + channel_id + video_id + live_or_on_demand + subscribed_status + country_codedateannotation_click_through_rate, annotation_clickable_impressions, annotation_clicks, annotation_closable_impressions, annotation_close_rate (34 fields in reference)
channel_cards_a1date + channel_id + video_id + live_or_on_demand + subscribed_status + country_code + card_type + card_iddatecard_click_rate, card_clicks, card_id, card_impressions, card_teaser_click_rate (14 fields in reference)
channel_combined_a3date + channel_id + video_id + live_or_on_demand + subscribed_status + country_code + playback_location_type + traffic_source_type + device_type + operating_systemdateaverage_view_duration_percentage, average_view_duration_seconds, channel_id, country_code, date (17 fields in reference)
channel_demographics_a1date + channel_id + video_id + live_or_on_demand + subscribed_status + country_code + age_group + genderdateage_group, channel_id, country_code, date, gender (9 fields in reference)
channel_device_os_a3date + channel_id + video_id + live_or_on_demand + subscribed_status + country_code + device_type + operating_systemdateaverage_view_duration_percentage, average_view_duration_seconds, channel_id, country_code, date (15 fields in reference)
channel_end_screens_a1date + channel_id + video_id + live_or_on_demand + subscribed_status + country_code + end_screen_element_type + end_screen_element_iddatechannel_id, country_code, date, end_screen_element_click_rate, end_screen_element_clicks (11 fields in reference)
channel_playback_location_a3date + channel_id + video_id + live_or_on_demand + subscribed_status + country_code + playback_location_type + playback_location_detaildateaverage_view_duration_percentage, average_view_duration_seconds, channel_id, country_code, date (15 fields in reference)
channel_province_a3date + channel_id + video_id + live_or_on_demand + subscribed_status + country_code + province_codedateannotation_click_through_rate, annotation_clickable_impressions, annotation_clicks, annotation_closable_impressions, annotation_close_rate (27 fields in reference)
channel_sharing_service_a1date + channel_id + video_id + live_or_on_demand + subscribed_status + country_code + sharing_servicedatechannel_id, country_code, date, live_or_on_demand, shares (8 fields in reference)
channel_subtitles_a3date + channel_id + video_id + live_or_on_demand + subscribed_status + country_code + subtitle_languagedateaverage_view_duration_percentage, average_view_duration_seconds, channel_id, country_code, date (15 fields in reference)
channel_traffic_source_a3date + channel_id + video_id + live_or_on_demand + subscribed_status + country_code + traffic_source_type + traffic_source_detaildateaverage_view_duration_percentage, average_view_duration_seconds, channel_id, country_code, date (15 fields in reference)
playlist_basic_a2date + channel_id + playlist_id + video_id + live_or_on_demand + subscribed_status + country_codedateaverage_view_duration_seconds, channel_id, country_code, date, live_or_on_demand (14 fields in reference)
playlist_combined_a2date + channel_id + playlist_id + video_id + live_or_on_demand + subscribed_status + country_code + playback_location_type + traffic_source_type + device_type + operating_systemdateaverage_view_duration_seconds, channel_id, country_code, date, device_type (18 fields in reference)
playlist_device_os_a2date + channel_id + playlist_id + video_id + live_or_on_demand + subscribed_status + country_code + device_type + operating_systemdateaverage_view_duration_seconds, channel_id, country_code, date, device_type (16 fields in reference)
playlist_playback_location_a2date + channel_id + playlist_id + video_id + live_or_on_demand + subscribed_status + country_code + playback_location_type + playback_location_detaildateaverage_view_duration_seconds, channel_id, country_code, date, live_or_on_demand (16 fields in reference)
playlist_province_a2date + channel_id + playlist_id + video_id + live_or_on_demand + subscribed_status + country_code + province_codedateaverage_view_duration_seconds, channel_id, country_code, date, live_or_on_demand (15 fields in reference)
playlist_traffic_source_a2date + channel_id + playlist_id + video_id + live_or_on_demand + subscribed_status + country_code + traffic_source_type + traffic_source_detaildateaverage_view_duration_seconds, channel_id, country_code, date, live_or_on_demand (16 fields in reference)

A cursor tracks changes for a source stream. It is not automatically the right date for a business metric: invoice date, close date and record-update date can answer different questions.

Useful YouTube Analytics questions for your AI agent

Start with the datasets you have granted. These prompts turn the referenced schema into checks and summaries; the agent should verify each field against your synced data.

  • Count distinct report types using id and check for duplicate keys.
  • Count current records in channel annotations a1 where the date field falls within the reporting window.
  • Count current records in channel basic a3 where the date field falls within the reporting window.
  • Count current records in channel cards a1 where the date field falls within the reporting window.

Combine YouTube Analytics with another business app

Connect the second source, identify a maintained customer, account or project mapping, and aggregate each dataset before joining. Keep unmatched records visible and define the reporting window. The CRM-and-billing worked example includes runnable SQL demonstrating how a many-to-many join can double the result.

Use YouTube Analytics data in Claude Code, Cursor or another MCP client

Once the source is synced, the agent connects to Combined's MCP interface. Use the generated account-specific configuration from your workspace, keep credentials local, and grant only the sources needed for the task. Follow the Claude Code walkthrough or the MCP setup reference.

Use Combined to analyze my YouTube Analytics data.
List my granted sources, discover the datasets and describe their fields.
Look for datasets corresponding to report_types, channel_annotations_a1, channel_basic_a3, channel_cards_a1, channel_combined_a3, channel_demographics_a1.
Check the last successful sync and report the available date coverage.
Propose three useful questions based on the fields actually available.
For the question I choose, run read-only SQL over the complete matching dataset.
Use a bounded result; include source names, time window and query receipt.
Ask for a missing join key or metric definition instead of inventing one.

Download this YouTube Analytics guide as Markdown to use alongside your agent instructions.

Which YouTube Analytics connection fits the task?

Managed data for complete questions across apps

Choose Combined when you want to analyze synced records, calculate totals, or join YouTube Analytics with other business data without operating a separate ingestion and query stack. The agent works with your source grants and read-only SQL access.

Application tools for live operations

For a task that must change YouTube Analytics immediately, evaluate its available API, native agent tools or desktop workflow. Keep application-action permissions separate from read-only analytics access. A live lookup and an aggregate over synced history solve different jobs.

Desktop-generated connectors for workflows beyond the catalog

Combined's 1,125-connector coverage includes connections generated through computer use. Choose this route when the workflow depends on an application's desktop or browser interface, and establish the fields, access and refresh behavior for that connection.

Read the direct MCP versus managed data comparison and compare business-data MCP options.

Troubleshoot your YouTube Analytics connection

  • Authorization fails: check the selected authentication method, credential validity, source permissions and target account.
  • A dataset is absent: check whether it is enabled and permitted for your account, then inspect discovery and sync status.
  • The agent cannot query it: confirm the source is included in the agent's grant and that its sync succeeded.
  • A total looks wrong: inspect record keys, duplicate rows, time zones, currencies and join fanout before changing the prompt.

Source details reviewed September 10, 2026. YouTube Analytics upstream connector documentation · Versioned connector definition. See also Combined Sources and data freshness for AI agents.