Method: advertisers.negativeKeywordLists.create

  • Display & Video 360 API v2 has been sunset and this documentation details the creation of negative keyword lists using the API.

  • You can create a new negative keyword list by sending a POST request to the specified endpoint with the advertiser ID.

  • The request body should contain details of the negative keyword list as defined in the NegativeKeywordList object.

  • A successful request will return the newly created negative keyword list object in the response.

  • Using this functionality requires authorization with the https://www.googleapis.com/auth/display-video scope.

Creates a new negative keyword list. Returns the newly created negative keyword list if successful.

HTTP request

POST https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/negativeKeywordLists

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiserId

string (int64 format)

Required. The ID of the DV360 advertiser to which the negative keyword list will belong.

Request body

The request body contains an instance of NegativeKeywordList.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.