Display & Video 360 API v2 غروب است. به جای آن از Display & Video 360 API v3 استفاده کنید. برای دستورالعملهای انتقال نسخه 2 به نسخه 3، راهنمای مهاجرت ما را ببینید.
مورد نیاز. شناسه گروه منبع موجودی که تکالیف به آن اختصاص داده شده است.
درخواست بدن
بدنه درخواست حاوی داده هایی با ساختار زیر است:
نمایندگی 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 میدان اتحادیه مورد نیاز. نهاد DV360 را که مالک گروه منبع موجودی والد است، شناسایی می کند. این می تواند یک شریک یا یک تبلیغ کننده باشد. owner تنها می تواند یکی از موارد زیر باشد:
تاریخ آخرین بهروزرسانی 2024-11-12 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2024-11-12 بهوقت ساعت هماهنگ جهانی."],[[["Bulk edits assignments between inventory sources and a single inventory source group, allowing for deletion and creation of assignments in one operation."],["Requires specifying the inventory source group ID and providing lists of assigned inventory sources to delete and create."],["The request body must identify the owner of the inventory source group, which can be either a partner or an advertiser."],["A successful response includes a list of newly created assigned inventory sources or an empty list if none were created."],["Utilizes the `https://www.googleapis.com/auth/display-video` authorization scope for access."]]],["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"]]