Method: accounts.dataSources.fetch
Merchant Center アカウントのデータソースに対して、(取得スケジュール外でも)直ちにデータ取得を実行します。このメソッドを 1 日に複数回呼び出す必要がある場合は、代わりに商品サービスを使用して商品データを更新する必要があります。この方法は、ファイル入力が設定されているデータソースでのみ機能します。
HTTP リクエスト
POST https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}:fetch
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。取得するデータソース リソースの名前。形式: accounts/{account}/dataSources/{datasource}
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功すると、レスポンスの本文は空の JSON オブジェクトになります。
認可スコープ
次の 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。"],[[["Fetches product data immediately from a specified Merchant Center Account data source."],["This method is suitable for infrequent use (less than daily) and requires a data source with a file input."],["Uses the `POST` method and requires the `content` authorization scope."],["The request body should be empty, and a successful response will be an empty JSON object."],["Frequent data updates should be done via the Products service instead of this method."]]],[]]