Starting
September 8, 2025, every new line item will need 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 on how to update your integration to make this declaration.
DeleteAssignedTargetingOptionsRequest
Stay organized with collections
Save and categorize content based on your preferences.
A request listing which assigned targeting options of a given targeting type should be deleted.
JSON representation |
{
"targetingType": enum (TargetingType ),
"assignedTargetingOptionIds": [
string
]
} |
Fields |
targetingType |
enum (TargetingType )
Required. Identifies the type of this assigned targeting option.
|
assignedTargetingOptionIds[] |
string
Required. The assigned targeting option IDs to delete.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-27 UTC.
[null,null,["Last updated 2025-03-27 UTC."],[],["The Display & Video 360 API v4, currently in beta, allows for deleting assigned targeting options of a specific type. A deletion request requires a JSON representation specifying the `targetingType` (an enumerated value) and an array of `assignedTargetingOptionIds` (strings) to be removed. The `targetingType` identifies the kind of targeting, while the `assignedTargetingOptionIds` indicate the specific options to delete. Both fields are mandatory for a successful deletion request.\n"],null,["# DeleteAssignedTargetingOptionsRequest\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA request listing which assigned targeting options of a given targeting type should be deleted.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"targetingType\": enum (/display-video/api/reference/rest/v4/TargetingType), \"assignedTargetingOptionIds\": [ string ] } ``` |\n\n| Fields ||\n|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `targetingType` | `enum (`[TargetingType](/display-video/api/reference/rest/v4/TargetingType)`)` Required. Identifies the type of this assigned targeting option. |\n| `assignedTargetingOptionIds[]` | `string` Required. The assigned targeting option IDs to delete. |"]]