Method: sellers.orders.lines.book
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Buku baris yang ada.
- Menampilkan baris yang diperbarui jika berhasil.
- Menampilkan kode error
NOT_FOUND
jika baris tidak ada.
- Menampilkan kode error
FAILED_PRECONDITION
jika statusnya bukan STATE_PENDING_BOOKING
.
Permintaan HTTP
POST https://dv360outofhomeseller.googleapis.com/v1/{name=sellers/*/orders/*/lines/*}:book
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. Kolom ini akan berisi nama baris yang akan dipesan, misalnya: "selles/789/orders/123/lines/321"
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan berisi instance Line
.
Cakupan Otorisasi
Memerlukan cakupan OAuth berikut ini:
https://www.googleapis.com/auth/doubleclickbidmanager
Untuk informasi selengkapnya, lihat Ringkasan OAuth 2.0.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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"]]