REST Resource: advertisers.negativeKeywordLists

  • Display & Video 360 API v2 is sunset and this page provides details about the NegativeKeywordList resource.

  • A NegativeKeywordList is a resource used for targeting and is identified by a unique ID and display name.

  • The NegativeKeywordList resource includes fields for name, ID, display name, advertiser ID, and the count of targeted line items.

  • You can manage NegativeKeywordLists through methods like create, delete, get, list, and patch.

  • These methods allow for creating, deleting, retrieving, listing, and updating NegativeKeywordLists within an advertiser.

Resource: NegativeKeywordList

A list of negative keywords used for targeting.

JSON representation
{
  "name": string,
  "negativeKeywordListId": string,
  "displayName": string,
  "advertiserId": string,
  "targetedLineItemCount": string
}
Fields
name

string

Output only. The resource name of the negative keyword list.

negativeKeywordListId

string (int64 format)

Output only. The unique ID of the negative keyword list. Assigned by the system.

displayName

string

Required. The display name of the negative keyword list. Must be UTF-8 encoded with a maximum size of 255 bytes.

advertiserId

string (int64 format)

Output only. The unique ID of the advertiser the negative keyword list belongs to.

targetedLineItemCount

string (int64 format)

Output only. Number of line items that are directly targeting this negative keyword list.

Methods

create

Creates a new negative keyword list.

delete

Deletes a negative keyword list given an advertiser ID and a negative keyword list ID.

get

Gets a negative keyword list given an advertiser ID and a negative keyword list ID.

list

Lists negative keyword lists based on a given advertiser id.

patch

Updates a negative keyword list.