数据源子 API 概览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
数据源是提交以下内容的基础:
借助 Merchant API 中的“数据源”子 API,您可以以编程方式管理如何向您的 Google Merchant Center 账号提供各种类型的数据。
借助 Data sources 子 API,您可以:
- 创建和配置不同类型的数据源,以满足您的特定数据提交需求。
- 检索有关现有数据源设置的详细信息。
- 管理主要数据源和补充数据源之间的关联。
- 针对基于文件的数据源,发起按需提取并检查上传状态。
以下指南详细介绍了常见用例,并提供了相关示例:
管理用于上传商品的 API 数据源:了解如何创建和配置主要数据源和补充数据源,这些数据源专门用于通过 API 上传商品信息。这包括为任何国家/地区、语言或特定目标设置数据源,以及将补充数据源与主要数据源相关联。
查看数据源配置:了解如何检索有关现有数据源的详细信息。本指南介绍了如何按 ID 获取特定数据源,以及如何列出与您的 Merchant Center 账号关联的所有数据源。
管理各种数据源类型:了解如何设置除 API 产品数据源之外的不同类型的数据源。这包括为本地商品目录、促销活动、商品评价和商家评价配置数据源。此外,本文档还介绍了如何在 Accounts 子 API 中管理自动 Feed 设置。
监控和触发基于文件的数据源处理:了解如何监控基于文件的数据源。本指南将介绍如何立即提取数据源,以及如何检索最新文件上传的处理状态,包括任何错误或警告。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eAutomated data sources streamline the process of sending product data to Google, ensuring the information is up-to-date.\u003c/p\u003e\n"],["\u003cp\u003eThe Merchant Data Sources API allows you to create and manage various data sources, including primary, supplemental, local inventory, regional inventory, promotion, product review, and merchant review data sources.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the Merchant Data Sources API to create data sources, set schedules, link sources, and manage data feeds.\u003c/p\u003e\n"],["\u003cp\u003eTo use the API, your account must have migrated to single locale feeds and data target split.\u003c/p\u003e\n"],["\u003cp\u003eGoogle offers auto-management of data sources, which automatically adds and updates products from your online store.\u003c/p\u003e\n"]]],["The Merchant Data Sources API manages product data sent to Google, supporting primary, supplemental, local, regional, promotion, and review data sources. Key actions include creating primary and supplemental sources, setting file upload schedules, and managing sources via files or API. You can also delete, fetch, get, list, patch, and link data sources. Primary data sources are the main inventory source, while supplemental sources update existing product data. Automatic data source management is available, and file upload status can be checked.\n"],null,["# Data sources sub-API overview\n\nData sources are the foundation for submitting your:\n\n- product listings\n- inventory information\n- promotions\n- customer reviews\n- and more\n\nThe Data sources sub-API within Merchant API lets you programmatically manage\nhow you provide various types of data to your Google Merchant Center account.\n\nWith the Data sources sub-API, you can:\n\n- Create and configure different types of data sources tailored to your specific data submission needs.\n- Retrieve detailed information about your existing data source setups.\n- Manage links between primary and supplemental data sources.\n- Initiate on-demand fetches and check the status of your uploads for file based data sources.\n\nThe following set of guides provides detailed instructions and examples for\ncommon use cases:\n\n- **[Manage API data sources for product\n uploads](/merchant/api/guides/data-sources/api-sources)**: learn how to\n create and configure primary and supplemental data sources specifically\n designed for uploading your product information with the API. This includes\n setting up data sources for any country, language or specific targets, and\n linking supplemental sources to primary ones.\n\n- **[View your data source\n configurations](/merchant/api/guides/data-sources/view-sources)**: discover\n how to retrieve details about your existing data sources. This guide covers\n fetching a specific data source by its ID and listing all data sources\n associated with your Merchant Center account.\n\n- **[Manage various data source\n types](/merchant/api/guides/data-sources/various-sources)**: explore how to\n set up different kinds of data sources beyond API product data sources. This\n includes configuring data sources for local inventory, promotions, product\n reviews, and merchant reviews. It also covers how to manage Autofeed\n settings within the Accounts sub-API.\n\n- **[Monitor and trigger file based data source\n processing](/merchant/api/guides/data-sources/monitor-status)**: understand\n how to monitor your file-based data sources. This guide explains how to\n trigger an immediate fetch for a data source and how to retrieve the\n processing status of your latest file uploads, including any errors or\n warnings."]]