跳转至

YouTube Analytics(YouTube 分析)

The YouTube Analytics connector is a Palantir-provided driver for YouTube Analytics.

To create a new YouTube Analytics source, follow the standard setup flow for Palantir-provided drivers, then use the sections below for YouTube Analytics-specific configuration and networking. For the complete property reference, see the official YouTube Analytics driver documentation ↗.

Configuration

The properties below are mandatory or recommended.

Property Required? Description Default
AuthScheme Recommended The type of authentication to use when connecting to YouTube Analytics. OAuthJWT
ChannelId Recommended The Id of a channel belonging to the authenticated user.
ContentOwnerId Recommended The Id of the copyright holder for content in YouTube's rights management system.
InitiateOAuth Recommended Specifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working. GETANDREFRESH
OAuthClientId Recommended Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
OAuthClientSecret Recommended Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.)
OAuthJWTCert Recommended Supplies the name of the client certificate's JWT Certificate store.
OAuthJWTCertType Recommended Identifies the type of key store containing the JWT Certificate. GOOGLEJSONBLOB

Networking

The table below lists the domains that the source needs to be able to access in order to successfully run.

For each domain, add a corresponding egress policy. If the source is hosted on-premises and not directly reachable from Foundry, use an agent proxy egress policy instead; the agent host itself must also be able to reach the listed domains. See using an agent as a proxy for details.

Domain Required
accounts.google.com Always. Required for OAuth
googleapis.com Always
developers.google.com Always
youtubeanalytics.googleapis.com Always

中文翻译

YouTube 分析

YouTube 分析连接器是 Palantir 提供的用于 YouTube 分析的数据源驱动(Palantir-provided driver)。

要创建新的 YouTube 分析数据源,请遵循 Palantir 提供驱动的标准设置流程,然后使用以下各节进行 YouTube 分析特有的配置和网络设置。有关完整的属性参考,请参阅 YouTube 分析驱动官方文档 ↗

配置

以下属性为必填或推荐配置。

属性 是否必填 描述 默认值
AuthScheme 推荐 连接到 YouTube 分析时使用的认证类型。 OAuthJWT
ChannelId 推荐 已认证用户所属频道的 ID。
ContentOwnerId 推荐 YouTube 版权管理系统中内容版权持有者的 ID。
InitiateOAuth 推荐 指定获取或刷新 OAuth 访问令牌的流程,该令牌用于在已认证授权用户工作时维持其访问权限。 GETANDREFRESH
OAuthClientId 推荐 指定分配给自定义 OAuth 应用的客户端 ID(也称为消费者密钥)。此 ID 用于在认证过程中向 OAuth 授权服务器标识应用身份。
OAuthClientSecret 推荐 指定分配给自定义 OAuth 应用的客户端密钥。此机密值用于向 OAuth 授权服务器验证应用身份。(仅限自定义 OAuth 应用。)
OAuthJWTCert 推荐 提供客户端证书的 JWT 证书存储名称。
OAuthJWTCertType 推荐 标识包含 JWT 证书的密钥存储类型。 GOOGLEJSONBLOB

网络配置

下表列出了数据源成功运行所需访问的域名。

对于每个域名,请添加相应的出站策略(egress policy)。如果数据源部署在本地且无法从 Foundry 直接访问,请改用代理出站策略(agent proxy egress policy);代理主机本身也必须能够访问所列域名。详情请参阅使用代理作为代理服务器

域名 是否必需
accounts.google.com 始终必需。OAuth 认证所需
googleapis.com 始终必需
developers.google.com 始终必需
youtubeanalytics.googleapis.com 始终必需