自
2025 年 9 月 8 日起,每个新订单项都需要声明是否会投放欧盟 (EU) 政治广告。Display & Video 360 API 和未提供声明的 SDF 上传操作将会失败。如需详细了解如何更新集成以进行此声明,请参阅我们的
弃用页面。
REST Resource: inventorySourceGroups.assignedInventorySources
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:AssignedInventorySource
JSON 表示法 |
{
"name": string,
"assignedInventorySourceId": string,
"inventorySourceId": string
} |
字段 |
name |
string
仅限输出。分配的广告资源来源的资源名称。
|
assignedInventorySourceId |
string (int64 format)
仅限输出。分配的商品目录来源的唯一 ID。该 ID 仅在给定商品目录来源组内是唯一的。它可能会在其他上下文中重复使用。
|
inventorySourceId |
string
必需。要定位到的广告资源来源实体的 ID。
|
方法 |
|
批量修改广告资源来源与单个广告资源来源组之间的多个分配。 |
|
在广告资源来源和广告资源来源组之间创建分配。 |
|
删除广告资源来源与广告资源来源组之间的分配。 |
|
列出分配给广告资源来源组的广告资源来源。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eAn AssignedInventorySource resource represents the connection between a targetable inventory source and an inventory source group.\u003c/p\u003e\n"],["\u003cp\u003eIt includes fields like name, assignedInventorySourceId, and inventorySourceId which provide identifying and relational information.\u003c/p\u003e\n"],["\u003cp\u003eKey methods allow for bulk editing, creating, deleting, and listing assignments between inventory sources and inventory source groups, offering flexibility in managing these relationships.\u003c/p\u003e\n"]]],["The content details the `AssignedInventorySource`, which links a targetable inventory source to an inventory source group. It includes a JSON representation with fields: `name` (resource name), `assignedInventorySourceId` (unique ID), and `inventorySourceId` (targeted inventory source ID). Four methods are available: `bulkEdit` (multiple assignments), `create` (new assignment), `delete` (remove assignment), and `list` (view assigned sources). The core actions involve managing assignments between inventory sources and groups.\n"],null,["# REST Resource: inventorySourceGroups.assignedInventorySources\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: AssignedInventorySource](#AssignedInventorySource)\n - [JSON representation](#AssignedInventorySource.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AssignedInventorySource\n---------------------------------\n\nAn assignment between a targetable inventory source and an inventory source group.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"assignedInventorySourceId\": string, \"inventorySourceId\": string } ``` |\n\n| Fields ||\n|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name of the assigned inventory source. |\n| `assignedInventorySourceId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the assigned inventory source. The ID is only unique within a given inventory source group. It may be reused in other contexts. |\n| `inventorySourceId` | `string` Required. The ID of the inventory source entity being targeted. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|\n| ### [bulkEdit](/display-video/api/reference/rest/v3/inventorySourceGroups.assignedInventorySources/bulkEdit) | Bulk edits multiple assignments between inventory sources and a single inventory source group. |\n| ### [create](/display-video/api/reference/rest/v3/inventorySourceGroups.assignedInventorySources/create) | Creates an assignment between an inventory source and an inventory source group. |\n| ### [delete](/display-video/api/reference/rest/v3/inventorySourceGroups.assignedInventorySources/delete) | Deletes the assignment between an inventory source and an inventory source group. |\n| ### [list](/display-video/api/reference/rest/v3/inventorySourceGroups.assignedInventorySources/list) | Lists inventory sources assigned to an inventory source group. |"]]