自
2025 年 9 月 8 日起,每個新委刊項都必須聲明是否會放送歐盟政治廣告。如果透過 Display & Video 360 API 和 SDF 上傳的檔案未提供聲明,系統就會失敗。如要進一步瞭解如何更新整合服務以進行這項聲明,請參閱
淘汰項目頁面。
REST Resource: inventorySourceGroups
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:InventorySourceGroup
JSON 表示法 |
{
"name": string,
"inventorySourceGroupId": string,
"displayName": string
} |
欄位 |
name |
string
僅供輸出。廣告空間來源群組的資源名稱。
|
inventorySourceGroupId |
string (int64 format)
僅供輸出。廣告空間來源群組的專屬 ID。由系統指派。
|
displayName |
string
必要欄位。廣告空間來源群組的顯示名稱。 必須採用 UTF-8 編碼,且大小上限為 240 個位元組。
|
方法 |
|
建立新的廣告空間來源群組。 |
|
刪除廣告空間來源群組。 |
|
取得廣告空間來源群組。 |
|
列出目前使用者可存取的廣告空間來源群組。 |
|
更新廣告空間來源群組。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eInventorySourceGroup is a resource that represents a collection of targetable inventory sources.\u003c/p\u003e\n"],["\u003cp\u003eIt has a JSON representation with fields like name, inventorySourceGroupId, and displayName to identify and describe the group.\u003c/p\u003e\n"],["\u003cp\u003eDisplay Video API provides methods like create, delete, get, list, and patch to manage InventorySourceGroups.\u003c/p\u003e\n"],["\u003cp\u003eThe inventorySourceGroupId is a unique, system-assigned identifier, while the displayName is a user-defined name for the group.\u003c/p\u003e\n"],["\u003cp\u003eUsers can leverage these groups to target specific sets of inventory sources within their Display & Video 360 campaigns.\u003c/p\u003e\n"]]],[],null,["# REST Resource: inventorySourceGroups\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- [Resource: InventorySourceGroup](#InventorySourceGroup)\n - [JSON representation](#InventorySourceGroup.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: InventorySourceGroup\n------------------------------\n\nA collection of targetable inventory sources.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"inventorySourceGroupId\": string, \"displayName\": string } ``` |\n\n| Fields ||\n|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name of the inventory source group. |\n| `inventorySourceGroupId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the inventory source group. Assigned by the system. |\n| `displayName` | `string` Required. The display name of the inventory source group. Must be UTF-8 encoded with a maximum size of 240 bytes. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------|------------------------------------------------------------------------|\n| ### [create](/display-video/api/reference/rest/v3/inventorySourceGroups/create) | Creates a new inventory source group. |\n| ### [delete](/display-video/api/reference/rest/v3/inventorySourceGroups/delete) | Deletes an inventory source group. |\n| ### [get](/display-video/api/reference/rest/v3/inventorySourceGroups/get) | Gets an inventory source group. |\n| ### [list](/display-video/api/reference/rest/v3/inventorySourceGroups/list) | Lists inventory source groups that are accessible to the current user. |\n| ### [patch](/display-video/api/reference/rest/v3/inventorySourceGroups/patch) | Updates an inventory source group. |"]]