Method: accounts.dataSources.fetch
立即(即使在提取时间表之外)对 Merchant Center 账号中的数据源执行数据提取。如果您每天需要调用此方法多次,则应改用商品服务来更新商品数据。此方法仅适用于设置了文件输入的数据源。
HTTP 请求
POST https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}:fetch
网址采用 gRPC 转码语法。
路径参数
参数 |
name |
string
必需。要提取的数据源资源的名称。格式:accounts/{account}/dataSources/{datasource}
|
响应正文
如果成功,响应正文将为空的 JSON 对象。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/content
如需了解详情,请参阅 OAuth 2.0 Overview。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-23。
[null,null,["最后更新时间 (UTC):2025-01-23。"],[[["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."]]],[]]