Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 UTC."],[[["To use the Content API for Shopping, you need to set up an API Console project for API access and authentication."],["You can access your own Merchant Center account using service accounts or access other merchants' accounts via OAuth."],["Authentication 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."]]],[]]