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 | ユース ケースに応じて Data Movement gateway を選択します。 情報メモ Qlik Talend Cloud スターター サブスクリプションでは Data Movement gateway をサポートしていないため、この項目は使用できません。別のサブスクリプション ティアを利用しており、Data Movement gateway を使用しない場合は、 [None] (なし) を選択します。 Data Movement gateway の利点とそれを必要とするユース ケースの詳細については、「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 |