Method: partners.targetingTypes.assignedTargetingOptions.create
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 document describes how to assign a targeting option to a partner using a POST request.
The request requires specifying the partner ID and targeting type in the URL path.
The request body should contain an instance of AssignedTargetingOption.
Successful requests return a newly created instance of AssignedTargetingOption and require the https://www.googleapis.com/auth/display-video OAuth scope.
[[["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 details the process of assigning a targeting option to a partner using the Display & Video API. It outlines that a `POST` request is made to `https://displayvideo.googleapis.com/v1/partners/{partnerId}/targetingTypes/{targetingType}/assignedTargetingOptions`. The `partnerId` and `targetingType` are required path parameters. The request body should include an `AssignedTargetingOption` instance. A successful response returns a new `AssignedTargetingOption` instance. This operation requires OAuth scope `https://www.googleapis.com/auth/display-video`. The v1 version of this API has been sunset.\n"]]