Display & Video 360 API v1 has been sunset and requests made to it could return an error. You must use Display & Video 360 API v2 instead.

For v1 to v2 migration instructions, see our migration guide.

Method: advertisers.locationLists.assignedLocations.delete

Deletes the assignment between a location and a location list.

HTTP request

DELETE https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{assignedLocationId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiserId

string (int64 format)

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

locationListId

string (int64 format)

Required. The ID of the location list to which this assignment is assigned.

assignedLocationId

string (int64 format)

Required. The ID of the assigned location to delete.

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.