Method: advertisers.negativeKeywordLists.list

  • This document details the advertisers.negativeKeywordLists.list method for Display & Video 360 API v3, which has been sunset and replaced by v4.

  • The method lists negative keyword lists associated with a specific advertiser ID, which is a required path parameter.

  • Optional query parameters include pageSize to specify the number of results per page and pageToken for paginating through results.

  • The request body for this method must be empty, and the response body contains a list of negative keyword lists and a token for the next page of results.

  • Authorization requires the https://www.googleapis.com/auth/display-video OAuth scope.

Lists negative keyword lists based on a given advertiser id.

HTTP request

GET https://displayvideo.googleapis.com/v3/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 fetched negative keyword lists belong.

Query parameters

Parameters
pageSize

integer

Requested page size. Must be between 1 and 200. Defaults to 100 if not set. Returns error code INVALID_ARGUMENT if an invalid value is specified.

pageToken

string

A token identifying a page of results the server should return.

Typically, this is the value of nextPageToken returned from the previous call to negativeKeywordLists.list method. If not specified, the first page of results will be returned.

Request body

The request body must be empty.

Response body

Response message for NegativeKeywordListService.ListNegativeKeywordLists.

If successful, the response body contains data with the following structure:

JSON representation
{
  "negativeKeywordLists": [
    {
      object (NegativeKeywordList)
    }
  ],
  "nextPageToken": string
}
Fields
negativeKeywordLists[]

object (NegativeKeywordList)

The list of negative keyword lists.

This list will be absent if empty.

nextPageToken

string

A token to retrieve the next page of results.

Pass this value in the pageToken field in the subsequent call to negativeKeywordLists.list method to retrieve the next page of results.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.