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 تنها می تواند یکی از موارد زیر باشد:
تاریخ آخرین بهروزرسانی 2025-01-05 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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"]],["تاریخ آخرین بهروزرسانی 2025-01-05 بهوقت ساعت هماهنگ جهانی."],[[["Display & Video 360 API v2 has been sunset and this documentation refers to it."],["This operation allows bulk editing of assigned inventory sources to a single inventory source group by deleting and creating assignments."],["The request body requires specifying the assigned inventory sources to be deleted and created, along with the owner of the parent inventory source group (partner or advertiser)."],["Successful responses include a list of newly created assigned inventory sources."],["Authorization requires the `https://www.googleapis.com/auth/display-video` scope."]]],["This API allows bulk editing of inventory source assignments within a group. It uses a POST request to a specific URL containing the inventory source group ID. The request body includes lists of assigned inventory source IDs to be deleted and `AssignedInventorySource` objects to be created. The request requires specifying the owning entity (partner or advertiser). The successful response contains a list of newly created `AssignedInventorySource` objects, accessible through the `https://www.googleapis.com/auth/display-video` authorization scope.\n"]]