Method: advertisers.negativeKeywordLists.patch

  • Updates an existing negative keyword list with the provided details, returning the updated list upon success.

  • The request must specify the advertiser ID and the negative keyword list ID in the path parameters.

  • A updateMask query parameter is required to indicate which fields of the negative keyword list should be updated.

  • The request body should contain a NegativeKeywordList object with the desired updates.

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

Updates a negative keyword list. Returns the updated negative keyword list if successful.

HTTP request

PATCH https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordList.negativeKeywordListId}

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 belongs.

negativeKeywordList.negativeKeywordListId

string (int64 format)

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

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The mask to control which fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of NegativeKeywordList.

Response body

If successful, the response body contains an 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.