Setting Up Your Merchant Center Account

Since the Content API allows you to programmatically interact with Google Merchant Center, the first step to using the Content API is setting up and testing your Merchant Center account.

To create and test your Merchant Center account, complete the following steps:

  1. To create a new Merchant Center account, complete the steps in Sign up for Google Merchant Center.
  2. Configure the account settings required for using the Content API:
    1. Verify and claim your website URL.
    2. Set up tax settings (US only).
  3. In Merchant Center, find your merchant ID, which is the number at the top-right corner of the page, above the account email address.
  4. In the API Explorer for the products.list method:
    1. Enter your merchantId.
    2. In the Credentials section, select Google OAuth 2.0 and API key.
    3. Click the Execute button.
    4. If prompted, sign in with the Google account associated with your Merchant Center account.

If your Merchant Center account is configured correctly, the request succeeds. However, since you just created a new account, the products.list method doesn’t return any products. Later in this guide, you will add a product and then call products.list again to confirm that the operation succeeded.