Method: advertisers.targetingTypes.assignedTargetingOptions.create
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
Display & Video 360 API v2 has sunset.
This page details how to assign a targeting option to an advertiser using a POST request.
The HTTP request uses gRPC Transcoding syntax and includes advertiserId and targetingType as path parameters.
The request and response bodies contain an instance of AssignedTargetingOption.
Authorization requires 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 describes how to assign a targeting option to an advertiser via a `POST` request to a specific URL. The URL requires `advertiserId` and `targetingType` as path parameters. Supported targeting types include `CHANNEL`, `DIGITAL_CONTENT_LABEL_EXCLUSION`, `OMID`, `SENSITIVE_CATEGORY_EXCLUSION`, and `KEYWORD`. The request body should include an `AssignedTargetingOption` instance, and a successful response will contain a newly created `AssignedTargetingOption` instance. This action requires `https://www.googleapis.com/auth/display-video` OAuth scope.\n"]]