Intro
You can use Domo’s YouTube Enterprise Connector to retrieve viewing statistics, popularity metrics, and demographic information for YouTube videos and channels. To learn more about the YouTube API, visit their page (https://developers.google.com/youtube/ ).- YouTube Reporting Connector - This is our entry-level YouTube Connector. It requires only a Google username and password to authenticate. Most Domo users should use this Connector to retrieve YouTube data.
- YouTube Reporting Enterprise Connector - This is the enterprise version of the YouTube Reporting Connector. This report has a few additional reports and requires you to enter a Google Client ID and Client Secret in addition to a basic Google username and password.
- YouTube Enterprise Advanced Connector - This is Domo’s most advanced YouTube Connector. (This is the only version of the YouTube Enterprise Connector; there is no Connector simply called “YouTube Enterprise.”) It requires a Google Client ID and Client Secret as well as a Google username and password. It provides more reports and options than the other YouTube Connectors but is also more complicated and much more difficult to configure. This Connector is recommended for advanced users only.
- YouTube Reporting Partition Connector- This offers the same reports as the YouTube Reporting Connector, with the added ability to use Partitioning in the DataSet.
- YouTube Reporting Enterprise Partition Connector- This offers the same reports as the YouTube Reporting Enterprise Connector, with the added ability to use Partitioning in the DataSet.
Best practices
When you first power up the Connector and request historical data, it takes around 30 days to bring in all the data. This is due to how the YouTube API functions. For example, if a report is first started on April 1, data from April 1 onward will be available 24-48 hours later. Every day, a few more days prior to April 1 will be available. After around 30 days, 6 months of backfill data will have been added to the report (though it comes in a rather sporadic order). In this example, by April 30 the user should end up with 7 months of —data for April, plus the 6 prior months.Prerequisites
To connect to your YouTube Enterprise account and create a DataSet, you must have the following:- A Google Client ID.
- A Google Client Secret.
- A Google username and password.

Connecting to your YouTube Enterprise account
This section enumerates the options in the Credentials and Details panes in the YouTube Enterprise Connector page. The components of the other panes in this page, Scheduling and Name & Describe Your DataSet, are universal across most Connector types and are discussed in greater length in Adding a DataSet Using a Data Connector.Credentials pane
This pane contains fields for entering credentials to connect to your YouTube Enterprise account. For information about obtaining these credentials, see “Prerequisites,” above. The following table describes what is needed for each field:Field | Description |
|---|---|
Client ID | Enter your Google Client ID. |
Client Secret | Enter your Google Client Secret. |
Details pane
This pane contains two primary menus, API and Report, along with other menus which may appear depending on the selected API and report type.Menu | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
API | Select your YouTube Enterprise API type. Depending on the API you select, a different set of reports is available. You can choose from the following APIs:
| ||||||||||||||||||||||||||||||||||||||||
Report (Analytics API) | Select the desired Analytics API report.
| ||||||||||||||||||||||||||||||||||||||||
Report (Ad Performance) |
| ||||||||||||||||||||||||||||||||||||||||
Report (Content ID API) |
| ||||||||||||||||||||||||||||||||||||||||
Report (Content Owner) |
| ||||||||||||||||||||||||||||||||||||||||
Report (Data API) |
| ||||||||||||||||||||||||||||||||||||||||
Call on Behalf of Content Owner | Select Yes if you are planning to retrieve a report for another user (whose ID you will enter in the Content Owner ID field). Select No if you are the content owner for the report you plan to pull. | ||||||||||||||||||||||||||||||||||||||||
Content Owner ID | Enter the ID of the content owner you want to pull data for. If you do not know the ID, ask your partner manager. | ||||||||||||||||||||||||||||||||||||||||
User IDs | Enter comma-separated IDs for the users you want to retrieve data for. A user’s ID is located at the end of the URL for his YouTube channel. For example, in the URL https://www.youtube.com/user/google , “google” is the user ID. | ||||||||||||||||||||||||||||||||||||||||
Video ID | Enter the ID of the video you want to retrieve comments for. | ||||||||||||||||||||||||||||||||||||||||
Region | Select the country or region you want to pull data for. | ||||||||||||||||||||||||||||||||||||||||
Videos Published After (Days Ago) | Enter a number of past days to retrieve data for all videos published after that date. For example, if you entered 20, your report would contain information on all videos published within the last 20 days. If you leave this field blank, you will get a breakdown of all videos. | ||||||||||||||||||||||||||||||||||||||||
Videos Published Before (Days Ago) | Enter a number of past days to retrieve data for all videos published before that date. For example, if you entered 20 , your report would contain information on all videos published more than 20 days ago. If you leave this field blank, you will get a breakdown of all videos. | ||||||||||||||||||||||||||||||||||||||||
Playlist | Select the playlist you want to retrieve data for. | ||||||||||||||||||||||||||||||||||||||||
Legacy Reporting Mode | Advanced use only. This is to enable support with data sources made with an old version of the Connector. When set to True , the report includes columns that are no longer reported,or whose meanings have changed. For the Videos report, the “kind”, “id_kind”, and “id_videoId” columns are different or available. | ||||||||||||||||||||||||||||||||||||||||
Number of Days Ago | Enter the most recent past day for which you want to retrieve data. For example, you would enter 2 to get data for the day before yesterday. YouTube does not usually report data less than 2 days old. | ||||||||||||||||||||||||||||||||||||||||
Backfill Days | Enter the number of days prior to Number of Days Ago for which you want to retrieve data. For example, if you entered 7 for Number of Days Ago and 14 for Backfill Days , your report would contain data for all of the days in the week before last. | ||||||||||||||||||||||||||||||||||||||||
Prior Days | Enter the number of days prior to Number of Days Ago for which you want to retrieve data on the second and subsequent runs of the data source. | ||||||||||||||||||||||||||||||||||||||||
Dimension | Specify whether you want a daily or summarized report. | ||||||||||||||||||||||||||||||||||||||||
US State | Select the U.S. state you want to pull data for. | ||||||||||||||||||||||||||||||||||||||||
Traffic Filter | Select a traffic option to filter by. For example, if you selected Google Search , only information related to Google would appear in your report. |