Ab dem
8. September 2025 muss für jede neue Werbebuchung angegeben werden, ob Werbung mit politischen Inhalten in der Europäischen Union (EU) ausgeliefert wird. Display & Video 360 API- und SDF-Uploads ohne entsprechende Erklärungen schlagen fehl. Weitere Informationen dazu, wie Sie Ihre Integration aktualisieren, um diese Erklärung abzugeben,
finden Sie auf unserer Seite zur Einstellung.
Method: advertisers.negativeKeywordLists.negativeKeywords.bulkEdit
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
HTTP-Anfrage
POST https://displayvideo.googleapis.com/v4/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListId}/negativeKeywords:bulkEdit
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
advertiserId |
string (int64 format)
Erforderlich. Die ID des DV360-Werbetreibenden, zu dem die übergeordnete Liste mit auszuschließenden Keywords gehört.
|
negativeKeywordListId |
string (int64 format)
Erforderlich. Die ID der übergeordneten Liste mit auszuschließenden Keywords, zu der die auszuschließenden Keywords gehören.
|
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung |
{
"deletedNegativeKeywords": [
string
],
"createdNegativeKeywords": [
{
object (NegativeKeyword )
}
]
} |
Felder |
deletedNegativeKeywords[] |
string
Die auszuschließenden Keywords, die im Batch gelöscht werden sollen, als Liste von keyword_values angegeben.
|
createdNegativeKeywords[] |
object (NegativeKeyword )
Die auszuschließenden Keywords, die im Batch erstellt werden sollen, als Liste von NegativeKeywords angegeben.
|
Antworttext
Antwortnachricht für NegativeKeywordService.BulkEditNegativeKeywords.
Bei Erfolg enthält der Antworttext Daten mit der folgenden Struktur:
Felder |
negativeKeywords[] |
object (NegativeKeyword )
Die Liste der erfolgreich erstellten auszuschließenden Keywords. Wenn die Liste leer ist, ist sie nicht vorhanden.
|
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/display-video
Weitere Informationen finden Sie unter OAuth 2.0 Overview.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[],[],null,["# Method: advertisers.negativeKeywordLists.negativeKeywords.bulkEdit\n\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.BulkEditNegativeKeywordsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nBulk edits negative keywords in a single negative keyword list.\n\nThe operation will delete the negative keywords provided in [BulkEditNegativeKeywordsRequest.deleted_negative_keywords](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists.negativeKeywords/bulkEdit#body.request_body.FIELDS.deleted_negative_keywords) and then create the negative keywords provided in [BulkEditNegativeKeywordsRequest.created_negative_keywords](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists.negativeKeywords/bulkEdit#body.request_body.FIELDS.created_negative_keywords).\n\nThis operation is guaranteed to be atomic and will never result in a partial success or partial failure.\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v4/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListId}/negativeKeywords:bulkEdit`\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| ``` { \"deletedNegativeKeywords\": [ string ], \"createdNegativeKeywords\": [ { object (/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists.negativeKeywords#NegativeKeyword) } ] } ``` |\n\n| Fields ||\n|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `deletedNegativeKeywords[]` | `string` The negative keywords to delete in batch, specified as a list of [keyword_values](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists.negativeKeywords#NegativeKeyword.FIELDS.keyword_value). |\n| `createdNegativeKeywords[]` | `object (`[NegativeKeyword](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists.negativeKeywords#NegativeKeyword)`)` The negative keywords to create in batch, specified as a list of [NegativeKeywords](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists.negativeKeywords#NegativeKeyword). |\n\n### Response body\n\nResponse message for NegativeKeywordService.BulkEditNegativeKeywords.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"negativeKeywords\": [ { object (/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists.negativeKeywords#NegativeKeyword) } ] } ``` |\n\n| Fields ||\n|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `negativeKeywords[]` | `object (`[NegativeKeyword](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists.negativeKeywords#NegativeKeyword)`)` The list of negative keywords that have been successfully created. This list will be absent if empty. |\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](/identity/protocols/OAuth2)."]]