rocket
Découvrez l'
API Merchant, qui succède officiellement à Content API for Shopping.
Valider et revendiquer l'URL pour Merchant Center
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Résumé
Un seul compte Merchant Center peut revendiquer une URL spécifique. Vous devez valider l'URL via votre compte Merchant Center pour prouver que vous disposez d'un accès administrateur au site Web, puis la revendiquer pour associer ses données produit à votre compte marchand.
Tenez compte des consignes suivantes lorsque vous choisissez une URL:
- Seuls les développeurs approuvés peuvent utiliser Content API for Shopping pour écraser une revendication de site Web.
Vous devez demander au demandeur existant de modifier l'URL de son compte. Si vous avez besoin d'aide, contactez votre responsable de compte technique.
Vous ne devez revendiquer que le niveau de domaine le plus élevé dont vous avez besoin. Les revendications à un niveau supérieur concernent les URL de niveau inférieur. Par exemple, un marchand qui revendique example.com
signifie qu'un autre marchand ne peut pas revendiquer merchant.example.com
ou example.com/merchant
.
Étapes manuelles
Valider une URL
- Connectez-vous à votre compte Merchant Center.
- Dans le menu de navigation, cliquez sur l'icône Outils.
- Dans la section Outils, sélectionnez Informations sur l'entreprise.
- Cliquez sur l'onglet Site Web.
- Saisissez l'URL, commençant par
http://
ou https://
. Utilisez un domaine que vous possédez et gérez.
- Cliquez sur Continuer.
- Choisissez l'une des options disponibles pour valider le site Web.
Revendiquer une URL
Revendiquer un site Web vous confère le droit exclusif de l'utiliser pour les données produit dans votre compte Merchant Center. Vous devez valider un site Web avant de pouvoir le revendiquer.
Après avoir validé le site Web, cliquez sur Revendiquer un site Web.
Si vous avez déjà créé un flux, vous devrez le récupérer après avoir revendiqué le site Web. Si vous utilisez Content API, vous devrez réimporter votre flux pour qu'il puisse être exploré de nouveau.
Pour en savoir plus, consultez Valider et revendiquer l'URL de votre site Web.
Étapes automatiques
Pour revendiquer un site Web à l'aide des API Google, deux étapes sont nécessaires. Il s'agit de valider le site Web à l'aide de l'API de validation de site, puis de le revendiquer avec Content API for Shopping.
Utilisez l'API de validation de site pour vérifier que vous avez accès au site Web. Plusieurs comptes Google peuvent valider l'accès au même site Web, mais un seul compte peut le revendiquer. Vous ne pouvez revendiquer un site Web
qu'après avoir validé votre accès à celui-ci.
Si le compte avec lequel vous vous authentifiez pour l'API Site Verification n'a pas accès au compte marchand pour lequel vous revendiquez un site Web, vous devez ajouter l'adresse e-mail d'un compte qui permet d'accéder au champ owners
avant d'appeler insert
ou update
.
Une fois la validation effectuée, les développeurs approuvés peuvent revendiquer le site Web dans leur compte Merchant Center à l'aide de la méthode accounts.claimwebsite
de Content API for Shopping. Pour en savoir plus, contactez votre responsable de compte technique.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/31 (UTC).
[null,null,["Dernière mise à jour le 2025/08/31 (UTC)."],[[["\u003cp\u003eOnly one Merchant Center account can claim a specific URL for product data, requiring verification and claiming through the account.\u003c/p\u003e\n"],["\u003cp\u003eURL claiming should be done at the highest necessary domain level as it impacts lower-level URLs, preventing other merchants from claiming them.\u003c/p\u003e\n"],["\u003cp\u003eWebsite verification can be done manually through the Merchant Center account or automatically using Google APIs for Site Verification and Content API for Shopping.\u003c/p\u003e\n"],["\u003cp\u003eApproved developers can use the Content API for Shopping to manage website claims, and assistance with claim conflicts can be obtained from Technical Account Managers.\u003c/p\u003e\n"],["\u003cp\u003eClaiming a website grants exclusive rights for product data usage within the associated Merchant Center account.\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."]]