Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
Display & Video 360 API v1 has been sunset.
This method assigns a targeting option to an advertiser and returns the assigned targeting option upon success.
The HTTP request uses a POST method to a specific URL structure including the advertiser ID and targeting type.
Path parameters like advertiserId and targetingType are required and define the target of the assignment.
The request and response bodies contain instances of AssignedTargetingOption and require the https://www.googleapis.com/auth/display-video OAuth scope for authorization.
[[["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 the process for assigning a targeting option to an advertiser using the Display & Video 360 API. The core action is a POST request to `https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/targetingTypes/{targetingType}/assignedTargetingOptions`. The request requires `advertiserId` and `targetingType` as path parameters. Supported `targetingType` values include channel, content label exclusion, OMID and sensitive category exclusion. The request body must contain an `AssignedTargetingOption` instance and the response will contain the newly created `AssignedTargetingOption`. The process requires OAuth scope `https://www.googleapis.com/auth/display-video`.\n"]]