Method: customBiddingAlgorithms.uploadScript
یک شی مرجع اسکریپت پیشنهادی سفارشی برای یک فایل اسکریپت ایجاد می کند.
شی مرجع به دست آمده یک مسیر منبعی را فراهم می کند که فایل اسکریپت باید در آن آپلود شود. این شی مرجع باید هنگام ایجاد یک شی اسکریپت پیشنهادی سفارشی جدید در آن گنجانده شود.
درخواست HTTP
GET https://displayvideo.googleapis.com/v3/customBiddingAlgorithms/{customBiddingAlgorithmId}:uploadScript
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
customBiddingAlgorithmId | string ( int64 format) مورد نیاز. شناسه الگوریتم مناقصه سفارشی مالک اسکریپت است. |
پارامترهای پرس و جو
پارامترها |
---|
owner پارامتر اتحادیه مورد نیاز. موجودیت DV360 را که مالک الگوریتم مناقصه سفارشی والد است، شناسایی می کند. این می تواند یک شریک یا یک تبلیغ کننده باشد. owner تنها می تواند یکی از موارد زیر باشد: |
partnerId | string ( int64 format) شناسه شریکی که دارای الگوریتم مناقصه سفارشی والد است. فقط این شریک دسترسی نوشتن به این اسکریپت پیشنهادی سفارشی خواهد داشت. |
advertiserId | string ( int64 format) شناسه تبلیغکنندهای که مالک الگوریتم مناقصه سفارشی والدین است. |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی نمونه ای از CustomBiddingScriptRef
است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/display-video
برای اطلاعات بیشتر، بهOAuth 2.0 Overview .
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-02-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-02-25 بهوقت ساعت هماهنگ جهانی."],[[["Creates a custom bidding script reference object to upload a script file for a new custom bidding script object."],["Requires a `GET` request to the specified URL with the custom bidding algorithm ID and the owner (partner or advertiser ID)."],["The request body should be empty, and a successful response will contain a `CustomBiddingScriptRef` instance."],["Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope."]]],["This outlines the process for creating a custom bidding script reference object for a script file. It uses a `GET` request to the specified URL, requiring the `customBiddingAlgorithmId` as a path parameter. The request requires either a `partnerId` or `advertiserId` as a query parameter to identify the script's owner. The request body must be empty. A successful response will contain a `CustomBiddingScriptRef` instance. This action is protected under the `https://www.googleapis.com/auth/display-video` authorization scope.\n"]]