資料來源子 API 總覽
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資料來源是提交下列項目的基礎:
- 產品資訊
- 商品目錄資訊
- 促銷活動
- 顧客評論
- 和其他商品
Merchant API 中的資料來源子 API 可讓您透過程式輔助,管理如何將各種資料提供給 Google Merchant Center 帳戶。
透過 Data sources 子 API,您可以:
- 建立及設定不同類型的資料來源,滿足特定資料提交需求。
- 擷取現有資料來源設定的詳細資訊。
- 管理主要和補充資料來源之間的連結。
- 針對以檔案為基礎的資料來源,啟動隨選擷取作業,並檢查上傳狀態。
下列指南提供常見用途的詳細操作說明和範例:
管理產品上傳的 API 資料來源:瞭解如何建立及設定主要和補充資料來源,專門用於透過 API 上傳產品資訊。包括為任何國家/地區、語言或特定目標設定資料來源,以及將補充來源連結至主要來源。
查看資料來源設定:瞭解如何擷取現有資料來源的詳細資料。本指南說明如何依 ID 擷取特定資料來源,以及列出與 Merchant Center 帳戶相關聯的所有資料來源。
管理各種資料來源類型:瞭解如何設定 API 產品資料來源以外的各種資料來源。包括設定店面商品目錄、促銷活動、產品評論和商家評論的資料來源。此外,也會說明如何管理 Accounts 子 API 中的自動動態饋給設定。
監控及觸發檔案資料來源處理程序:瞭解如何監控檔案資料來源。本指南說明如何立即擷取資料來源,以及如何擷取最新檔案上傳的處理狀態,包括任何錯誤或警告。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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."]]