Method: advertisers.lineItems.targetingTypes.assignedTargetingOptions.get

  • Display & Video 360 API v1 has been sunset.

  • This document details how to get a single targeting option assigned to a line item using a GET request.

  • The request requires specific path parameters including advertiserId, lineItemId, targetingType, and assignedTargetingOptionId.

  • The request body must be empty, and a successful response will contain an instance of AssignedTargetingOption.

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

Gets a single targeting option assigned to a line item.

HTTP request

GET https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/lineItems/{lineItemId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiserId

string (int64 format)

Required. The ID of the advertiser the line item belongs to.

lineItemId

string (int64 format)

Required. The ID of the line item the assigned targeting option belongs to.

targetingType

enum (TargetingType)

Required. Identifies the type of this assigned targeting option.

assignedTargetingOptionId

string

Required. An identifier unique to the targeting type in this line item that identifies the assigned targeting option being requested.

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.