Method: customBiddingAlgorithms.scripts.create
یک اسکریپت پیشنهادی سفارشی جدید ایجاد می کند. در صورت موفقیت اسکریپت جدید ایجاد شده را برمی گرداند.
درخواست HTTP
POST https://displayvideo.googleapis.com/v3/customBiddingAlgorithms/{customBiddingAlgorithmId}/scripts
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
customBiddingAlgorithmId | string ( int64 format) مورد نیاز. شناسه الگوریتم مناقصه سفارشی که صاحب اسکریپت است. |
پارامترهای پرس و جو
پارامترها |
---|
owner پارامتر اتحادیه مورد نیاز. موجودیت DV360 را که مالک الگوریتم مناقصه سفارشی والد است، شناسایی می کند. این می تواند یک شریک یا یک تبلیغ کننده باشد. owner تنها می تواند یکی از موارد زیر باشد: |
partnerId | string ( int64 format) شناسه شریکی که دارای الگوریتم مناقصه سفارشی والد است. فقط این شریک دسترسی نوشتن به این اسکریپت پیشنهادی سفارشی خواهد داشت. |
advertiserId | string ( int64 format) شناسه تبلیغکنندهای که مالک الگوریتم مناقصه سفارشی والدین است. |
درخواست بدن
بدنه درخواست شامل نمونه ای از CustomBiddingScript
است.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی یک نمونه جدید از CustomBiddingScript
است.
محدوده مجوز
به محدوده 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 new custom bidding script associated with a specific custom bidding algorithm."],["Requires specifying the custom bidding algorithm ID and the owner (either partner or advertiser) in the request."],["The request body should contain the details of the custom bidding script, as defined in the `CustomBiddingScript` object."],["A successful response returns the newly created custom bidding script object."],["Requires authorization with the `https://www.googleapis.com/auth/display-video` scope."]]],["This describes creating a new custom bidding script via a POST HTTP request to a specific URL. The request requires `customBiddingAlgorithmId` in the path and an `owner` (either `partnerId` or `advertiserId`) in the query. The request body needs a `CustomBiddingScript` instance. The successful response will contain the newly created `CustomBiddingScript`. Note, updates to custom bidding algorithms assigned to line items will error after April 1, 2025. This process requires the `display-video` OAuth scope.\n"]]