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.
Son las palabras clave negativas que reemplazarán las palabras clave existentes en la lista de palabras clave negativas, especificada como una lista de NegativeKeywords.
Cuerpo de la respuesta
Si se ejecuta correctamente, el cuerpo de la respuesta contendrá datos con la siguiente estructura:
Mensaje de respuesta para sensitiveKeywordService.ReplaceReplaceKeywords.
[null,null,["Última actualización: 2025-07-25 (UTC)"],[[["\u003cp\u003eThis documentation details the process for replacing all negative keywords within a specific negative keyword list using the Display & Video 360 API.\u003c/p\u003e\n"],["\u003cp\u003eThe API request involves specifying the advertiser and negative keyword list IDs, along with a list of new negative keywords to replace the existing ones.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful execution, the API returns the updated, full list of negative keywords present in the specified negative keyword list.\u003c/p\u003e\n"],["\u003cp\u003eThe request needs to be authorized with the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"],["\u003cp\u003eDisplay & Video 360 API v1 has been sunset.\u003c/p\u003e\n"]]],["This document details the process for replacing negative keywords in a Display & Video 360 advertiser's negative keyword list using the API. The `POST` request is sent to the specified URL including the `advertiserId` and `negativeKeywordListId`. The request body must include a JSON with `newNegativeKeywords`, a list of keywords that will replace the existing ones. The API responds with a list of `negativeKeywords` now present in the negative keyword list. OAuth scope is required.\n"],null,["# Method: advertisers.negativeKeywordLists.negativeKeywords.replace\n\n| Display \\& Video 360 API v1 has been sunset.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ReplaceNegativeKeywordsResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nReplaces all negative keywords in a single negative keyword list.\n\nThe operation will replace the keywords in a negative keyword list with keywords provided in [ReplaceNegativeKeywordsRequest.new_negative_keywords](/display-video/api/reference/rest/v1/advertisers.negativeKeywordLists.negativeKeywords/replace#body.request_body.FIELDS.new_negative_keywords).\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListId}/negativeKeywords:replace`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. |\n| `negativeKeywordListId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the parent negative keyword list to which the negative keywords belong. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"newNegativeKeywords\": [ { object (/display-video/api/reference/rest/v1/advertisers.negativeKeywordLists.negativeKeywords#NegativeKeyword) } ] } ``` |\n\n| Fields ||\n|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `newNegativeKeywords[]` | `object (`[NegativeKeyword](/display-video/api/reference/rest/v1/advertisers.negativeKeywordLists.negativeKeywords#NegativeKeyword)`)` The negative keywords that will replace the existing keywords in the negative keyword list, specified as a list of [NegativeKeywords](/display-video/api/reference/rest/v1/advertisers.negativeKeywordLists.negativeKeywords#NegativeKeyword). |\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nResponse message for NegativeKeywordService.ReplaceNegativeKeywords.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"negativeKeywords\": [ { object (/display-video/api/reference/rest/v1/advertisers.negativeKeywordLists.negativeKeywords#NegativeKeyword) } ] } ``` |\n\n| Fields ||\n|----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `negativeKeywords[]` | `object (`[NegativeKeyword](/display-video/api/reference/rest/v1/advertisers.negativeKeywordLists.negativeKeywords#NegativeKeyword)`)` The full list of negative keywords now present in the negative keyword list. |\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]