自
2025 年 9 月 8 日起,每个新订单项都需要声明是否会投放欧盟 (EU) 政治广告。Display & Video 360 API 和未提供声明的 SDF 上传操作将会失败。如需详细了解如何更新集成以进行此声明,请参阅我们的
弃用页面。
Method: advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.delete
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
从广告订单中删除已分配的定位选项。
支持的定位类型:
HTTP 请求
DELETE https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/insertionOrders/{insertionOrderId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId}
网址采用 gRPC 转码语法。
路径参数
参数 |
advertiserId |
string (int64 format)
必需。广告订单所属的广告客户的 ID。
|
insertionOrderId |
string (int64 format)
必需。分配的定位选项所属的广告订单的 ID。
|
targetingType |
enum (TargetingType )
必需。用于标识此分配的定位选项的类型。 支持的定位类型:
|
assignedTargetingOptionId |
string
必需。要删除的已分配定位选项的 ID。
|
响应正文
如果成功,则响应正文为空的 JSON 对象。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/display-video
如需了解详情,请参阅 OAuth 2.0 Overview。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThis operation deletes an assigned targeting option from an insertion order, allowing you to refine the audience for your ads.\u003c/p\u003e\n"],["\u003cp\u003eIt supports a wide variety of targeting types including age range, browser, category, channel, device, and more, giving you flexibility in audience selection.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request requires specifying the advertiser ID, insertion order ID, targeting type, and assigned targeting option ID in the URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and if successful, the response body will also be empty, indicating the assigned targeting option has been removed.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is needed with the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e scope to perform this action, ensuring secure access to your advertising resources.\u003c/p\u003e\n"]]],["This outlines the process of deleting a targeting option from an insertion order via a `DELETE` HTTP request. The action targets a specific `assignedTargetingOptionId` within an `insertionOrderId` for a given `advertiserId`. It supports various targeting types, including age range, browser, category, and keyword. The request requires these parameters and the `targetingType` to be specified, but it must not have a request body. A successful deletion returns an empty JSON object in the response body.\n"],null,[]]