Every new line item needs 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.
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
Display & Video 360 API v2 is sunset and this page outlines how to assign a targeting option to an advertiser using the API.
The API request requires specifying the advertiser ID and targeting type as path parameters and the assigned targeting option details in the request body.
A successful API call returns the assigned targeting option details in the response body.
Authorization is required using 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"]]