使用新的 Merchant Center 账号和凭据,您应该准备好使用 Content API for Shopping 测试您的代码了。如果您刚开始使用 Content API,请参阅入门指南,了解如何将测试环境与 Python 客户端库搭配使用;或者访问我们的示例和库页面,在其中找到可用于测试新测试环境的代码示例。
API 仍会执行验证检查,这些检查会针对常见错误(例如缺少必填字段)提供反馈,但不会执行数据质量检查,因为任何上传的商品都会自动被拒批。
[null,null,["最后更新时间 (UTC):2024-11-08。"],[[["The Merchant API is the new version of the Content API for Shopping and represents the future of the platform."],["Developers are encouraged to create a separate Merchant Center account solely for testing the API to avoid impacting live data."],["Setting up a test environment involves creating a new Google account, Merchant Center account, and developer project with the Content API enabled."],["While data quality checks aren't performed on test accounts, the API still conducts validation checks to provide feedback on errors."],["Testing accounts will eventually be suspended due to invalid product information, which is expected and won't affect Content API testing."]]],["The Merchant API beta, the new version of the Content API for Shopping, is introduced. To test this API, create a separate Merchant Center test account. This includes creating a new Google account, setting up a new Merchant Center account without website validation, and creating a new developer project to enable the Content API. Generate credentials, ideally using service accounts, for testing. Note that the test account will likely be suspended for invalid products, but this will not impact the API testing.\n"]]