A partir de
8 de setembro de 2025, todos os novos itens de linha precisarão declarar se vão veicular anúncios políticos da União Europeia (UE). As APIs do Display & Video 360 e os uploads de SDF que não fornecem declarações vão falhar. Consulte nossa
página de suspensões de uso para mais detalhes sobre como atualizar sua integração e fazer essa declaração.
REST Resource: advertisers.negativeKeywordLists
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Recurso: NegativeKeywordList
Uma lista de palavras-chave negativas usadas para segmentação.
Representação JSON |
{
"name": string,
"negativeKeywordListId": string,
"displayName": string,
"advertiserId": string,
"targetedLineItemCount": string
} |
Campos |
name |
string
Apenas saída. O nome do recurso da lista de palavras-chave negativas.
|
negativeKeywordListId |
string (int64 format)
Apenas saída. O ID exclusivo da lista de palavras-chave negativas. Atribuído pelo sistema.
|
displayName |
string
Obrigatório. O nome de exibição da lista de palavras-chave negativas. Precisa ser codificado em UTF-8 com um tamanho máximo de 255 bytes.
|
advertiserId |
string (int64 format)
Apenas saída. O ID exclusivo do anunciante a que a lista de palavras-chave negativas pertence.
|
targetedLineItemCount |
string (int64 format)
Apenas saída. Número de itens de linha que segmentam diretamente essa lista de palavras-chave negativas.
|
Métodos |
|
Cria uma nova lista de palavras-chave negativas. |
|
Exclui uma lista de palavras-chave negativas com base em um ID do anunciante e um ID da lista de palavras-chave negativas. |
|
Retorna uma lista de palavras-chave negativas com base em um ID de anunciante e um ID de lista de palavras-chave negativas. |
|
Lista as listas de palavras-chave negativas com base em um determinado ID do anunciante. |
|
Atualiza uma lista de palavras-chave negativas. |
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-25 UTC.
[null,null,["Última atualização 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. |"]]