A partir del
8 de septiembre de 2025, cada elemento de la línea nuevo deberá declarar si publicará anuncios políticos de la Unión Europea (UE). Las cargas de la API de Display & Video 360 y del SDF que no proporcionen declaraciones fallarán. Consulta nuestra
página de bajas para obtener más detalles sobre cómo actualizar tu integración y realizar esta declaración.
REST Resource: advertisers.channels
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Recurso: Canal
Un solo canal. Los canales son grupos personalizados de sitios web y aplicaciones relacionados.
Representación 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 .
} |
Campos |
name |
string
Solo salida. Es el nombre del recurso del canal.
|
channelId |
string (int64 format)
Solo salida. El ID único del canal. El sistema lo asigna.
|
displayName |
string
Obligatorio. Es el nombre visible del canal. Debe estar codificado en UTF-8 con una longitud máxima de 240 bytes.
|
positivelyTargetedLineItemCount |
string (int64 format)
Solo salida. Es la cantidad de líneas de pedido que se segmentan directamente para este canal de forma positiva.
|
negativelyTargetedLineItemCount |
string (int64 format)
Solo salida. Cantidad de líneas de pedido que segmentan directamente este canal de forma negativa.
|
Campo de unión owner . Identifica la entidad de DV360 a la que pertenece el canal. Puede ser un socio o un anunciante. Las direcciones (owner ) solo pueden ser una de las siguientes opciones: |
partnerId |
string (int64 format)
Es el ID del socio propietario del canal.
|
advertiserId |
string (int64 format)
El ID del anunciante propietario del canal.
|
Métodos |
|
Crea un canal nuevo. |
|
Obtiene un canal para un socio o anunciante. |
|
Muestra una lista de canales de un socio o anunciante. |
|
Actualiza un canal. |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-25 (UTC)
[null,null,["Última actualización: 2025-07-25 (UTC)"],[],[],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. |"]]