Skip to main content

YouTube Analytics

This connector captures data from YouTube Analytics into Flow collections.

It is available for use in the Flow web application. For local development or open-source workflows, ghcr.io/estuary/source-youtube-analytics:dev provides the latest version of the connector as a Docker image. You can also follow the link in your browser to see past image versions.

This connector is based on an open-source connector from a third party, with modifications for performance in the Flow system.

You can find their documentation here, but keep in mind that the two versions may be significantly different.

Supported data resources

The following data resources are supported through the YouTube Analytics APIs:

By default, each resource is mapped to a Flow collection through a separate binding.

Configuration

You configure connectors either in the Flow web app, or by directly editing the catalog specification file. See connectors to learn more about using connectors. The values and specification sample below provide configuration details specific to the YouTube Analytics source connector.

Properties

Endpoint

PropertyTitleDescriptionTypeRequired/Default
/client_idClient IDYour Client IDstringRequired
/client_secretSecret KeyYour Client SecretstringRequired
/refresh_tokenRefresh TokenYour Refresh TokenstringRequired

Bindings

PropertyTitleDescriptionTypeRequired/Default
/streamStreamResource of your YouTube Analytics project from which collections are captured.stringRequired
/syncModeSync ModeConnection method.stringRequired

Sample


captures:
${PREFIX}/${CAPTURE_NAME}:
endpoint:
connector:
image: ghcr.io/estuary/source-youtube-analytics:dev
config:
credentials:
auth_type: OAuth
bindings:
- resource:
stream: channel_annotations_a1
syncMode: incremental
target: ${PREFIX}/channel_annotations_a1
{...}