Google Merchant Feed API

Create a feed

To transfer your product data to the Google merchant center you need to create a feed and connect it with the Google API. This guide will show you how to to this in Shopware.

Navigate to Settings > Extensions > Google Merchant Feed API and choose tab Feed List and click on the Add button.

Some of the settings will be only available after saving the Base settings.

Base settings

Field Type Description
Active Toggle Enable or disable the feed.
Internal name Textfield Define a name (only for internal use).
Dynamic product group Dropdown Choose a dynamic product group. This group defines all products you want to export to Google. For more information about dynamich products groups visit https://docs.shopware.com/en/shopware-6-de/Catalogues/Dynamicproductgroups
Storefront Saleschannel Dropdown Define the sales channel for which you want to export the product data.
Storefront domain Dropdown Define the domain of the sales channel for which you want to export the product data.
Storefront currency Dropdown Define your storefront currency.
Language Dropdown Define your storefront language.
Customer group Dropdown Define the default customer group of your sales channel.

Google

At tab Google you can enter your credentials to connect your feed with the Google API.

Please ensure that you have already prepared your Google account and that you have your credentials at hand.

Field Type Description
Developer E-Mail Textfield Enter your e-mail address you use for https://console.cloud.google.com/
Data-Source ID Textfield The ID from the Google Merchant center data source.
Merchant ID Textfield The merchant ID from the Merchant center.
Project ID Textfield The project ID from the JSON file.
Private Key ID Textfield The private key ID from the JSON file.
Private Key Textarea The private key from the JSON file.
Client E-Mail Textfield The client e-mail from the JSON file.
Client ID Textfield The client ID from the JSON file.
Client X509 Cert URL Textfield The cert URL from the JSON file.
Template Editor The template determines the structure of the product export. Our extension is shipped with a draft with the most common code. The product comparison is written in the PHP template engine TWIG. The default template already provides you with the most important information about your products. With the TWIG syntax, you have the option to completely customize the template. For al list of available variables check https://docs.shopware.com/en/shopware-6-en/Productcomparison#variables

Don't forget to use the Check credentials button after saving your credentials. The button is located bellow the credential form.

Queue

At the tab Queue you can find all products that are currently in progress. That are the products that are flagged to be transfered to the Google merchant center.
By clicking on the three ... and choosing Delete you can remove an entry from the Queue before it is transfered to Google.