Method: advertisers.targetingTypes.assignedTargetingOptions.delete

  • This page documents the process for deleting an assigned targeting option from an advertiser using the Display & Video 360 API.

  • The API request requires specifying the advertiser ID, targeting type, and assigned targeting option ID.

  • The request is a DELETE request with an empty body sent to a specific endpoint detailed in the documentation.

  • Successful execution of the request results in an empty response body, indicating the assigned targeting option has been removed.

  • Authorization using an OAuth scope with Display & Video 360 access is necessary for this operation.

Deletes an assigned targeting option from an advertiser.

HTTP request

DELETE https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiserId

string (int64 format)

Required. The ID of the advertiser.

targetingType

enum (TargetingType)

Required. Identifies the type of this assigned targeting option.

Supported targeting types:

assignedTargetingOptionId

string

Required. The ID of the assigned targeting option 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.