Method: customBiddingAlgorithms.rules.create
สร้างทรัพยากรกฎใหม่ แสดงทรัพยากรกฎที่สร้างขึ้นใหม่หากดำเนินการสำเร็จ
คำขอ HTTP
POST https://displayvideo.googleapis.com/v3/customBiddingAlgorithms/{customBiddingAlgorithmId}/rules
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
customBiddingAlgorithmId |
string (int64 format)
ต้องระบุ รหัสของอัลกอริทึมการเสนอราคาที่กำหนดเองซึ่งเป็นเจ้าของทรัพยากรกฎ
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
พารามิเตอร์ Union owner ต้องระบุ ระบุเอนทิตี DV360 ที่เป็นเจ้าของอัลกอริทึมการเสนอราคาที่กำหนดเองระดับบน อาจเป็นพาร์ทเนอร์หรือผู้ลงโฆษณาก็ได้ owner ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้เท่านั้น |
partnerId |
string (int64 format)
รหัสของพาร์ทเนอร์ที่เป็นเจ้าของอัลกอริทึมการเสนอราคาที่กำหนดเองหลัก มีเพียงพาร์ทเนอร์รายนี้เท่านั้นที่จะมีสิทธิ์เขียนในทรัพยากรกฎนี้
|
advertiserId |
string (int64 format)
รหัสของผู้ลงโฆษณาที่เป็นเจ้าของอัลกอริทึมการเสนอราคาที่กำหนดเองหลัก
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ CustomBiddingAlgorithmRules
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ CustomBiddingAlgorithmRules
ที่สร้างขึ้นใหม่
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/display-video
ดูข้อมูลเพิ่มเติมได้ที่ OAuth 2.0 Overview
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-02-25 UTC
[null,null,["อัปเดตล่าสุด 2025-02-25 UTC"],[[["Creates a new rules resource associated with a custom bidding algorithm, returning the resource upon successful creation."],["Utilizes an HTTP POST request to a specific endpoint, including the custom bidding algorithm ID in the path."],["Requires specifying the owning entity (partner or advertiser) using query parameters."],["The request body should contain a CustomBiddingAlgorithmRules object, defining the rules to be created."],["Successful responses will contain the newly created CustomBiddingAlgorithmRules object."]]],["This describes creating a new rules resource for a custom bidding algorithm. A `POST` request to `https://displayvideo.googleapis.com/v3/customBiddingAlgorithms/{customBiddingAlgorithmId}/rules` is used. The `customBiddingAlgorithmId` is required in the path. The `owner` parameter, specifying the owning partner or advertiser ID, is required. The request body must include a `CustomBiddingAlgorithmRules` instance, and a successful request will return a newly created `CustomBiddingAlgorithmRules` instance in the response. Requests to update custom bidding algorithms assigned to line items will return an error after April 1, 2025. The process requires `https://www.googleapis.com/auth/display-video` authorization.\n"]]