Method: advertisers.locationLists.patch

  • Display & Video 360 API v3 has sunset and users should use v4 instead.

  • The content describes how to update a location list using a PATCH request to the specified URL.

  • The request requires advertiserId and locationList.locationListId as path parameters and updateMask as a query parameter.

  • The request and response bodies contain an instance of LocationList.

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

Updates a location list. Returns the updated location list if successful.

HTTP request

PATCH https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/locationLists/{locationList.locationListId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiserId

string (int64 format)

Required. The ID of the DV360 advertiser to which the location lists belongs.

locationList.locationListId

string (int64 format)

Output only. The unique ID of the location 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 LocationList.

Response body

If successful, the response body contains an instance of LocationList.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.