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
For more information, see Connecting to SaaS applications.
- Fill in the required connection properties.
Provide a name for the connection in Connection name.
Select Open connection metadata to define metadata for the connection when it has been created.
Click Create.
| Setting | Description |
|---|---|
| Data gateway | Select a Data Movement gateway if required by your use case. Information note This field is not available with the Qlik Talend Cloud Starter subscription, as it does not support Data Movement gateway. If you have another subscription tier and do not want to use Data Movement gateway, select None. For information on the benefits of Data Movement gateway and use cases that require it, see Qlik Data Gateway - Data Movement. |
| 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 |