Method: customBiddingAlgorithms.scripts.create
لإنشاء نصّ برمجي جديد لعروض الأسعار المخصّصة تعرِض هذه الدالة النص البرمجي الذي تم إنشاؤه حديثًا في حال نجاح العملية.
طلب HTTP
POST https://displayvideo.googleapis.com/v3/customBiddingAlgorithms/{customBiddingAlgorithmId}/scripts
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
customBiddingAlgorithmId |
string (int64 format)
مطلوب. معرّف خوارزمية عروض الأسعار المخصّصة التي تملك النص البرمجي.
|
مَعلمات طلب البحث
المعلمات |
مَعلمة الائتلاف owner . مطلوب. تُحدِّد هذه السمة عنصر "مساحة العرض والفيديو 360" الذي يملك خوارزمية عروض الأسعار المخصّصة الرئيسية. ويمكن أن يكون شريكًا أو معلِنًا. يمكن أن يكون 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 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة 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"]]