rocket
隆重推出
Merchant API
- Content API for Shopping 的官方後繼產品。
update
掌握最新資訊
瞭解 Merchant API 的新功能、錯誤修正和更新。
add_alert
注意:Content API for Shopping 將於 2026 年 8 月 18 日停用。
啟用自動改善功能
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
你可以允許 Google 根據網站到達網頁,自動更新產品、圖片和運送預估時間。
自動改善功能預設為關閉,但適用於購物廣告、Buy on Google 和免費產品資訊。本指南說明如何為商家帳戶啟用自動改善功能,以及啟用後會更新哪些內容。
您可以在AccountAutomaticImprovements
資源中查看帳戶的自動改善設定。
商品項目更新
商品自動更新功能可以改善使用者體驗、帶來更多產品流量並提升轉換率,原因是顧客在廣告或免費產品資訊中能夠看見正確的產品價格和供應情形。如要瞭解 Buy on Google 產品資訊的特定行為,請參閱「關於商品自動更新功能」。
Google 會使用在貴商家網站上找到的結構化資料標記和進階資料擷取工具,更新產品的下列屬性:
price
Google 會更新有效
price
,系統會根據你網站上的價格,為購物產品設定價格。
availability
Google 會更新
availability
購物產品,如果系統在你的網站上找到 out_of_stock
註解,就會將產品的狀態設為 out_of_stock
。
如要讓 Google 根據網站更新 out_of_stock
購物產品,請將 allowStrictAvailabilityUpdates
設為 true
。in_stock
strictAvailability
Google 會更新
availability
out_of_stock
購物產品,如果網站上找到 in_stock
註解,則為 in_stock
。此外,您還必須啟用 availability
更新。
如果使用 out_of_stock
避免特定有貨商品 (例如存貨量低的商品) 獲得流量,建議將 allowStrictAvailabilityUpdates
設為 false
,關閉嚴格的供應情形更新。
condition
Google 會更新
condition
購物產品,並根據網站上的資訊。
使用
accountItemUpdatesSettings
資源管理帳戶的商品自動更新功能。
如果子帳戶未提供商品自動更新設定,系統會沿用進階帳戶的設定。您可以在 accountItemUpdates
中,查看以 effective
開頭的欄位,瞭解帳戶的目前設定。以 effective
開頭的欄位為唯讀,顯示帳戶的目前設定。如果變更子帳戶的 accountItemUpdatesSettings
,以 effective
開頭的欄位會反映您的變更,而非沿用的設定。
以下是 accountItemUpdates
資源的範例:
{
"accountItemUpdatesSettings": {
"allowPriceUpdates": true,
"allowAvailabilityUpdates": false,
"allowStrictAvailabilityUpdates": false
"allowConditionUpdates": true
}
,
"effectiveAllowPriceUpdates": true,
"effectiveAllowAvailabilityUpdates": false,
"effectiveAllowStrictAvailabilityUpdates": false
"effectiveConditionUpdates": true
}
圖片
圖片自動改善功能會更新產品圖片,提升圖片品質,並確保圖片符合規定。圖片改善功能僅適用於遭到拒登的產品。舉例來說,Google 可以自動移除圖片重疊元素。如果成功,系統就會更新圖片並核准產品。
使用 accountImageImprovementSettings
資源管理帳戶的圖片自動改善功能。
如果子帳戶未提供圖片自動改善設定,系統會沿用進階帳戶的設定。您可以在 accountImageImprovements
的「effectiveAllowAutomaticImageImprovements
」欄位中,查看帳戶的目前設定。如果變更子帳戶的設定,effectiveAllowAutomaticImageImprovements
會反映您的變更,而非沿用設定。
詳情請參閱「關於圖片自動改善工具」。
以下是啟用圖片改善工具的回應範例:
{
"accountImageImprovementsSettings": {
"allowAutomaticImageImprovements": true
}
"effectiveAllowAutomaticImageImprovements": true
}
運費
Google 會根據你的歷來成效,而非運送設定中的預估值,自動更新預估送達時間。依據成效估算的日期資訊會顯示在廣告和免費產品資訊中。
使用
accountShippingImprovements
欄位管理運送服務自動改善功能。將 allowShippingImprovements
設為 true
,允許 Google 自動更新預估運送時間。
不適用於進階帳戶。這項設定不會沿用。如要進一步瞭解自動運送預估和 Buy on Google 產品資訊專屬資訊,請參閱「如何讓 Google 計算運送速度」。
範例如下:
{
"allowShippingImprovements": true
}
由於運送改善項目不會沿用,因此 accountShippingImprovements
沒有 effective
欄位。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-13 (世界標準時間)。
[null,null,["上次更新時間:2025-08-13 (世界標準時間)。"],[[["\u003cp\u003eGoogle Merchant API is the new version of the Content API for Shopping and allows automated product updates.\u003c/p\u003e\n"],["\u003cp\u003eAutomatic improvements can update product information, images, and shipping estimates based on your website data.\u003c/p\u003e\n"],["\u003cp\u003eYou can enable and manage these automatic updates through specific settings in your Merchant Center account.\u003c/p\u003e\n"],["\u003cp\u003eAutomatic item updates improve user experience, increase product visibility, and enhance conversion rates.\u003c/p\u003e\n"],["\u003cp\u003eGoogle can also enhance product images and provide performance-based shipping estimates.\u003c/p\u003e\n"]]],["The Merchant API beta is introduced as the new version of the Content API for Shopping. Google can automatically update product `price`, `availability`, `condition`, and images, based on website data. Enabling these features requires setting up structured data. Shipping estimates can also be automatically updated based on performance. Account settings for these automatic improvements are managed through `accountItemUpdatesSettings`, `accountImageImprovementSettings`, and `accountShippingImprovements` resources, with sub-accounts inheriting settings, except shipping, from advanced accounts.\n"],null,["# Enable automatic improvements\n\nYou can allow Google to update your products, images, and shipping estimates\nautomatically based on your website's landing page.\n\n[Automatic improvements](//support.google.com/merchants/answer/3246284) are\nturned off by default, but are available for Shopping ads, Buy on Google, and\nfree listings. This guide explains how you can enable automatic improvements for\nyour merchant account, and what's updated if you do.\n\nYou can view the automatic improvements settings for your account in the\n[`AccountAutomaticImprovements`](/shopping-content/reference/rest/v2.1/accounts#accountautomaticimprovements)\nresource.\n\nItem updates\n------------\n\nAutomatic item updates lead to an improved user experience, more traffic to your\nproducts, and to higher conversion rates because customers see the correct price\nand availability of your products in your ads or free listings. For behavior\nspecific to Buy on Google listings, see [About automatic item\nupdates](//support.google.com/merchants/answer/3246284).\n\nGoogle uses the [structured data\nmarkup](//support.google.com/merchants/answer/6069143) we find on your website,\nand advanced data extractors, to update the following attributes of your\nproducts:\n\n`price`\n\n: Google updates the active\n\n [`price`](//support.google.com/merchants/answer/6324371) for your Shopping\n products based on the prices found on your website.\n\n`availability`\n\n: Google updates the\n\n [`availability`](//support.google.com/merchants/answer/6324448) of Shopping\n products to `out_of_stock` if an `out_of_stock` annotation is found on your\n website.\n\n If you want Google to update `out_of_stock` Shopping products to `in_stock`\n based on your website too, set `allowStrictAvailabilityUpdates` to `true`.\n\n`strictAvailability`\n\n: Google updates the\n\n [`availability`](//support.google.com/merchants/answer/6324448) of\n `out_of_stock` Shopping products to `in_stock` if an `in_stock` annotation\n is found on your website. You must also enable `availability` updates.\n\n If you use `out_of_stock` to prevent traffic to specific in-stock items, for\n example, items with low stock, you may want to turn off strict availability\n updates by setting `allowStrictAvailabilityUpdates` to `false`.\n\n`condition`\n\n: Google updates the\n\n [`condition`](//support.google.com/merchants/answer/6324469) of your\n Shopping products based on the information found on your website.\n| **Important:** Before you enable automatic item updates, [set up structured\n| data](//support.google.com/merchants/answer/7331077) on your website.\n\nUse the\n[`accountItemUpdatesSettings`](/shopping-content/reference/rest/v2.1/accounts#AccountItemUpdatesSettings)\nresource to manage automatic item updates for your account.\n\nIf automatic item update settings aren't provided for a sub-account, the\nsettings are inherited from the [advanced\naccount](//support.google.com/merchants/answer/188487). You can check the\ncurrent settings for your account in the fields that start with `effective` in\n[`accountItemUpdates`](/shopping-content/reference/rest/v2.1/accounts#AccountItemUpdates). Fields that\nstart with `effective` are read-only, and show the current setting for your\naccount. If you change the `accountItemUpdatesSettings` for your sub-account,\nthe fields that start with `effective` reflect your changes instead of the\ninherited settings.\n\nHere's a sample\n[`accountItemUpdates`](/shopping-content/reference/rest/v2.1/accounts#AccountItemUpdates) resource: \n\n {\n \"accountItemUpdatesSettings\": {\n \"allowPriceUpdates\": true,\n \"allowAvailabilityUpdates\": false,\n \"allowStrictAvailabilityUpdates\": false\n \"allowConditionUpdates\": true\n }\n ,\n \"effectiveAllowPriceUpdates\": true,\n \"effectiveAllowAvailabilityUpdates\": false,\n \"effectiveAllowStrictAvailabilityUpdates\": false\n \"effectiveConditionUpdates\": true\n }\n\nImages\n------\n\nAutomatic image improvements update your product images to improve quality, and\nensure they [meet requirements](//support.google.com/merchants/answer/6324350).\nImage improvements only apply to disapproved products. For example, Google can\nautomatically remove [image\noverlays](//support.google.com/merchants/answer/6101131). If successful, the\nimage is updated and approved.\n\nUse the\n[`accountImageImprovementSettings`](/shopping-content/reference/rest/v2.1/accounts#AccountImageImprovementsSettings)\nresource to manage automatic image improvements for your account.\n\nIf automatic image improvement settings aren't provided for a sub-account, the\nsettings are inherited from the [advanced\naccount](//support.google.com/merchants/answer/188487). You can check the\ncurrent settings for your account in the\n`effectiveAllowAutomaticImageImprovements` field of\n[`accountImageImprovements`](/shopping-content/reference/rest/v2.1/accounts#accountimageimprovements).\nIf you change the settings for a sub-account,\n`effectiveAllowAutomaticImageImprovements` reflects your changes instead of the\ninherited settings.\n\nFor more information, see [About automatic image\nimprovements](//support.google.com/merchants/answer/9242973).\n\nHere's a sample response where image improvements are enabled: \n\n {\n \"accountImageImprovementsSettings\": {\n \"allowAutomaticImageImprovements\": true\n }\n\n \"effectiveAllowAutomaticImageImprovements\": true\n }\n\nShipping\n--------\n\nGoogle can automatically update your [estimated delivery\ntime](//support.google.com/merchants/answer/7409926) based on your historical\nperformance, rather than the estimates in your shipping settings. The\nperformance-based estimates show on ads and free listings.\n\nUse the\n[`accountShippingImprovements`](/shopping-content/reference/rest/v2.1/accounts#accountshippingimprovements)\nfield to manage automatic shipping improvements. Set `allowShippingImprovements`\nto `true` to allow Google to automatically update your estimated delivery time.\n\nNot available for [advanced\naccounts](//support.google.com/merchants/answer/188487). This setting isn't\ninherited. For more information about automatic shipping estimates and\ninformation specific to Buy on Google listings, see [About letting Google\ncalculate your shipping speeds](//support.google.com/merchants/answer/10165931).\n\nHere's an example: \n\n {\n \"allowShippingImprovements\": true\n }\n\nThere are no `effective` fields for [`accountShippingImprovements`](/shopping-content/reference/rest/v2.1/accounts#accountshippingimprovements) because shipping\nimprovements aren't inherited."]]