REST Resource: properties.adSenseLinks
资源:AdSenseLink
Google Analytics 媒体资源与 AdSense 内容广告客户之间的关联。
JSON 表示法 |
{
"name": string,
"adClientCode": string
} |
字段 |
name |
string
仅限输出。此 AdSense 关联资源的资源名称。格式:properties/{propertyId}/adSenseLinks/{linkId} 示例:properties/1234/adSenseLinks/6789
|
adClientCode |
string
不可变。Google Analytics 媒体资源关联的 AdSense 广告客户代码。示例格式:“ca-pub-1234567890”
|
方法 |
|
创建 AdSenseLink。 |
|
删除 AdSenseLink。 |
|
查询单个 AdSenseLink。 |
|
列出媒体资源的 AdSenseLinks。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-14。
[null,null,["最后更新时间 (UTC):2025-01-14。"],[[["AdSenseLink establishes a connection between a Google Analytics 4 (GA4) property and an AdSense for Content ad client."],["This connection is represented in JSON format and includes crucial fields like `name` (a unique identifier) and `adClientCode` (the AdSense ad client code)."],["You can manage these connections through various methods, including creating, deleting, retrieving, and listing AdSenseLinks associated with a GA4 property."]]],["AdSenseLink establishes a connection between a Google Analytics property and an AdSense ad client. Its JSON representation includes a resource `name` and an `adClientCode`. Key actions include creating, deleting, retrieving (get), and listing AdSenseLinks. The `name` field is read-only and uses the format `properties/{propertyId}/adSenseLinks/{linkId}`, while `adClientCode` is immutable and in the format \"ca-pub-1234567890\".\n"]]