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.
[[["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 2025-04-02 UTC."],[[["\u003cp\u003eThis operation assigns a targeting option to an advertiser and returns the assigned targeting option upon successful completion.\u003c/p\u003e\n"],["\u003cp\u003eTo make the request, use the \u003ccode\u003ePOST\u003c/code\u003e method and provide the advertiser ID and targeting type in the URL path.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain an \u003ccode\u003eAssignedTargetingOption\u003c/code\u003e object, detailing the specific targeting criteria.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will contain the newly created \u003ccode\u003eAssignedTargetingOption\u003c/code\u003e object, reflecting the assigned targeting.\u003c/p\u003e\n"],["\u003cp\u003eThis operation requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This API action assigns a targeting option to an advertiser via a POST request to a specific URL: `https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/targetingTypes/{targetingType}/assignedTargetingOptions`. It requires the `advertiserId` and `targetingType` as path parameters. The request body should include an `AssignedTargetingOption` instance, and the successful response will return a newly created `AssignedTargetingOption` instance. The OAuth scope `https://www.googleapis.com/auth/display-video` is necessary for authorization.\n"],null,["# Method: advertisers.targetingTypes.assignedTargetingOptions.create\n\n| Display \\& Video 360 API is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nAssigns a targeting option to an advertiser. Returns the assigned targeting option if successful.\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/targetingTypes/{targetingType}/assignedTargetingOptions`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the advertiser. |\n| `targetingType` | `enum (`[TargetingType](/display-video/api/reference/rest/v3/TargetingType)`)` Required. Identifies the type of this assigned targeting option. Supported targeting types: - [`TARGETING_TYPE_CHANNEL`](/display-video/api/reference/rest/v3/TargetingType#ENUM_VALUES.TARGETING_TYPE_CHANNEL) - [`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`](/display-video/api/reference/rest/v3/TargetingType#ENUM_VALUES.TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION) - [`TARGETING_TYPE_OMID`](/display-video/api/reference/rest/v3/TargetingType#ENUM_VALUES.TARGETING_TYPE_OMID) - [`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`](/display-video/api/reference/rest/v3/TargetingType#ENUM_VALUES.TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION) - [`TARGETING_TYPE_KEYWORD`](/display-video/api/reference/rest/v3/TargetingType#ENUM_VALUES.TARGETING_TYPE_KEYWORD) |\n\n### Request body\n\nThe request body contains an instance of [AssignedTargetingOption](/display-video/api/reference/rest/v3/advertisers.adGroups.targetingTypes.assignedTargetingOptions#AssignedTargetingOption).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [AssignedTargetingOption](/display-video/api/reference/rest/v3/advertisers.adGroups.targetingTypes.assignedTargetingOptions#AssignedTargetingOption).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]