eid-mubarak
Eid Mubarak

How To Auto-sync Product Feed To Google Merchant Center

When you own a WooCommerce store and want to sell your products in Google Shopping for more exposure and sales, you need to upload your product feed to the Google Merchant Center.

You can list your products to the Google Merchant Center either in a manual way or you can use the Content API method to send the feed through the Product Feed Manager plugin.

To send the feed in a manual way, you need to login to your Google Merchant Center and submit the feed manually. This is the easier process to submit your feed to the Google Merchant Center, but there’s a catch to this. You will have to login to the Google Merchant Center and upload the feeds manually every time.

But if you use the Content API method, you can send the feed from the Product Feed Manager plugin with one click. No matter how many feeds you want to send, you only have to click on the Send to Google option after the feed generation is completed, and your feed will be sent to the Google Merchant Center.

However, to use this you need to authorize with the Google Merchant Center first, and to do so you will need the following information:

  1. Client ID
  2. Client Secret
  3. Merchant ID
  4. Redirect URL
Google Merchant Center Authorization Section

You will see that the Redirect URL is already added, but you need to collect the Client ID, Client Secret, and Merchant ID to authorize with the Google Merchant Center.

Follow the steps to learn how to auto-sync product feed to Google Merchant Shop:

**To view links, please right-click and Open In New Tab to avoid leaving the page every time.

Step 1: Create a Project #

1. Go to https://console.developers.google.com/ or https://console.cloud.google.com/

Google Cloud Platform - Developers Console

2. On the top-left side, click on Select Project.

3. Choose an existing Project or create a new one.

Google Cloud Platform - Select Project

4. If you choose to create a Project, it will take you to New Project Page.

5. Here choose Project Name, and Organization (if you have a G-suite acc). If you want you can edit the project Id as well, (which cannot be changed once the project is created).

Google Cloud Platform - Create New Project

Step 2: Enable Content API for Shopping #

1. Once the Project is created, it will take you to the project dashboard. On the left Menu panel, click on APIs & Services.

2. Here, click on Enable APIs and Services. It will take you to the API library.

Google Cloud Platform - Create New Project

3. Search with “Content API for Shopping” and you will find an API service with the same name.

Google Cloud Platform - Choose P

4. Click on it to view the API service overview and Enable it.

Enable Content API for Shopping

Step 3: Configure OAuth Consent Screen #

1. Once you enable the Content API for Shopping, it will take you to the Content API for the Shopping Overview dashboard.

Google Content API Content API for Shopping Overview dashboard

2. Here click on the Credentials menu option from the left side of the window and then click on the “Configure Consent Screen” button on the right side.

3. It will take you to the OAuth consent screen page. Here choose External and click on Create.

Google Cloud Platform OAuth Consent Screen

Here you will need the following information:
App Information – Give a name to your app and provide your support e-mail address. You may
also, upload a logo for your app.
-App domain – Here you may provide links to your site’s home page, privacy policy page, and Terms of
Service page. Then click on the Add Domain button and submit your website’s domain name without ‘“https://www.”. (If you have an authorized domain, then this may already be added by default). FYI: The domain you submit here must be a top-level domain, I.e. it should be a normal domain with a .com, .org, or other such cases. So a dev server domain such as “dev.website.com” will not be accepted.
-Developer contact information – Here you may use a personal e-mail to get Google notifications.

App Information

How To Auto-sync Product Feed To Google Merchant Center 1

Developer contact information

How To Auto-sync Product Feed To Google Merchant Center 2

-App domain

How To Auto-sync Product Feed To Google Merchant Center 3

4. Once you set the values, click on Save And Continue.

Next, it will take you to the Scopes tab. Simply ignore and click on Save And Continue.

How To Auto-sync Product Feed To Google Merchant Center 4

5. Next, the Test users tab, you may ignore that as well and click on Save And Continue. And then click on the Back to Dashboard button.

How To Auto-sync Product Feed To Google Merchant Center 5

6. Now it will show you an overview of your App and that it is still under testing mode. Here, under Publishing Status, click on Publish App.

How To Auto-sync Product Feed To Google Merchant Center 6

7. Click CONFIRM from the Push to the production dialog box.

How To Auto-sync Product Feed To Google Merchant Center 7

Step 4: Create Credentials & Authorize With Google Merchant Center #

1. Go to the Credentials menu on the left side and click on Create Credentials.

How To Auto-sync Product Feed To Google Merchant Center 8

2. Choose OAuth client ID.

How To Auto-sync Product Feed To Google Merchant Center 9

3. Give a name to the Application Type.

How To Auto-sync Product Feed To Google Merchant Center 10

4. Now, on a new tab, go to your website’s dashboard.

Go to Product Feed > Google Merchant Settings. Here copy the Redirect URL from the Redirect URL field.

Product Feed Manager Redirect URL For Google

5. Now go back to your Google console tab.

Click on ADD URI for Authorized redirect URIs. Here add the Redirect URL that you just copied from the plugin. Then click on Create.

How To Auto-sync Product Feed To Google Merchant Center 11

6. Your OAuth client will be created and a Client ID and Client secret will be generated. Copy them.

Google Console Authorized Redirect URIs Options

7. Copy the Client ID and Client Secret, go to Tab where you have the Plugin’s Google Merchant Settings page open, and paste them into the respective fields.

Product Feed Manager - Google Merchant Center Authorization Section

8. Now, on another tab, go to https://merchants.google.com/ and log in to your Google Merchant Account. (Make sure your Google Merchant Account Settings are properly configured). Collect your Merchant ID from the top right corner of the window.

Google Merchant Center Merchant ID

9. Go back to the Tab where you have the Plugin’s Google Merchant Settings page open and paste the Merchant Id in its Merchant ID field.

Product Feed Manager - Google Merchant Center Authorization Section

10. Click on Submit and a section will appear above asking you to Authenticate. Click on it and it will
confirm that you are authorized.

Step 5: Send Feed to Google Merchant Center #

11. Once you are authorized with Google Merchant Center, now when you generate a Google feed, you will get an option Send to Google under the feed title. Select a schedule, and click on Send To Google and your feed will be sent to Google Merchant Center.

Product Feed Manager - Send To Google Option

That’s it. You have set up an Auto-sync successfully and your products will be visible on Google Merchant Center after being processed by Google