> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sync.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Youtube Analytics

CData Sync アプリケーションからYoutube Analytics コネクタを使用して、Youtube Analytics からデータを取得してサポートされている任意の同期先に移動できます。これを行うには、コネクタを追加し、コネクタへの認証を行い、接続を完了する必要があります。

## Youtube Analytics コネクタを追加

Sync でYoutube Analytics のデータを使用できるようにするには、まず以下の手順でコネクタを追加する必要があります：

<ol>
  <li>Sync のダッシュボードから**接続**ページを開きます。</li>
  <li>**接続を追加**をクリックして**コネクタを選択**ページを開きます。</li>
  <li>**データソース**タブをクリックして
  **Youtube Analytics** 行に移動します。</li>

  <li>
    行末にある**接続を設定**アイコンをクリックして、**新しい接続**ページを開きます。この操作により、
    **接続を追加**ダイアログボックスが開きます。

    **Note：** **接続を設定**アイコンが表示されない場合は、**コネクタをダウンロード**アイコンをクリックして Youtube Analytics コネクタをインストールしてください。
  </li>

  <li>**接続を追加**ダイアログボックスに接続名を入力します。</li>
  <li>**追加**をクリックして、コネクタの**設定**タブを開きます。</li>
</ol>

新しいコネクタのインストールについての詳細は、
[接続](https://docs.sync.cdata.com/26.4/ja/connections/connections.md)を参照してください。

## Youtube Analytics への認証

After you add the connector, you need to set the required properties.

CData Sync supports authenticating to Youtube Analytics in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.

* [**OAuth**](#oauth) (default)
* [**OAuthJWT**](#oauth-jwt)
* [**GCPInstanceAccount**](#gcp-instance-account)
* [**AWSWorkloadIdentity**](#aws-workload-identity)

### OAuth

CData Sync は、接続するための組み込みOAuth アプリケーションを提供します。アプリケーションを使用するには、**Auth Scheme** で**OAuth** を選択します。追加のプロパティは必要ありません。

### OAuth JWT

To connect with a Youtube Analytics account, set the following properties:

* **Auth Scheme:** Select **OAuthJWT**.
* **OAuth JWT Cert:** Enter your Java web tokens (JWT) certificate store.
* **OAuth JWT Cert Type:** Enter the type of key store that contains your JWT Certificate. The default type is **PEMKEY\_BLOB**.
* (Optional) **OAuth JWT Cert Password:** Enter the password for your OAuth JWT certificate.
* (Optional) **OAuth JWT Cert Subject:** Enter the subject of your OAuth JWT certificate.

### GCP Instance Account

GCP 仮想マシンでCData Sync を実行すると、Sync は仮想マシンに紐づけられたサービスアカウントを使用して認証できます。そのアカウントを使用するには、**Auth Scheme** で**GCPInstanceAccount** を選択します。追加のプロパティは必要ありません。

### AWS Workload Identity

To connect by using Workload Identity Federation via AWS, specify the following properties:

* **Auth Scheme:** Select **AWSWorkloadIdentity**.
* **AWS Workload Identity Config:** Enter the configuration properties to provide when you are using Workload Identity Federation via AWS.
* **Workload Pool Id:** Enter the identifier (Id) of your Workload Identity Federation pool.
* **Workload Project Id:** Enter the Id of the Google Cloud project that hosts your Workload Identity Federation pool.
* **Workload Provider Id:** Enter the Id of your Workload Identity Federation pool provider.

## 接続を完了する

To complete your connection:

1. Specify the following properties:
   * (Optional) **Channel Id:** Enter the identifier (Id) that YouTube uses to uniquely identify the channel that is associated with the activity. If you do not specify a channel, data is returned for the authenticated user's channel.
   * (Optional) **Content Owner Id:** Enter the Id of the copyright holder for content in YouTube's rights management system. Specify this identifier if you want to generate content-owner reports.
2. Define advanced connection settings on the **Advanced** tab. (In most cases, though, you should not need these settings.)
3. If you authenticate with OAuth, click **Connect to Youtube Analytics** to connect to your Youtube Analytics account.
4. Click **Create & Test** to create your connection.

## 詳細について


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.