Google Shopping Feed (M2)

The config to configure the Google Shopping Feed extension is located at: Stores > Configuration > Magmodules > Google Shopping

Magento 2 Google Shopping Feed

1. Attributes.
This section lists all the available attributes for the Google Shopping feed. Some attributes are required for all products and some are required for certain product types such as apparel. To avoid errors in the Google Shopping feed please make sure that you provide all the recommended attributes.

Product Name & Description
Connect the right attributes for the name and description to export the values to the Google Shopping feed. The description will be truncated to a maximum of 5000 characters and stripped from html.

Data: Name
The Name is a required field for the feed. Select the attribute that is using this value.

Data: Description
The Description is a required field for the feed. Select the attribute that is using this value.

Unique Product Identifiers
Use the GTIN/Barcode attribute to submit Global Trade Item Numbers (GTINs) in one of the following formats: UPC (in North America), EAN (in Europe), JAN (in Japan) or ISBN (for books). Please select the attribute that provide these GTINs. Regarding the Google Shopping requirements the products need to have two out of three unique identifiers. When there are less then 2 product identifiers the "Identifier Exists" attribute will be automatically activated in the feed, read more about the "Identifier Exists" attribute in our knowledgebase.

Data: GTIN
Required for all products with a GTIN assigned by the manufacturer. A GTIN is the numerical version of the bar code and identifies your product and needs to be unique for each product ID. Submit a GTIN as defined in the official GS1 validation guide. Also see here.

Data: Brand
Required for each product with a clearly associated brand or manufacturer.

Data: MPN
Required MPN is a unique identifier issued by the manufacturer. If you have the GTIN in your feed the MPN is not mandatory. Without a GTIN Google requires the MPN and Brand attribute.

Identifier Exists
Add identifier Exists Automatically adds "Identifier Exists = false" row when condition is not met. Recommended to set this to Yes.

Product Condition
Product condition is an required field for Google Shopping. Only three options are available: New, Refurbished and Used. Please select the default condition of your products or use a custom attribute.

Data: Condition
The condition is a required field for the feed. Only three options are available: New, Refurbished & Used. Please select the default condition of your products. When you change the condition on the product level in the Google Shopping Tab, the product condition will be overwritten.

Product Category
The products are categorized in Google Shopping according to the Google product taxonomy. Use the most specific product category to meet the Google requirements. More Information.

Overwrite this value to specify the category.

On Category Level
Catalog » Manage Categories » Select Category » Feeds » Google Product Category

On Product Level
Catalog » Manage Products » Select Product » Google Shopping Tab » Google Shopping Product Category.

Click here to read more about the Google product Taxonomy including the different categories.

Magento 2 Google Shopping Feed

1. Data :Non Required Fields
You are recommended to provide the following product information for each unique item you submit if it exists, is relevant, and if the information fits into the accepted values for the following detailed product attributes as:

Color
Material
Pattern
Size
Size Type
Size System
Gender

Magento 2 Google Shopping Feed

2. Product Types
In this section you can configure your configurable or grouped and bundled products you can choose to pull information from the parent products.
Select in the multiple-select box below the fall-back data for the configurable / grouped products in the feed. You can select the attributes where you want to use the Parent Data for Simple.
Configure the three different product types to make sure that you are using the right attribute values for the different product types. 


Configurable Products
For configurable products, we recommend to only add the simple products to the configuration as a ‘configurable product’ by itself cannot be purchased. Choose the attribute(s) that you want to use from the parent relation configurable product.

Use Configurable/Simple Products
Recommended: Only Linked Simple Products. Selecting this option will export linked simple products that are part of a configurable product. This option is recommended so that the unique product variants are exported to the Google Shopping Feed.

Use Parent URL for Simples
Recommended: Yes, with Auto-Link. In this way the URL will be automatically link to the correct simple product on the configurable product landing page.

Use Parent Image for Simples
Recommended: Only if Empty. Selecting this option will export the parent image which will be used if there is no image available for a simple product.

Use Parent Data for Simples
Select the attributes that you want to use from the parent configurable product. It is not recommended to select the attributes that need to be unique for the simples, such as GTIN and Color.

Use Fallback only on Non Visible Simples
Recommended: Yes. In this way you only use the logic for the attribute fallback and relations on simples with the visibility "Not Visible Individually". Simples that are visible in the catalog are treated als "normal" simple products without relations.


Bundle Products
For Bundle Products, we recommend to only add the Bundle product by itself as this is the item that can be purchased.

Use Bundle Products
Recommended: Only Bundle Product. Selecting this option will export the bundle product by itself to the Google Shopping Feed.


Grouped Products
For Group Products, we recommend to only add the Grouped Product by itself as that is the product that can be purchased.

Use Grouped Products
Recommended: Only Grouped Product. Selecting this option will export the bundle product by itself to the Google Shopping Feed.

Parent Price
Set on which price you want to export in the feed.



Magento 2 Google Shopping Feed

3. Additional Configuration
Configure extra data fields, shipping information and connect your configurable & grouped products.

Extra Fields.
You can add custom fields to your feed when needed. Please make sure that your using the latest custom fields standards to prevent error messages in the feed. The guidelines for the custom fields can be found here.

Shipping.
Configure the different shipping methods from your store by country, service, the from to price and the final shipping price in that range. You can add unlimited Shipping methods in your feed but please keep in mind that there has to be a difference between the from-to price and the steps. You can se thte Country, service from and to price, if this isn't advanced enough or you want to use the shipping setting with weight you can set this up in your Google Merchant account.

Google Analytics Tracking
When your using Google Analytics you can add your UTM tags right here, eg. utm_source=Googleshopping&utm_campaign=Googleshopping

Magento 2 Google Shopping Feed

4. Filter Conditions.
This option allows you to include/exclude products from the Google Shopping feed based on the product visibility or stock information.

Filter on Visibility
Include or exclude products based on the visibility.

Filter by Category
Include or Exclude products based on the category.

Note for Include:
Simple products within a bundled, configurable or grouped product are treated as own entities, so these should also be present in the included categories.

Note for Exclude:
Exclude the products from these categories. Products that are available within different categories need to be excluded from all of the categories they are assigned to.

Exclude Out of Stock
Exclude products that are out of stock in your store.

Advanced Filters
Configure the advanced filter using your attributes and different filter options.

Magento 2 Google Shopping Feed

5. Generation Settings.
Each store view will have its own Google Shopping feed. You can easily enable or disable the Google Shopping feed generation on store level or automatically generate the Google Shopping feed. In case you are not using the Cronjob functionality it's possible to generate the Google Shopping feed manually.

Feed Generation
Enable or disable the feed generation for this store view or change the filename.

Filename
googleshopping.xml

Cron
The Cronjob is a periodic script which is scheduled to automatically generate the Google Shopping feed based on the below frequency configuration. Please make sure that your default Magento Cronjob is working. If not, contact your hosting company for help.

Frequency
Advanced Settings

Products per Batch
Use the paging function on big catalogs. For example, if your catalog contains 50.000 SKU, use 5.000 per page to split the feed run and lower the load. The products will be combined in one feed after the generation is complete.

Debug Memory Usage
Write the memory usage to the var/log/googleshopping.log file

Magento 2 Google Shopping Feed

6. Active Feeds
All active feeds are shown in the overview below.
The .XML URL is the URL which can be provided into your Google Merchant Account. Regarding some cache settings in the browser it's also possible to download the Feed to make sure that you are viewing the latest version. There is a small note at the end of the XML file where you can find the time of generation and the number of products.

Note: Make sure that you save the configuration after the settings are changed and before you generate the feed.