Od
8 września 2025 r. każdy nowy element zamówienia będzie musiał deklarować, czy będzie wyświetlać reklamy polityczne w Unii Europejskiej (UE). Przesyłanie plików SDF i wywoływanie interfejsu Display & Video 360 API bez deklaracji zakończy się niepowodzeniem. Więcej informacji o tym, jak zaktualizować integrację, aby złożyć to oświadczenie, znajdziesz na naszej
stronie dotyczącej wycofania.
REST Resource: advertisers.negativeKeywordLists
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób: NegativeKeywordList
Lista wykluczających słów kluczowych używanych do kierowania.
Zapis JSON |
{
"name": string,
"negativeKeywordListId": string,
"displayName": string,
"advertiserId": string,
"targetedLineItemCount": string
} |
Pola |
name |
string
Tylko dane wyjściowe. Nazwa zasobu listy wykluczających słów kluczowych.
|
negativeKeywordListId |
string (int64 format)
Tylko dane wyjściowe. Unikalny identyfikator listy wykluczających słów kluczowych. Przypisany przez system.
|
displayName |
string
Wymagane. Wyświetlana nazwa listy wykluczających słów kluczowych. Musi być zakodowany w formacie UTF-8 i mieć maksymalny rozmiar 255 bajtów.
|
advertiserId |
string (int64 format)
Tylko dane wyjściowe. Unikalny identyfikator reklamodawcy, do którego należy lista wykluczających słów kluczowych.
|
targetedLineItemCount |
string (int64 format)
Tylko dane wyjściowe. Liczba elementów zamówienia, które są bezpośrednio kierowane na tę listę wykluczających słów kluczowych.
|
Metody |
|
Tworzy nową listę wykluczających słów kluczowych. |
|
Usuwa listę wykluczających słów kluczowych podany na podstawie identyfikatora reklamodawcy i identyfikatora listy wykluczających słów kluczowych. |
|
Pobiera listę wykluczających słów kluczowych na podstawie identyfikatora reklamodawcy i identyfikatora listy wykluczających słów kluczowych. |
|
Wyświetla listy wykluczających słów kluczowych na podstawie danego identyfikatora reklamodawcy. |
|
Aktualizuje listę wykluczających słów kluczowych. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]