اعتبارًا من
8 سبتمبر 2025، يجب أن يحدّد كل عنصر جديد في الحملة ما إذا كان سيعرض إعلانات سياسية في الاتحاد الأوروبي أم لا. ستتعذّر عمليات تحميل واجهة برمجة التطبيقات "مساحة العرض والفيديو 360" وملفات SDF التي لا تقدّم بيانات الإفصاح. يمكنك الاطّلاع على
صفحة الإيقاف النهائي لمزيد من التفاصيل حول كيفية تعديل عملية الدمج لإجراء هذا البيان.
Method: inventorySourceGroups.assignedInventorySources.bulkEdit
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
طلب HTTP
POST https://displayvideo.googleapis.com/v4/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources:bulkEdit
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
inventorySourceGroupId |
string (int64 format)
مطلوب. رقم تعريف مجموعة مصادر المستودع التي تمّ تعيين العناصر إليها.
|
نص الطلب
يحتوي نص الطلب على بيانات بالبنية التالية:
تمثيل 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 .
} |
الحقول |
deletedAssignedInventorySources[] |
string (int64 format)
أرقام تعريف مصادر المستودع المحدّدة لحذفها بشكل مجمّع، ويتم تحديدها كقائمة من assigned_inventory_source_ids .
|
createdAssignedInventorySources[] |
object (AssignedInventorySource )
مصادر المستودع الإعلاني المحدّدة لإنشاءها بشكل مجمّع، ويتم تحديدها كقائمة من AssignedInventorySources .
|
حقل الربط owner مطلوب. تُحدِّد عنصر "مساحة العرض والفيديو 360" الذي يملك مجموعة مصادر المستودع الرئيسية. ويمكن أن يكون شريكًا أو معلِنًا. يمكن أن يكون owner واحدًا فقط مما يلي: |
partnerId |
string (int64 format)
رقم تعريف الشريك الذي يملك مجموعة مصادر المستودع ولا يملك سوى هذا الشريك إذن الوصول للكتابة إلى مصادر المستودع الإعلاني هذه.
|
advertiserId |
string (int64 format)
رقم تعريف المعلِن الذي يملك مجموعة مصادر المساحات الإعلانية الرئيسية. لا يمكن للشريك الرئيسي الوصول إلى مصادر المستودع الإعلاني المحدّدة هذه.
|
نص الاستجابة
رسالة الردّ لـ AssignedInventorySourceService.BulkEdit
إذا كانت الاستجابة ناجحة، سيحتوي نص الاستجابة على بيانات بالبنية التالية:
الحقول |
assignedInventorySources[] |
object (AssignedInventorySource )
قائمة بمصادر المستودع الإعلاني المحدّدة التي تم إنشاؤها بنجاح لن تظهر هذه القائمة إذا كانت فارغة.
|
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/display-video
لمزيد من المعلومات، يُرجى الاطّلاع على OAuth 2.0 Overview.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# Method: inventorySourceGroups.assignedInventorySources.bulkEdit\n\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/v4/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/v4/inventorySourceGroups.assignedInventorySources/bulkEdit#body.request_body.FIELDS.created_assigned_inventory_sources).\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v4/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/v4/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/v4/inventorySourceGroups.assignedInventorySources#AssignedInventorySource.FIELDS.assigned_inventory_source_id). |\n| `createdAssignedInventorySources[]` | `object (`[AssignedInventorySource](/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources#AssignedInventorySource)`)` The assigned inventory sources to create in bulk, specified as a list of [AssignedInventorySources](/display-video/api/reference/rest/v4/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\nResponse message for AssignedInventorySourceService.BulkEdit.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"assignedInventorySources\": [ { object (/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources#AssignedInventorySource) } ] } ``` |\n\n| Fields ||\n|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `assignedInventorySources[]` | `object (`[AssignedInventorySource](/display-video/api/reference/rest/v4/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](/identity/protocols/OAuth2)."]]