Method: advertisers.lineItems.targetingTypes.assignedTargetingOptions.get
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
Display & Video 360 API v2 has sunset.
This documentation describes how to get a single targeting option assigned to a line item using a GET HTTP request.
The request requires path parameters including the advertiser ID, line item ID, targeting type, and assigned targeting option ID.
The request body must be empty and a successful response will contain an instance of AssignedTargetingOption.
Authorization 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/v2/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."],[],["This document outlines how to retrieve a specific targeting option assigned to a line item in the Display & Video 360 API. Utilizing a `GET` request, you must provide the `advertiserId`, `lineItemId`, `targetingType`, and `assignedTargetingOptionId` as path parameters within the URL. The request body must remain empty. A successful response returns an `AssignedTargetingOption` instance. This action requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"]]