Share your feedback and help shape the Display & Video 360 API product roadmap. Take the Display & Video 360 API Annual Survey for 2022 before it closes on September 30th, 2022.

Method: advertisers.lineItems.targetingTypes.assignedTargetingOptions.get

Stay organized with collections Save and categorize content based on your preferences.

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.