Method: sellers.orders.lines.book
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
既存の回線を予約します。
- 成功した場合は、更新された行を返します。
- 行が存在しない場合は、エラーコード
NOT_FOUND
を返します。
- 状態が
STATE_PENDING_BOOKING
でない場合、エラーコード FAILED_PRECONDITION
を返します。
HTTP リクエスト
POST https://dv360outofhomeseller.googleapis.com/v1/{name=sellers/*/orders/*/lines/*}:book
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。予約する回線の名前を入力します(例: 「selles/789/orders/123/lines/321」)。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には Line
のインスタンスが含まれます。
認証スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/doubleclickbidmanager
詳細については、OAuth 2.0 の概要をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 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"]]