Method: advertisers.locationLists.assignedLocations.delete

  • This document details how to delete the assignment between a location and a location list using the sunsetted Display & Video 360 API v3.

  • The HTTP request to delete the assigned location is a DELETE request to a specific URL containing the advertiser ID, location list ID, and assigned location ID.

  • The request requires three path parameters: advertiserId, locationListId, and assignedLocationId, all of which are required string values formatted as int64.

  • The request body for this delete operation must be empty, and a successful response will also have an empty JSON object body.

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

Deletes the assignment between a location and a location list.

HTTP request

DELETE https://displayvideo.googleapis.com/v3/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 an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.