Youtube Analytics

Version 25.3.9396


Youtube Analytics


You can use the Youtube Analytics connector from the CData Sync application to capture data from Youtube Analytics and move it to any supported destination. To do so, you need to add the connector, authenticate to the connector, and complete your connection.

Add the Youtube Analytics Connector

To enable Sync to use data from Youtube Analytics, you first must add the connector, as follows:

  1. Open the Connections page of the Sync dashboard.

  2. Click Add Connection to open the Select Connectors page.

  3. Click the Sources tab and locate the Youtube Analytics row.

  4. Click the Configure Connection icon at the end of that row to open the New Connection page. If the Configure Connection icon is not available, click the Download Connector icon to install the Youtube Analytics connector. For more information about installing new connectors, see Connections.

Authenticate to Youtube Analytics

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

On the New Connection page, enter the connection name of your choice.

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

CData Sync provides an embedded OAuth application with which to connect. To use the application, select OAuth for Auth Scheme. No additional properties are required.

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.

  • OAuth JWT Cert Password (optional) – Enter the password for your OAuth JWT certificate.

  • OAuth JWT Cert Subject (optional) – Enter the subject of your OAuth JWT certificate.

GCP Instance Account

When you run CData Sync on a GCP virtual machine, Sync can authenticate by using the service account that is tied to the virtual machine. Select GCPInstanceAccount for Auth Scheme to use that account. No additional properties are required.

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.

Complete Your Connection

To complete your connection:

  1. Specify the following properties:

    • Channel Id (optional) - 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.

    • Content Owner Id (optional) - 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.

More Information

For more information about interactions between CData Sync and Youtube Analytics, see Youtube Analytics Connector for CData Sync.