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 啟動器 訂閱,因為不支援 資料移動閘道。若您有另一個訂閱層級且不想使用 資料移動閘道,選取無。 如需關於 資料移動閘道 福利的資訊以及需要此項的使用案例,請參閱 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 |