Method: sellers.orders.lines.book
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Mevcut bir satırı rezerve eder.
- Başarılıysa güncellenen satırı döndürür.
- Satır mevcut değilse
NOT_FOUND
hata kodunu döndürür.
- Durum
STATE_PENDING_BOOKING
değilse FAILED_PRECONDITION
hata kodunu döndürür.
HTTP isteği
POST https://dv360outofhomeseller.googleapis.com/v1/{name=sellers/*/orders/*/lines/*}:book
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
Zorunlu. Alan, ayrılacak satırın adını içerir. Örneğin: "selles/789/orders/123/lines/321"
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, Line
öğesinin bir örneğini içerir.
Yetkilendirme Kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/doubleclickbidmanager
Daha fazla bilgi için OAuth 2.0'a Genel Bakış başlıklı makaleye bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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"]]