Youtube Analytics
Youtube Analytics is the analytics service by Youtube to better understand your video and channel performance with key metrics.
Youtube Analytics integration replicates data using the Youtube Reporting API and Youtube Data API.
See the Schema section for a list of objects available for replication.Preparing for authentication
To access your data, you need to authenticate the connection with your account credentials.
To retrieve your client ID and client secret:
- Log into Google Cloud Console.
- Go to APIs & Services > OAuth Consent Screens > Get Started.
- In the Audience field, select External.
- Go to APIs & Services > Credentials.
- Click Create Credentials > OAuth client ID.
- In the Application type field, select Web application.
- In the Name field, type a name for the credentials.
- Click Create.
- Copy and paste your client ID and client secret into a secured file.
Creating the connection
有关更多信息,请参阅连接到 SaaS 应用程序。
- 填写所需的连接属性。
在连接名称中提供连接的名称。
选择打开连接元数据以定义创建连接时的元数据。
单击创建。
| Setting | Description |
|---|---|
| Data gateway | 如果您的用例需要,请选择一个 数据移动网关。 信息注释 此字段不适用于 Qlik Talend Cloud Starter 订阅,因为它不支持 数据移动网关。如果您有另一个订阅层并且不想使用 数据移动网关,请选择无。 有关 数据移动网关 的优势和需要它的用例的信息,请参阅Qlik 数据网关 - 数据移动。 |
| Start Date | Enter the date, in the format MM/DD/YYYY, from which the data must be replicated from your source to your target. |
| Channel IDs | Youtube channel ID. |
| Client ID | Client ID. |
| Client Secret | Client secret. |
Schema
Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.
The schema and info displayed below is for version 2.
Depending on your destination, table and column names may not appear as they are outlined below.
channels
The channels table contains info about the channels in your Youtube Analytics account.
Replication Method | Full Table |
Primary Key | id |
| Useful links |
playlists
The playlists table contains info about the playlists in your Youtube Analytics account.
Replication Method | Full Table |
Primary Key | id |
| Useful links |
playlist_items
The playlist_items table contains info about the playlist items in your Youtube Analytics account.
Replication Method | CDC |
Primary Key | id |
Replication Keys | published_at |
| Useful links |
videos
The videos table contains info about the videos in your Youtube Analytics account.
Replication Method | CDC |
Primary Key | id |
Replication Keys | published_at |
| Useful links |
YouTube Reporting Streams
The YouTube Reporting Streams table contains info about the reporting streams in your Youtube Analytics account.
Replication Method | CDC |
Primary Keys | dimensions_hash_key date |
Replication Keys | create_time |
| Useful links |