Method: advertisers.lineItems.targetingTypes.assignedTargetingOptions.get

  • This documentation details how to retrieve a single targeting option assigned to a line item using the Display & Video 360 API.

  • It outlines the required HTTP request format, including path parameters and authorization scopes.

  • Developers can use this information to programmatically access and manage targeting options for their line items.

  • The response to a successful request will provide details about the specified assigned targeting option.

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.