Method: accounts.lfpInventories.insert
指定されたターゲット販売アカウントの LfpInventory
リソースを挿入します。リソースがすでに存在する場合は置き換えられます。広告枠は 30 日後に自動的に期限切れになります。
HTTP リクエスト
POST https://merchantapi.googleapis.com/lfp/v1beta/{parent=accounts/*}/lfpInventories:insert
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。LFP プロバイダ アカウント。形式: accounts/{account}
|
リクエストの本文
リクエストの本文には LfpInventory
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には LfpInventory
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/content
詳細については、OAuth 2.0 Overview をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-23 UTC。
[null,null,["最終更新日 2025-01-23 UTC。"],[[["Inserts or replaces an `LfpInventory` resource for a given merchant account, with automatic 30-day expiration."],["Uses a POST request to the specified URL with path parameter indicating the target account."],["Requires an `LfpInventory` object in the request body and returns the same in the response upon success."],["Needs authorization with the `https://www.googleapis.com/auth/content` scope."]]],[]]