AI-generated Key Takeaways
-
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 |
Required. The ID of the advertiser the line item belongs to. |
lineItemId |
Required. The ID of the line item the assigned targeting option belongs to. |
targetingType |
Required. Identifies the type of this assigned targeting option. |
assignedTargetingOptionId |
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.