rocket
Découvrez l'
API Merchant, qui succède officiellement à Content API for Shopping.
Administrer un compte existant
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Résumé
Pour gérer un compte marchand existant, procédez comme suit : Il peut s'agir de votre propre compte marchand ou du compte marchand d'un client.
Étapes manuelles
Voici comment vous pouvez administrer un sous-compte:
- Utilisateur avec accès administrateur (recommandé)
- Si vous devez utiliser l'interface utilisateur de Merchant Center, le marchand peut ajouter votre compte Google en tant qu'utilisateur administrateur de son compte Merchant Center.
- Compte de service (recommandé)
- Si vous n'avez pas besoin de l'UI Merchant Center, vous pouvez vous authentifier via un compte de service, puis ajouter l'ID de compte de service en tant qu'utilisateur sur le compte du marchand.
- Gestion complète (non recommandé)
Nous vous recommandons l'une des options ci-dessus, sauf si vous n'avez besoin de gérer qu'un seul sous-compte.
Si le marchand souhaite que vous gériez entièrement son compte Merchant Center et que vous disposez d'un MC, vous pouvez procéder comme suit:
- Rassemblez les ID de votre MC et du compte du marchand.
- Dans la barre de menu en haut à droite, cliquez sur le bouton ? point d'interrogation > Centre d'aide et assistance > Nous contacter.
Demandez à convertir le compte du marchand en sous-compte de votre MC, et fournissez l'ID de votre MC et l'ID du compte du marchand.
Vous pouvez contacter à nouveau Google pour annuler ce processus.
Étapes automatiques
Content API for Shopping vous permet de demander, d'approuver et de supprimer des associations entre votre MC et d'autres comptes marchand. Procédez comme suit :
- Utilisez Content API for Shopping et authentifiez-vous en tant que client OAuth2.
- Demandez l'association d'un autre compte marchand.
- Demandez au marchand d'approuver l'association.
Vous pouvez également utiliser Content API for Shopping pour répertorier et supprimer des liens existants.
Votre solution Shopping peut présenter au marchand un écran de consentement permettant à votre application OAuth2 d'accéder à son compte marchand.
Ce processus nécessite toujours l'utilisation de l'interface utilisateur de la console Google APIs.
Pour en savoir plus et obtenir un exemple de code, consultez la page Utiliser OAuth.
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\u003eManage existing merchant accounts through administrative user or service account access for utilizing the Merchant Center UI or API respectively.\u003c/p\u003e\n"],["\u003cp\u003eFull management is discouraged; if necessary, contact Google support to convert the merchant's account to a sub-account.\u003c/p\u003e\n"],["\u003cp\u003eAutomate account linking using the Content API for Shopping to request, approve, and remove connections.\u003c/p\u003e\n"],["\u003cp\u003eObtain merchant consent via a screen within your Shopping solution for your application's access to their account.\u003c/p\u003e\n"]]],[],null,["# Administer an existing account\n\nSummary\n-------\n\nYou can use the following steps to manage an existing merchant account. This\nmight be your own merchant account, or a client's merchant account.\n\nManual steps\n------------\n\nHere are the ways you can administer a sub-account:\n\nAdministrative user (recommended)\n: If you need to use the [Merchant Center UI](https://merchants.google.com), the\n merchant can add your Google account as an administrative user for their\n Merchant Center account.\n\nService account (recommended)\n: If you don't need the Merchant Center UI, you can authenticate through\n [a service account](/shopping-content/guides/how-tos/service-accounts), then add the service account ID\n as a user on the merchant's account.\n\nFull management (not recommended)\n\n: We recommend one of the preceding options unless you only need to manage one\n sub-account.\n\n If the merchant wants you to fully manage their Merchant Center account and\n you have an MCA, you can do the following:\n\n 1. Gather the IDs for your MCA and for the merchant's account.\n 2. In the top right menu bar, click the **?** question mark **\\\u003e Help center\n and support \\\u003e Contact us**.\n 3. Request to convert the merchant's account to a sub-account of your MCA,\n and provide the ID of your MCA account and the ID of the merchant's\n account.\n\n You can contact Google again to undo this process.\n\nAutomatic steps\n---------------\n\nYou can use the Content API for Shopping to request, approve, and remove links\nbetween your MCA and other Merchant accounts. Here are the steps:\n\n1. Use the Content API for Shopping and [authenticate as an OAuth2 client](/shopping-content/guides/how-tos/authorizing).\n2. [Request a link](/shopping-content/guides/flagging/request) to another Merchant account.\n3. Ask the merchant to [approve the link](/shopping-content/guides/flagging/approve).\n\nYou can also use the Content API for Shopping to\n[list](/shopping-content/guides/flagging/list) and\n[remove](/shopping-content/guides/flagging/remove) existing links.\n\nYour Shopping solution can present the merchant with a consent screen to give\nyour OAuth2 application access to their merchant account.\n\nThis process still requires use of the [Google API Console](//console.developers.google.com/) UI.\n\nSee [Using OAuth](/shopping-content/guides/how-tos/authorizing#OAuth2Authorizing) for more details and sample code."]]