Display & Video 360 API v2 সূর্যাস্ত হয়েছে। পরিবর্তে Display & Video 360 API v3 ব্যবহার করুন। v2 থেকে v3 মাইগ্রেশন নির্দেশাবলীর জন্য, আমাদের মাইগ্রেশন গাইড দেখুন।
একটি স্ক্রিপ্ট ফাইলের জন্য একটি কাস্টম বিডিং স্ক্রিপ্ট রেফারেন্স অবজেক্ট তৈরি করে।
ফলে রেফারেন্স অবজেক্ট একটি রিসোর্স পাথ প্রদান করে যেখানে স্ক্রিপ্ট ফাইল আপলোড করা উচিত। একটি নতুন কাস্টম বিডিং স্ক্রিপ্ট অবজেক্ট তৈরি করার সময় এই রেফারেন্স অবজেক্টটি অন্তর্ভুক্ত করা উচিত।
HTTP অনুরোধ
GET https://displayvideo.googleapis.com/v2/customBiddingAlgorithms/{customBiddingAlgorithmId}:uploadScript
ইউনিয়ন প্যারামিটার owner । প্রয়োজন। মূল কাস্টম বিডিং অ্যালগরিদমের মালিক DV360 সত্তাকে শনাক্ত করে৷ এটি একটি অংশীদার বা একটি বিজ্ঞাপনদাতা হতে পারে. owner নিম্নলিখিতগুলির মধ্যে একজন হতে পারে:
[null,null,["2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Creates a custom bidding script reference object to upload a script file for a custom bidding algorithm."],["Includes a resource path for uploading the script file that should be included when creating a new custom bidding script object."],["Identifies the DV360 entity (partner or advertiser) that owns the parent custom bidding algorithm and has write access to the script."],["Requires authorization with the `https://www.googleapis.com/auth/display-video` scope."]]],["The Display & Video 360 API v2 is sunset. To create a custom bidding script reference, use a `GET` request to `https://displayvideo.googleapis.com/v2/customBiddingAlgorithms/{customBiddingAlgorithmId}:uploadScript`. The `customBiddingAlgorithmId` is required in the path. The `owner` union parameter, which includes `partnerId` or `advertiserId`, is also required in the query. The request body must be empty. A successful response returns a `CustomBiddingScriptRef` resource, providing the script file's upload path. The `https://www.googleapis.com/auth/display-video` OAuth scope is needed.\n"]]