你可以透過 Products 子 API,以程式輔助方式管理 Google Merchant Center 中的產品目錄。你可以建立、擷取、更新及刪除產品,直接將系統與 Google 整合,彈性十足。
Merchant API 的重要概念是區分你提交的資料和 Google 使用的最終產品。這項區隔可提供更清楚的產品資料生命週期模型,並讓您更精確地控管產品資訊。API 會透過兩個主要資源反映這點:
ProductInput:
代表你提交至特定資料來源的原始產品資料。
你可以將這視為你在動態饋給檔案中上傳的資料列,或是透過 API 呼叫提交的資料,然後再由 Merchant Center 處理。您可以使用這項資源進行所有寫入作業 (insert、patch、delete)。
Product:
這是唯讀資源,代表最終處理完畢的產品,會顯示在 Merchant Center 和 Google 平台上。在套用所有動態饋給規則和處理程序後,系統會根據一項主要ProductInput和零或多項補充ProductInput資源建立動態饋給。這項資源包含產品的最終狀態和任何資料品質問題。您可以使用這項資源執行所有讀取作業 (get、list)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-01-23 (世界標準時間)。"],[],["The Merchant Products API allows programmatic product data management via `productInputs` and `products` resources. Actions include inserting `productInput` data with required fields like `channel`, `offerId`, `contentLanguage`, and `feedLabel` using `accounts.productInputs.insert`. Processed products can be retrieved using `accounts.products.get` and listed with `accounts.products.list`. Product inputs are deleted using `accounts.productInputs.delete`, specifying the data source. Products are built from primary and supplemental data sources, enabling real-time catalog management. You can use Batch mode to manage many products.\n"]]