How to Create Google Shopping Feed for Magento 2?

Once you decide to create an eCommerce website you have to be ready to invest a lot of effort and time to get your website visible online and drive relevant traffic. There are multiple channels to achieve this, but Google Shopping stands out the most.

It is a product distribution channel that allows you to expose your products to a wider audience, increase conversion rates and sell more in a long run. However, how do you create Google Shopping Feed in Magento 2 if this feature isn't supported? 

Moving products to Google Merchant Center one by one would be a tough call. So we introduce the Magento 2 Google Shopping Feed Extension to make your life easier. 

And in this post, you'll learn everything about what is Google Shopping Feed and how to set it up in Magento.

What is Google Shopping Feed? 

Google Shopping Feed is a list of products along with their information like descriptions, prices, and other attributes that are used to export your products to different distribution channels. It reduces manual product management, helps Google understand your product better, and enables you to import products to Google Merchant Center in a matter of minutes. 

Google Shopping Feed

Once the Product Feed is exported to Google you can start advertising on Google Shopping and increase your brand visibility in search results. But note that configuring a feed is not enough. It also has to comply with the Google guidelines, one of which is the correct field mapping.

Google Shopping Template Fields

Required Fields Optional Fields
id additional_image_link
title country
description product_type
link identifier_exists
image_link mobile_link
availability sale_price
availability_date sale_price_effecive_date
price cost_of_goods_sold
google_product_category excluded_destination
brand included_destination
condition custom_label_0
 shipping custom_label_1
 tax custom_label_2
 gtin custom_label_3
 mpn custom_label_5
 item_group_id min_handling_time
  max_handling_time
  tax_category


Seems like a relatively technical task. However, once you install Google Shopping Feed Extension for Magento, all you need is just check the fields or extend product attributes since everything is already preset.

And now you'll see how easy it is to create Google Shopping Feed in Magento.

Set Up Google Shopping Feed for Magento 2 Store

Configuring Magento 2 Google Shopping Feed Extension doesn't take much of your time since almost all of the options are already filled out. So to set up Product Feed go to Stores > Configuration > Magefan Extensions > Google Shopping Feed

1. Fill in General Feed Information

The first thing you have to do here is to set the Feed Title and Description. It is as simple as that.

Google Shopping Feed Magento 2

2. Map Product Fields

As we've told you before, you don't have to do anything in the Attribute Mapping section since we've already mapped all of the required fields. However, if you like you can extend that list or set some custom values. You can also learn more about the data specification in the Google Merchant Center.

Magento Product Feed Attribute Mapping

3. Configure Product Types

Product Feed Extension not only allows you to add configurable products to Google Shopping. You can also include child products in the feed.

Each child product in Google Shopping will have a unique link that leads to the configurable product page with preselected options (e.g. XS-orange, L-green, etc.).

Configurable Products with Child Products in Magento 2

This is how it will look like in the feed:

Configurable Product in Google Shopping Feed

4. Set up Product Filters

To get the highest ROI from your Google Shopping Feed, you have to export relevant products to this distribution channel. That's why there are product filters that enable you to remove certain items from being pushed to the feed. These filters allow you to:

  • Include Products Only With Price Greater Than 0 (means that when enabled no free products will be listed in the feed)
  • Include Out Of Stock Products

Google Shopping Feed Product Filters

Disabled and Only Visible Products (product with visibility — catalog or catalog, search) will be removed from the product feed automatically.

5. Integrate Google Analytics

To track and assess the effectiveness of your product in the Google Shopping Feed you have to differentiate those products somehow. So to achieve that you need to integrate Google Analytics in Magento and set UTM params that will be added to the feed products URLs. 

You can set Name, Content, Source, Medium, and Term so that the link will look like this: 

https://gsf.demo.magefan.top/en/joust-duffle-bag.html?utm_source=google-shopping&utm_medium=store-feed&utm_name=general

Set Up Google Analytics for Product Feed Tracking

6. Regenerate Product Feed

Once you fill out the UTM parameters, all you need is to press Save and then import the product feeds to Google Merchant. Magento 2 Google Shopping Feed module runs a cron daily to push new products to Google Merchant. So you don't have to do anything. 

However, before that, you also need to choose whether to generate feed with default or all available currencies per store view in the Generated Feeds section.

If you want you can regenerate Google Shopping Feed manually press a corresponding button in this section. 

General Google Shopping Feed in Magento 2

Generated Feeds section also contains a list of all product feeds generated for different store views or websites. So you can quickly jump to the feed and check it right from the admin panel. 

Magento 2 Google Shopping Feed

7. Assign Products and Categories to Google Shopping Category

If you want to categorize your products and categories more effectively in Google Shopping, you should assign them to the right Google Shopping categories. 

For that go to Catalog > Products and find the products you'd like to change the category for.  Scroll down to the Google Shopping Feed section and select the category to assign a product to. Here you can also exclude a product from the product feed altogether if you need. Same works for Magento categories.

Add Magento Products to Google Shopping Category

Creating Google Shopping Feed in Magento is automatic, quick, and easy if you use the right solutions. However, once you create the product feed for your store, you still need to submit it to Google Merchant Center via the link method to complete the process.