اعتبارًا من 8 سبتمبر 2025، يجب أن يحدّد كل عنصر جديد في الحملة ما إذا كان سيعرض إعلانات سياسية في الاتحاد الأوروبي أم لا. ستتعذّر عمليات تحميل واجهة برمجة التطبيقات "مساحة العرض والفيديو 360" وملفات SDF التي لا تقدّم بيانات الإفصاح. يمكنك الاطّلاع على صفحة الإيقاف النهائي لمزيد من التفاصيل حول كيفية تعديل عملية الدمج لإجراء هذا البيان.
مطلوب. رقم تعريف مجموعة مصادر المستودع التي تم تخصيص المهام لها.
نص الطلب
يحتوي نص الطلب على بيانات بالبنية التالية:
تمثيل 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.}
مصادر المستودع المحدّدة التي يجب إنشاؤها بشكل مجمّع، وهي محدّدة كقائمة من AssignedInventorySources.
حقل الاتحاد owner. مطلوب. يحدِّد كيان "مساحة العرض والفيديو 360" الذي يملك مجموعة مصادر المستودع الرئيسية. يمكن أن يكون شريكًا أو معلِنًا. يمكن أن يكون owner واحدًا فقط مما يلي:
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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)."]]