rocket
认识一下
Merchant API
- Content API for Shopping 的正式替代产品。
update
获取有关 Merchant API 的新功能、问题修复和版本更新的最新信息。
验证并声明 Merchant Center 的网址
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
摘要
只有一个 Merchant Center 帐号可以声明特定网址的所有权。您必须通过 Merchant Center 帐号验证该网址,以证明您拥有该网站的管理员权限,然后声明该网址的所有权,将其商品数据与您的商家帐号相关联。
选择网址时,请遵循以下准则:
手动步骤
验证网址
- 登录 Merchant Center 帐号。
- 在导航菜单中,点击工具图标。
- 在工具下,选择商家信息。
- 点击网站标签页。
- 输入以
http://
或 https://
开头的网址。请使用您拥有并维护的网域。
- 点击继续。
- 选择可用选项之一来验证网站。
声明网址所有权
声明网站所有权后,您便拥有了使用该网站处理您 Merchant Center 帐号中的商品数据的专有权利。您必须先验证网站,然后才能声明对该网站的所有权。
验证网站后,点击声明网站所有权。
如果您已经创建了 Feed,那么在声明网站所有权后,您需要重新提取该 Feed。如果您使用的是 Content API,则需要重新上传 Feed,以便它能被重新抓取。
如需了解详情,请参阅验证网站网址并声明所有权。
自动设置步骤
要通过 Google API 声明网站所有权,您需要执行两个步骤。方法是使用 Site Verification API 验证网站,然后使用 Content API for Shopping 声明对网站的所有权。
使用 Site Verification API 验证您是否有权访问该网站。多个 Google 帐号可以验证对同一网站的访问权限,但只有一个帐号可以声明网站所有权。您必须先验证对网站的访问权限,然后才能声明对该网站的所有权。
如果您用于网站验证 API 的帐号无权访问您要声明其网站所有权的商家帐号,您应在调用 insert
或 update
之前将没有该验证的帐号的电子邮件地址添加到 owners
字段中。
通过验证后,获得批准的开发者可以使用 Content API for Shopping 中的 accounts.claimwebsite
方法声明网站所有权并关联到其 Merchant Center 帐号。如需了解详情,请与您的技术支持客户经理联系。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\u003cp\u003eOnly one Merchant Center account can claim a specific URL, requiring verification to demonstrate administrative access and link product data.\u003c/p\u003e\n"],["\u003cp\u003eURL claims should be made at the highest necessary domain level, as they impact lower-level URLs and restrict claims by other merchants.\u003c/p\u003e\n"],["\u003cp\u003eWebsite verification can be done manually through the Merchant Center account settings or automatically using Google APIs by approved developers.\u003c/p\u003e\n"],["\u003cp\u003eClaiming a website grants exclusive rights for product data usage on the associated Merchant Center account, requiring prior verification.\u003c/p\u003e\n"],["\u003cp\u003eAfter claiming a website, existing feeds might need to be refetched or re-uploaded to ensure updated information is reflected.\u003c/p\u003e\n"]]],[],null,["# Verify and claim URL for Merchant Center\n\nSummary\n-------\n\nOnly one Merchant Center account can claim a specific URL. You must\nverify the URL through your Merchant Center account to show that\nyou have administrative access to the website, and then claim that URL to link\nits product data to your merchant account.\n\nConsider the following guidelines when choosing a URL:\n\n- Only approved developers can use the Content API for Shopping to overwrite a website claim.\n- You need to have the existing claimant change the URL on\n their account. If you need help, contact your Technical Account Manager.\n\n- You should only claim the highest domain level you need. Claims at higher\n levels affect lower level URLs. For example, a merchant claiming\n `example.com` means that another merchant can't claim\n `merchant.example.com` or `example.com/merchant`.\n\nManual steps\n------------\n\n### Verify a URL\n\n1. [Sign in](//merchants.google.com/mc/) to your Merchant Center account.\n2. From the navigation menu, click the tools icon.\n3. Under **Tools** , select **Business information**.\n4. Click the **Website** tab.\n5. Enter the URL, starting with `http://` or `https://`. Use a domain that you own and maintain.\n6. Click **Continue**.\n7. Choose one of the available options to verify the website.\n\n### Claim a URL\n\nClaiming a website gives you the exclusive right to use that website for product\ndata on your Merchant Center account. You must verify a website before you can\nclaim it.\n\nAfter verifying the website, click **Claim website**.\n\nIf you've already created a feed, you'll need to refetch it after you've claimed\na website. If you use the Content API, you'll need to re-upload your feed so it\ncan be recrawled.\n\nSee [Verify and claim your website URL](//support.google.com/merchants/answer/176793) for more detail.\n\nAutomatic steps\n---------------\n\nThere are two steps to claim a website with Google APIs. These are verifying the\nwebsite with the [Site Verification API](/site-verification/v1/getting_started) and then claiming the website with the\n[Content API for Shopping](/shopping-content/reference/rest/v2.1/accounts/claimwebsite).\n\n1. Use the [Site Verification API](/site-verification/v1/getting_started) to verify that you have access to the\n website. Multiple Google accounts can verify access to the same website, but\n only one account can claim the website. You can only claim a website after\n you have verified your access to it.\n\n If the account you authenticate with for the Site Verification API\n doesn't have access to the merchant account you're claiming a website for,\n you should add the email of an account that doesn to the\n [`owners`](/site-verification/v1/webResource#owners) field before calling\n [`insert`](/site-verification/v1/invoking#exampleInsert) or\n [`update`](/site-verification/v1/invoking#exampleUpdate).\n2. Once verified, approved developers can use the [`accounts.claimwebsite`](/shopping-content/reference/rest/v2.1/accounts/claimwebsite)\n method in the Content API for Shopping to claim the website to their\n Merchant Center account. Contact your Technical Account Manager for details."]]