Google Merchant Feed
A common requirement is to send a list of all purchasable products to a Google Merchant Center account.
storeConnect® supports this out of the box with our Google Merchant Feed.
This is in the form of an XML file which is generated once a day and is accessible via:
https://store.example.com/merchant_feed.xml
The feed generates records that look like this:
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:g="http://base.google.com/ns/1.0" version="2.0">
<channel>
<item>
<g:id>01t2u0000003ubFBAQ</g:id>
<g:title>The meta title of your product</g:title>
<g:google_product_category>Electronics > Video > Televisions > Flat Panel Televisions</g:google_product_category>
<g:product_type>Consumer Electronics > TVs > Flat Panel TVs</g:product_type>
<g:link>https://store.example.com/products/your-product-slug</g:link>
<g:image_link>https://image-link.example.com/example.png</g:image_link>
<g:condition>new</g:condition>
<g:availability>in stock</g:availability>
<g:price>79.95 AUD</g:price>
<g:sale_price>39.00 AUD</g:sale_price>
<g:brand>Product Brand</g:brand>
<g:mpn>PRODUCT-CODE</g:mpn>
<g:description>The meta description of your product</g:description>
<g:shipping>
<g:country>AU</g:country>
<g:service>Regular Shipping</g:service>
<g:price>10.00 AUD</g:price>
</g:shipping>
</item>
</channel>
</rss>
To have a product show up in the merchant feed, the following must be true:
- It must be active
- It must not be deleted
- It must have an available on date in the past
- It must have no discontinued at date or if present, it is in the future
- It must have “Sync to Google” selected in the product page
- It must have a price greater than $0
- It must have an image
- It must have a meta title
Once the above is done, it will show up on the following day in the merchant_feed.xml
file.
Back to Documentation