A partire dall'8 settembre 2025, ogni nuovo elemento pubblicitario dovrà dichiarare se pubblicherà o meno annunci politici dell'Unione Europea (UE). I caricamenti di API Display & Video 360 e SDF che non forniscono dichiarazioni non andranno a buon fine. Consulta la nostra pagina dei ritiri per ulteriori dettagli su come aggiornare l'integrazione per effettuare questa dichiarazione.
Una parola chiave scelta come target per escluderla che appartiene a un elenco di parole chiave escluse.
Rappresentazione JSON
{"name": string,"keywordValue": string}
Campi
name
string
Solo output. Il nome della risorsa della parola chiave esclusa.
keywordValue
string
Obbligatorio. Immutabile. La parola chiave scelta come target escluso, ad esempio car insurance.
Deve essere codificato in UTF-8 con una dimensione massima di 255 byte. Il numero massimo di caratteri è 80. Il numero massimo di parole è 10.
I caratteri validi sono limitati ai caratteri ASCII. L'unico carattere di escape URL consentito è per rappresentare gli spazi tra le parole. Gli spazi iniziali o finali vengono ignorati.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003eA \u003ccode\u003eNegativeKeyword\u003c/code\u003e resource represents a negatively targeted keyword within a negative keyword list, preventing ads from showing on searches containing that keyword.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNegativeKeyword\u003c/code\u003e resources have two main fields: \u003ccode\u003ename\u003c/code\u003e (resource name) and \u003ccode\u003ekeywordValue\u003c/code\u003e (the actual keyword, with restrictions on length, encoding, and characters).\u003c/p\u003e\n"],["\u003cp\u003eDisplay & Video 360 API provides methods to manage \u003ccode\u003eNegativeKeyword\u003c/code\u003e resources, including creating, deleting, listing, bulk editing, and replacing them within negative keyword lists.\u003c/p\u003e\n"]]],["Negative keywords are used for negative targeting within a list. They are represented in JSON with a `name` and a required `keywordValue` string. `keywordValue` must be UTF-8 encoded, under 255 bytes, 80 characters, and 10 words, using only ASCII characters. Actions include creating, deleting, and listing individual negative keywords. Bulk editing and replacing all keywords in a list are also possible. The `name` field is output-only, while `keywordValue` is immutable.\n"],null,["# REST Resource: advertisers.negativeKeywordLists.negativeKeywords\n\n| Display \\& Video 360 API is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\n- [Resource: NegativeKeyword](#NegativeKeyword)\n - [JSON representation](#NegativeKeyword.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: NegativeKeyword\n-------------------------\n\nA negatively targeted keyword that belongs to a negative keyword list.\n\n| JSON representation |\n|----------------------------------------------------|\n| ``` { \"name\": string, \"keywordValue\": string } ``` |\n\n| Fields ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name of the negative keyword. |\n| `keywordValue` | `string` Required. Immutable. The negatively targeted keyword, for example `car insurance`. Must be UTF-8 encoded with a maximum size of 255 bytes. Maximum number of characters is 80. Maximum number of words is 10. Valid characters are restricted to ASCII characters only. The only URL-escaping permitted is for representing whitespace between words. Leading or trailing whitespace is ignored. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------|\n| ### [bulkEdit](/display-video/api/reference/rest/v3/advertisers.negativeKeywordLists.negativeKeywords/bulkEdit) | Bulk edits negative keywords in a single negative keyword list. |\n| ### [create](/display-video/api/reference/rest/v3/advertisers.negativeKeywordLists.negativeKeywords/create) | Creates a negative keyword in a negative keyword list. |\n| ### [delete](/display-video/api/reference/rest/v3/advertisers.negativeKeywordLists.negativeKeywords/delete) | Deletes a negative keyword from a negative keyword list. |\n| ### [list](/display-video/api/reference/rest/v3/advertisers.negativeKeywordLists.negativeKeywords/list) | Lists negative keywords in a negative keyword list. |\n| ### [replace](/display-video/api/reference/rest/v3/advertisers.negativeKeywordLists.negativeKeywords/replace) | Replaces all negative keywords in a single negative keyword list. |"]]