[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis page documents the process for deleting an assigned targeting option from an advertiser using the Display & Video 360 API.\u003c/p\u003e\n"],["\u003cp\u003eThe API request requires specifying the advertiser ID, targeting type, and assigned targeting option ID.\u003c/p\u003e\n"],["\u003cp\u003eThe request is a \u003ccode\u003eDELETE\u003c/code\u003e request with an empty body sent to a specific endpoint detailed in the documentation.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful execution of the request results in an empty response body, indicating the assigned targeting option has been removed.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization using an OAuth scope with Display & Video 360 access is necessary for this operation.\u003c/p\u003e\n"]]],["The provided content outlines how to delete an assigned targeting option from an advertiser using the Display & Video 360 API. The HTTP `DELETE` request is sent to a specific URL, including `advertiserId`, `targetingType`, and `assignedTargetingOptionId` as path parameters. Acceptable targeting types are listed. The request body should be empty and a successful response will have an empty body as well. This API endpoint requires the `https://www.googleapis.com/auth/display-video` authorization scope.\n"],null,["# Method: advertisers.targetingTypes.assignedTargetingOptions.delete\n\n| Display \\& Video 360 API v2 has sunset.\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\nDeletes an assigned targeting option from an advertiser.\n\n### HTTP request\n\n`DELETE https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId}`\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/v2/TargetingType)`)` Required. Identifies the type of this assigned targeting option. Supported targeting types: - [`TARGETING_TYPE_CHANNEL`](/display-video/api/reference/rest/v2/TargetingType#ENUM_VALUES.TARGETING_TYPE_CHANNEL) - [`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`](/display-video/api/reference/rest/v2/TargetingType#ENUM_VALUES.TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION) - [`TARGETING_TYPE_OMID`](/display-video/api/reference/rest/v2/TargetingType#ENUM_VALUES.TARGETING_TYPE_OMID) - [`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`](/display-video/api/reference/rest/v2/TargetingType#ENUM_VALUES.TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION) - [`TARGETING_TYPE_KEYWORD`](/display-video/api/reference/rest/v2/TargetingType#ENUM_VALUES.TARGETING_TYPE_KEYWORD) |\n| `assignedTargetingOptionId` | `string` Required. The ID of the assigned targeting option to delete. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is empty.\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](https://developers.google.com/identity/protocols/OAuth2)."]]