Method: sellers.orders.lines.book
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी मौजूदा लाइन को बुक करता है.
- सफल होने पर अपडेट की गई लाइन दिखाता है.
- लाइन मौजूद न होने पर, गड़बड़ी कोड
NOT_FOUND
दिखाता है.
- अगर स्थिति
STATE_PENDING_BOOKING
नहीं है, तो गड़बड़ी कोड FAILED_PRECONDITION
दिखाता है.
एचटीटीपी अनुरोध
POST https://dv360outofhomeseller.googleapis.com/v1/{name=sellers/*/orders/*/lines/*}:book
यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. इस फ़ील्ड में बुक की जाने वाली लाइन का नाम होगा, उदाहरण के लिए: "selles/789/order/123/lines/321"
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Line
का एक इंस्टेंस शामिल किया जाता है.
अनुमति पाने के लिंक
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/doubleclickbidmanager
ज़्यादा जानकारी के लिए, OAuth 2.0 की खास जानकारी देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["Books an existing Display & Video 360 line, updating it if the operation is successful."],["Returns errors if the line is not found or if its state is not `STATE_PENDING_BOOKING`."],["Requires an empty request body and uses the `POST` method with a specific URL structure including the line's name."],["Utilizes the `https://www.googleapis.com/auth/doubleclickbidmanager` authorization scope for access control."],["Provides the updated line details in the response body upon successful booking."]]],["The core function is to book an existing line via a `POST` HTTP request to a specified URL. The URL includes a required `name` parameter defining the line to book. The request body must be empty. A successful operation returns the updated line. Errors include `NOT_FOUND` for nonexistent lines and `FAILED_PRECONDITION` if the line's state isn't `STATE_PENDING_BOOKING`. Authorization requires the `doubleclickbidmanager` OAuth scope. The response contains a `Line` instance if successful.\n"]]