Method: advertisers.negativeKeywordLists.negativeKeywords.create

  • Display & Video 360 API v1 is sunset and this documentation details the creation of negative keywords within negative keyword lists using the v1 API.

  • The API request uses an HTTP POST method to a specific endpoint with advertiser and negative keyword list IDs as path parameters.

  • The request body requires a NegativeKeyword object, while the response, if successful, returns the newly created NegativeKeyword object.

  • Users need to have the https://www.googleapis.com/auth/display-video OAuth scope for authorization to use this API functionality.

Creates a negative keyword in a negative keyword list.

HTTP request

POST https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListId}/negativeKeywords

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiserId

string (int64 format)

Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.

negativeKeywordListId

string (int64 format)

Required. The ID of the parent negative keyword list in which the negative keyword will be created.

Request body

The request body contains an instance of NegativeKeyword.

Response body

If successful, the response body contains a newly created instance of NegativeKeyword.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/display-video

For more information, see the OAuth 2.0 Overview.