Starting September 8, 2025, every new line item will need to declare whether or not they will serve Eurpoean Union (EU) political ads. Display & Video 360 API and SDF uploads that don't provide declarations will fail. See our deprecations page for more details on how to update your integration to make this declaration.
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}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThis documentation details how to retrieve a single targeting option assigned to a line item using the Display & Video 360 API.\u003c/p\u003e\n"],["\u003cp\u003eIt outlines the required HTTP request format, including path parameters and authorization scopes.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this information to programmatically access and manage targeting options for their line items.\u003c/p\u003e\n"],["\u003cp\u003eThe response to a successful request will provide details about the specified assigned targeting option.\u003c/p\u003e\n"]]],["The provided content outlines how to retrieve a specific targeting option linked to a line item in the Display & Video 360 API. It uses a `GET` HTTP request with required path parameters: `advertiserId`, `lineItemId`, `targetingType`, and `assignedTargetingOptionId`. The request body is empty. A successful request returns an `AssignedTargetingOption` instance, and it needs an `https://www.googleapis.com/auth/display-video` authorization scope. The API v1 is now sunset.\n"],null,["# Method: advertisers.lineItems.targetingTypes.assignedTargetingOptions.get\n\n| Display \\& Video 360 API v1 has been sunset.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets a single targeting option assigned to a line item.\n\n### HTTP request\n\n`GET https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/lineItems/{lineItemId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the advertiser the line item belongs to. |\n| `lineItemId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the line item the assigned targeting option belongs to. |\n| `targetingType` | `enum (`[TargetingType](/display-video/api/reference/rest/v1/TargetingType)`)` Required. Identifies the type of this assigned targeting option. |\n| `assignedTargetingOptionId` | `string` Required. An identifier unique to the targeting type in this line item that identifies the assigned targeting option being requested. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [AssignedTargetingOption](/display-video/api/reference/rest/v1/advertisers.campaigns.targetingTypes.assignedTargetingOptions#AssignedTargetingOption).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]