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 |