Kể từ ngày 8 tháng 9 năm 2025, mỗi mục hàng mới sẽ cần phải khai báo xem mục hàng đó có phân phát quảng cáo chính trị ở Liên minh Châu Âu (EU) hay không. Display & Video 360 API và các tệp SDF được tải lên mà không cung cấp thông tin khai báo sẽ không thành công. Hãy xem trang thông báo về những nội dung không dùng nữa để biết thêm thông tin về cách cập nhật quy trình tích hợp để đưa ra nội dung khai báo này.
Bắt buộc. Mã của nhóm nguồn khoảng không quảng cáo được chỉ định thông tin chỉ định.
Nội dung yêu cầu
Nội dung yêu cầu chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON
{"deletedAssignedInventorySources": [string],"createdAssignedInventorySources": [{object (AssignedInventorySource)}],// Union field owner can be only one of the following:"partnerId": string,"advertiserId": string// End of list of possible types for union field owner.}
Các nguồn khoảng không quảng cáo được chỉ định để tạo hàng loạt, được chỉ định dưới dạng danh sách AssignedInventorySources.
Trường kết hợp owner. Bắt buộc. Xác định thực thể DV360 sở hữu nhóm nguồn khoảng không quảng cáo gốc. Đó có thể là một đối tác hoặc nhà quảng cáo. owner chỉ có thể là một trong những trạng thái sau đây:
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eBulk edits assignments between inventory sources and a single inventory source group, allowing for deletion and creation of assignments in one operation.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the inventory source group ID and providing lists of assigned inventory sources to delete and create.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must identify the owner of the inventory source group, which can be either a partner or an advertiser.\u003c/p\u003e\n"],["\u003cp\u003eA successful response includes a list of newly created assigned inventory sources or an empty list if none were created.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e authorization scope for access.\u003c/p\u003e\n"]]],["This document outlines how to use the Display & Video 360 API to bulk edit assignments between inventory sources and a group. Using a POST request, you can provide a list of `assigned_inventory_source_ids` to delete and a list of `AssignedInventorySources` to create. The request body must specify the inventory source group ID and either a `partnerId` or `advertiserId` for ownership. The successful response returns a list of the created `AssignedInventorySources`.\n"],null,["# Method: inventorySourceGroups.assignedInventorySources.bulkEdit\n\n| Display \\& Video 360 API v1 has been sunset.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.BulkEditAssignedInventorySourcesResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nBulk edits multiple assignments between inventory sources and a single inventory source group.\n\nThe operation will delete the assigned inventory sources provided in [BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources](/display-video/api/reference/rest/v1/inventorySourceGroups.assignedInventorySources/bulkEdit#body.request_body.FIELDS.deleted_assigned_inventory_sources) and then create the assigned inventory sources provided in [BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources](/display-video/api/reference/rest/v1/inventorySourceGroups.assignedInventorySources/bulkEdit#body.request_body.FIELDS.created_assigned_inventory_sources).\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v1/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources:bulkEdit`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `inventorySourceGroupId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the inventory source group to which the assignments are assigned. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"deletedAssignedInventorySources\": [ string ], \"createdAssignedInventorySources\": [ { object (/display-video/api/reference/rest/v1/inventorySourceGroups.assignedInventorySources#AssignedInventorySource) } ], // Union field `owner` can be only one of the following: \"partnerId\": string, \"advertiserId\": string // End of list of possible types for union field `owner`. } ``` |\n\n| Fields ||\n|-------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `deletedAssignedInventorySources[]` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The IDs of the assigned inventory sources to delete in bulk, specified as a list of [assigned_inventory_source_ids](/display-video/api/reference/rest/v1/inventorySourceGroups.assignedInventorySources#AssignedInventorySource.FIELDS.assigned_inventory_source_id). |\n| `createdAssignedInventorySources[]` | `object (`[AssignedInventorySource](/display-video/api/reference/rest/v1/inventorySourceGroups.assignedInventorySources#AssignedInventorySource)`)` The assigned inventory sources to create in bulk, specified as a list of [AssignedInventorySources](/display-video/api/reference/rest/v1/inventorySourceGroups.assignedInventorySources#AssignedInventorySource). |\n| Union field `owner`. Required. Identifies the DV360 entity that owns the parent inventory source group. It can be either a partner or an advertiser. `owner` can be only one of the following: ||\n| `partnerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the partner that owns the inventory source group. Only this partner has write access to these assigned inventory sources. |\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser that owns the parent inventory source group. The parent partner does not have access to these assigned inventory sources. |\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nResponse message for AssignedInventorySourceService.BulkEdit.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"assignedInventorySources\": [ { object (/display-video/api/reference/rest/v1/inventorySourceGroups.assignedInventorySources#AssignedInventorySource) } ] } ``` |\n\n| Fields ||\n|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `assignedInventorySources[]` | `object (`[AssignedInventorySource](/display-video/api/reference/rest/v1/inventorySourceGroups.assignedInventorySources#AssignedInventorySource)`)` The list of assigned inventory sources that have been successfully created. This list will be absent if 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)."]]