rocket
Découvrez l'API Merchant, qui succède officiellement à Content API for Shopping.
updateDécouvrez les dernières nouveautés
concernant les nouvelles fonctionnalités, les corrections de bugs et les mises à jour de l'API Merchant.
point_of_sale
Découvrez comment gérer votre entreprise et vos produits sur Google, et comment accéder de manière programmatique à des données, des insights et des fonctionnalités uniques à grande échelle.
Commencez à utiliser l'API Merchant dès aujourd'hui !
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Summary
To use the Content API for Shopping with a given Merchant Center account, you
must set up an API Console project. API Console projects help you manage API
access and authentication for your Content API solution.
Manual steps
There are two ways you can authenticate to use the Content API for Shopping
depending on whose merchant accounts you need to access:
Access your own Merchant Center account
If you only need to access your account (and sub-accounts, if using a
multi-client account), then we suggest using service accounts. See the
Service accounts guide for the steps to create a service account from the
Merchant Center.
Access other merchants' accounts
If you plan to manage other Merchant Center accounts as a third-party, see the
OAuth guide.
Once you have the appropriate authentication tokens, you can test your
authentication setup with the Shopping samples, which support both service
account and OAuth2 client authentication. These samples use the
Content API client libraries, which we recommend using in your own
applications if you're using a supported language. Otherwise, you can use the
REST API directly.
Automatic steps
Not available for this process.
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/28 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/08/28 (UTC)."],[[["\u003cp\u003eTo use the Content API for Shopping, you need to set up an API Console project for API access and authentication.\u003c/p\u003e\n"],["\u003cp\u003eYou can access your own Merchant Center account using service accounts or access other merchants' accounts via OAuth.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication can be tested using Shopping samples that support both service account and OAuth2 client authentication, utilizing the Content API client libraries or the REST API.\u003c/p\u003e\n"]]],[],null,[]]