通过 Merchant Center 配置 API 身份验证
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
借助 Content API,您可以使用 Merchant Center 设置 API 身份验证。虽然我们已移除此功能,但您现有的密钥仍然有效。
您可以继续使用它们。
重要注意事项

如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# Configure API authentication from Merchant Center\n\nWith Content API, it was possible to set up API authentication using Merchant\nCenter. While we have removed this capability, your existing keys remain valid.\nYou can continue to use them.\n\nImportant things to know\n------------------------\n\n- You need not take any immediate action.\n- Your access to the API continues.\n- To enable Merchant API for a Google Cloud project, you must have the Admin\n role (`roles/admin`). If you have the necessary permissions, do the\n following:\n\n 1. Visit [Google Cloud Console](https://console.cloud.google.com).\n 2. Select the relevant Google Cloud project. If you don't find the project, you don't have access. You will need to create another Google Cloud project. For instructions, see [Authorize access to your\n account](/merchant/api/guides/authorization/access-your-account).\n 3. If you have access, in the search bar, type \"Merchant API\".\n 4. In the resulting list, select **Merchant API**.\n 5. On the **Product details** screen for Merchant API, select **Enable**.\n 6. You should see a screen that resembles the following."]]