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.negativeKeywordLists
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Recurso: NegativeKeywordList
Es una lista de palabras clave negativas que se utilizan para la segmentación.
Representación JSON |
{
"name": string,
"negativeKeywordListId": string,
"displayName": string,
"advertiserId": string,
"targetedLineItemCount": string
} |
Campos |
name |
string
Solo salida. Es el nombre del recurso de la lista de palabras clave negativas.
|
negativeKeywordListId |
string (int64 format)
Solo salida. El ID único de la lista de palabras clave negativas. El sistema lo asigna.
|
displayName |
string
Obligatorio. Es el nombre visible de la lista de palabras clave negativas. Debe estar codificado en UTF-8 con un tamaño máximo de 255 bytes.
|
advertiserId |
string (int64 format)
Solo salida. El ID único del anunciante al que pertenece la lista de palabras clave negativas.
|
targetedLineItemCount |
string (int64 format)
Solo salida. Cantidad de líneas de pedido que se segmentan directamente para esta lista de palabras clave negativas.
|
Métodos |
|
Crea una nueva lista de palabras clave negativas. |
|
Borra una lista de palabras clave negativas si se proporciona un ID del anunciante y un ID de la lista de palabras clave negativas. |
|
Obtiene una lista de palabras clave negativas a partir de un ID del anunciante y un ID de lista de palabras clave negativas. |
|
Muestra las listas de palabras clave negativas según un ID de anunciante determinado. |
|
Actualiza una lista de palabras clave negativas. |
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)"],[],["The Display & Video 360 API v4 beta includes a `NegativeKeywordList` resource for targeting. This resource represents a list of negative keywords and contains fields like `name`, `negativeKeywordListId`, `displayName`, `advertiserId`, and `targetedLineItemCount`. Available actions include creating, deleting, getting, listing, and updating (`patch`) negative keyword lists. These methods require an advertiser ID and, in some cases, a negative keyword list ID to manage the lists.\n"],null,["# REST Resource: advertisers.negativeKeywordLists\n\n- [Resource: NegativeKeywordList](#NegativeKeywordList)\n - [JSON representation](#NegativeKeywordList.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: NegativeKeywordList\n-----------------------------\n\nA list of negative keywords used for targeting.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"negativeKeywordListId\": string, \"displayName\": string, \"advertiserId\": string, \"targetedLineItemCount\": string } ``` |\n\n| Fields ||\n|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name of the negative keyword list. |\n| `negativeKeywordListId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the negative keyword list. Assigned by the system. |\n| `displayName` | `string` Required. The display name of the negative keyword list. Must be UTF-8 encoded with a maximum size of 255 bytes. |\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the advertiser the negative keyword list belongs to. |\n| `targetedLineItemCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. Number of line items that are directly targeting this negative keyword list. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|\n| ### [create](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists/create) | Creates a new negative keyword list. |\n| ### [delete](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists/delete) | Deletes a negative keyword list given an advertiser ID and a negative keyword list ID. |\n| ### [get](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists/get) | Gets a negative keyword list given an advertiser ID and a negative keyword list ID. |\n| ### [list](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists/list) | Lists negative keyword lists based on a given advertiser id. |\n| ### [patch](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists/patch) | Updates a negative keyword list. |"]]