除了網路商店,商家也可以上傳本地商店的產品資料。透過 Content API for Shopping,商家現在能將 Merchant Center 帳戶連結至適當的商家檔案,並調整放送店面商品目錄廣告 (LIA) 產品所需的其他設定。以下將逐步說明如何為 Merchant Center 帳戶設定店面商品目錄廣告資訊。
事前準備
本指南假設您已擁有 Merchant Center 帳戶和商家檔案,且已熟悉 Content API for Shopping 的基本概念。如要進一步瞭解如何建立商家檔案,請參閱「註冊商家檔案」一文。
在本指南的其餘部分,我們會使用下列帳戶資訊範例:
Merchant Center
管理帳戶 (方法呼叫中的 merchantId 參數):12345
包含店面產品的帳戶 (方法呼叫中的 accountId 參數):67890
商家檔案
管理員帳戶 (admin@example.com) 可存取:
所有商家帳戶 (包括下列帳戶以及未列出的其他商家帳戶)
共 82 家門市
企業帳戶:
金州,20 個地點,由 california@example.com 管理
Sunshine-State,共 15 個地點,由 florida@example.com 管理
帝國,有 25 個地點,由newyork@example.com管理
店面商品目錄廣告新手上路程序所需的其他資訊
美國境內英語地區的商品目錄驗證聯絡人:商品目錄管理員 <invcheck@example.com>
本指南中的範例是可視需要以 JSON 內容做為主體的 REST HTTP 要求。只有 GET 方法能包含回應。此外,如果 JSON 物件欄位與目前的主題無關,回應中可能會省略 JSON 物件欄位,因此 Content API 的實際回應可能包含更多資訊。您可以參閱參考說明文件中適用於合適方法的「試用」一節,試用本指南中的步驟,或使用我們的用戶端程式庫,使用偏好的程式設計語言開發解決方案。
[[["容易理解","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"]],["上次更新時間:2025-08-13 (世界標準時間)。"],[],["The document introduces the beta Merchant API, the new version of the Content API for Shopping, and explains how merchants can use it to upload product data for both online and local stores. It details the onboarding process for Local Inventory Ads (LIA), including linking a Merchant Center account with a Business Profile and configuring necessary settings. Key actions involve configuring target countries for LIA, linking the Business Profile, and verifying inventory, all of which can be done in parallel. It references using HTTP and JSON for requests.\n"],null,[]]