Starting
September 8, 2025, every new line item will need to declare whether or not they will serve Eurpoean Union (EU) political ads. Display & Video 360 API and SDF uploads that don't provide declarations will fail. See our
deprecations page for more details on how to update your integration to make this declaration.
REST Resource: advertisers.negativeKeywordLists.negativeKeywords
Stay organized with collections
Save and categorize content based on your preferences.
Resource: NegativeKeyword
A negatively targeted keyword that belongs to a negative keyword list.
JSON representation |
{
"name": string,
"keywordValue": string
} |
Fields |
name |
string
Output only. The resource name of the negative keyword.
|
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.
|
Methods |
|
Bulk edits negative keywords in a single negative keyword list. |
|
Creates a negative keyword in a negative keyword list. |
|
Deletes a negative keyword from a negative keyword list. |
|
Lists negative keywords in a negative keyword list. |
|
Replaces all negative keywords in a single negative keyword list. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-27 UTC.
[null,null,["Last updated 2025-03-27 UTC."],[],[],null,["# REST Resource: advertisers.negativeKeywordLists.negativeKeywords\n\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/v4/advertisers.negativeKeywordLists.negativeKeywords/bulkEdit) | Bulk edits negative keywords in a single negative keyword list. |\n| ### [create](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists.negativeKeywords/create) | Creates a negative keyword in a negative keyword list. |\n| ### [delete](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists.negativeKeywords/delete) | Deletes a negative keyword from a negative keyword list. |\n| ### [list](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists.negativeKeywords/list) | Lists negative keywords in a negative keyword list. |\n| ### [replace](/display-video/api/reference/rest/v4/advertisers.negativeKeywordLists.negativeKeywords/replace) | Replaces all negative keywords in a single negative keyword list. |"]]