自
2025 年 9 月 8 日起,每个新订单项都需要声明是否会投放欧盟 (EU) 政治广告。Display & Video 360 API 和未提供声明的 SDF 上传操作将会失败。如需详细了解如何更新集成以进行此声明,请参阅我们的
弃用页面。
REST Resource: advertisers.channels
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:渠道
单个声道。渠道是由彼此相关的网站和应用构成的自定义群组。
JSON 表示法 |
{
"name": string,
"channelId": string,
"displayName": string,
"positivelyTargetedLineItemCount": string,
"negativelyTargetedLineItemCount": string,
// Union field owner can be only one of the following:
"partnerId": string,
"advertiserId": string
// End of list of possible types for union field owner .
} |
字段 |
name |
string
仅限输出。渠道的资源名称。
|
channelId |
string (int64 format)
仅限输出。频道的唯一 ID。由系统分配。
|
displayName |
string
必需。频道的显示名称。必须采用 UTF-8 编码,长度不得超过 240 个字节。
|
positivelyTargetedLineItemCount |
string (int64 format)
仅限输出。直接定位到此频道且定位条件为正的订单项数量。
|
negativelyTargetedLineItemCount |
string (int64 format)
仅限输出。直接定位到此渠道并采用排除性定位条件的订单项数量。
|
联合字段 owner 。用于标识频道的所有者 DV360 实体。它可以是合作伙伴,也可以是广告客户。owner 只能是下列其中一项: |
partnerId |
string (int64 format)
拥有相应频道的合作伙伴的 ID。
|
advertiserId |
string (int64 format)
频道所属广告客户的 ID。
|
方法 |
|
创建新渠道。 |
|
获取合作伙伴或广告客户的渠道。 |
|
列出合作伙伴或广告客户的渠道。 |
|
更新频道。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# REST Resource: advertisers.channels\n\n- [Resource: Channel](#Channel)\n - [JSON representation](#Channel.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Channel\n-----------------\n\nA single channel. Channels are custom groups of related websites and apps.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"channelId\": string, \"displayName\": string, \"positivelyTargetedLineItemCount\": string, \"negativelyTargetedLineItemCount\": string, // Union field `owner` can be only one of the following: \"partnerId\": string, \"advertiserId\": string // End of list of possible types for union field `owner`. } ``` |\n\n| Fields ||\n|-----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name of the channel. |\n| `channelId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the channel. Assigned by the system. |\n| `displayName` | `string` Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes. |\n| `positivelyTargetedLineItemCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. Number of line items that are directly targeting this channel positively. |\n| `negativelyTargetedLineItemCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. Number of line items that are directly targeting this channel negatively. |\n| Union field `owner`. Identifies the DV360 entity that owns the channel. It can be either a partner or an advertiser. `owner` can be only one of the following: ||\n| `partnerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the partner that owns the channel. |\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser that owns the channel. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------|---------------------------------------------|\n| ### [create](/display-video/api/reference/rest/v4/advertisers.channels/create) | Creates a new channel. |\n| ### [get](/display-video/api/reference/rest/v4/advertisers.channels/get) | Gets a channel for a partner or advertiser. |\n| ### [list](/display-video/api/reference/rest/v4/advertisers.channels/list) | Lists channels for a partner or advertiser. |\n| ### [patch](/display-video/api/reference/rest/v4/advertisers.channels/patch) | Updates a channel. |"]]