À partir du 8 septembre 2025, chaque nouvelle ligne devra indiquer si elle diffusera ou non des annonces à caractère politique dans l'Union européenne (UE). Les importations de fichiers SDF et les appels à l'API Display & Video 360 qui ne fournissent pas de déclarations échoueront. Pour savoir comment mettre à jour votre intégration afin d'effectuer cette déclaration, consultez notre page sur les abandons de compatibilité.
Un seul canal. Les catégories sont des groupes personnalisés d'applications et de sites Web connexes.
Représentation 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.}
Champs
name
string
Uniquement en sortie. Nom de la ressource du canal.
Uniquement en sortie. Nombre d'éléments de campagne qui ciblent directement cette chaîne de manière négative.
Champ d'union owner. Identifie l'entité DV360 propriétaire de la chaîne. Il peut s'agir d'un partenaire ou d'un annonceur. owner ne peut être qu'un des éléments suivants :
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 2025/07/25 (UTC)."],[[["\u003cp\u003eChannels are custom groupings of related websites and apps, allowing for targeted advertising.\u003c/p\u003e\n"],["\u003cp\u003eEach channel has a unique ID, display name, and is owned by either a partner or an advertiser.\u003c/p\u003e\n"],["\u003cp\u003eChannels can be positively or negatively targeted by line items, impacting ad delivery.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage channels through methods like creating, retrieving, listing, and updating them via the API.\u003c/p\u003e\n"]]],["Channels are custom groups of websites and apps, uniquely identified by a system-assigned `channelId`. Key properties include a `displayName` (max 240 bytes), and counts of positively and negatively targeted line items. Ownership is designated by either a `partnerId` or `advertiserId`. Actions include creating, retrieving (get), listing, and updating (patch) channels. Each channel also has an associated `name` used to define the channel's resource.\n"],null,["# REST Resource: advertisers.channels\n\n| Display \\& Video 360 API is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\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/v3/advertisers.channels/create) | Creates a new channel. |\n| ### [get](/display-video/api/reference/rest/v3/advertisers.channels/get) | Gets a channel for a partner or advertiser. |\n| ### [list](/display-video/api/reference/rest/v3/advertisers.channels/list) | Lists channels for a partner or advertiser. |\n| ### [patch](/display-video/api/reference/rest/v3/advertisers.channels/patch) | Updates a channel. |"]]