rocket
认识一下
Merchant API
- Content API for Shopping 的正式替代产品。
update
获取有关 Merchant API 的新功能、问题修复和版本更新的最新信息。
维护商品 Feed
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
摘要
某些商品数据(如价格和库存状况)会随着时间而自然变化。
您需要定期维护产品 Feed,以确保这些信息是最新的。
您可以使用补充 Feed 和 Products API 更新商品数据。补充 Feed 只能在 Merchant Center 界面中创建,并且必须与主要 Feed 相关联。
手动步骤
要使用补充 Feed 维护您的商品目录,请参阅创建补充 Feed。
您还可以使用自动商品更新使价格和库存状况信息保持最新。如果商品的价格或库存状况与当前存储在 Merchant Center 中的信息不同,Merchant Center 可以使用来自您网站的嵌入式结构化数据更新商品。
自动商品更新旨在解决商品价格和库存状况方面的小问题,而不是作为更新商品数据的主要方法。建议将这些信息与补充 Feed 和 Content API 结合使用。
如需启用自动商品更新功能,请按照自动商品更新简介中的步骤操作。
自动设置步骤
如需使用 Content API for Shopping 更新商品信息,请使用 Products API。
您可以使用 insert
和 update
方法来创建和更新各个项。
与商品插入和更新一样,可以使用 products.custombatch
方法在单个 Content API for Shopping 调用中批量处理多项商品目录更新。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\u003cp\u003eProduct data, such as price and availability, requires regular maintenance and updates to ensure accuracy in your product feed.\u003c/p\u003e\n"],["\u003cp\u003eSupplemental feeds, created within the Merchant Center UI and linked to a primary feed, offer a way to update product data, alongside the Products API.\u003c/p\u003e\n"],["\u003cp\u003eAutomatic item updates, enabled through specific settings, can automatically adjust product price and availability based on your website's structured data but should complement, not replace, other update methods.\u003c/p\u003e\n"],["\u003cp\u003eThe Products API, including its \u003ccode\u003einsert\u003c/code\u003e and \u003ccode\u003eupdate\u003c/code\u003e methods, enables programmatic creation and updates of individual product data, while batch updates are possible using the \u003ccode\u003eproducts.custombatch\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,["# Maintain a product feed\n\nSummary\n-------\n\nSome product data, like price and availability, naturally changes over time.\nYou need to maintain your product feed regularly to keep this information\nup-to-date.\n\nYou can use supplemental feeds and the [Products API](/shopping-content/guides/products/products-api) to update product\ndata. Supplemental feeds can only be created in the\n[Merchant Center UI](https://merchants.google.com), and they must be linked to a primary\nfeed.\n\nManual steps\n------------\n\nTo maintain your inventory with supplemental feeds, see [Create a supplemental\nfeed](//support.google.com/merchants/answer/7439058#supplemental).\n\nYou can also use [automatic item updates](//support.google.com/merchants/answer/3246284) to keep\nprice and availability information up-to-date. Merchant Center can use embedded\nstructured data from your website to update products if the price or\navailability differs from the information currently stored in the Merchant Center.\n\nAutomatic item updates are designed to fix small problems with product\nprice and availability, not to be the main method of updating product data. You\nshould use them in addition to supplemental feeds and the Content API.\n\nTo enable automatic item updates, follow the steps in\n[About automatic item updates](//support.google.com/merchants/answer/3246284).\n\nAutomatic steps\n---------------\n\nTo update information product information with the Content API for Shopping,\nuse the [Products API](/shopping-content/guides/products/products-api).\n\nYou can use the [`insert`](/shopping-content/guides/products/products-api#productsinsert) and [`update`](/shopping-content/guides/products/products-api#productsupdate) methods to create and update\nindividual items.\n\nLike product inserts and updates, multiple inventory updates can be batched into\na single Content API for Shopping call using the [`products.custombatch`](/shopping-content/reference/rest/v2.1/products/custombatch) method."]]