自
2025 年 9 月 8 日起,每個新委刊項都必須聲明是否會放送歐盟政治廣告。如果透過 Display & Video 360 API 和 SDF 上傳的檔案未提供聲明,系統就會失敗。如要進一步瞭解如何更新整合服務以進行這項聲明,請參閱
淘汰項目頁面。
CreateAssignedTargetingOptionsRequest
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
這項要求會列出應建立及新增指定指定目標類型的指派指定目標選項。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eCreate and add assigned targeting options for a given targeting type using a JSON request.\u003c/p\u003e\n"],["\u003cp\u003eThe request must specify the targeting type and include an array of assigned targeting options.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etargetingType\u003c/code\u003e field identifies the type of assigned targeting option using the \u003ccode\u003eTargetingType\u003c/code\u003e enum.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eassignedTargetingOptions\u003c/code\u003e field contains an array of \u003ccode\u003eAssignedTargetingOption\u003c/code\u003e objects representing the options to create and add.\u003c/p\u003e\n"]]],[],null,["# CreateAssignedTargetingOptionsRequest\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- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA request listing which assigned targeting options of a given targeting type should be created and added.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"targetingType\": enum (/display-video/api/reference/rest/v3/TargetingType), \"assignedTargetingOptions\": [ { object (/display-video/api/reference/rest/v3/advertisers.adGroups.targetingTypes.assignedTargetingOptions#AssignedTargetingOption) } ] } ``` |\n\n| Fields ||\n|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `targetingType` | `enum (`[TargetingType](/display-video/api/reference/rest/v3/TargetingType)`)` Required. Identifies the type of this assigned targeting option. |\n| `assignedTargetingOptions[]` | `object (`[AssignedTargetingOption](/display-video/api/reference/rest/v3/advertisers.adGroups.targetingTypes.assignedTargetingOptions#AssignedTargetingOption)`)` Required. The assigned targeting options to create and add. |"]]