Skip to main content

Google Feed Example

Google Feed Example

<?xml version="1.0"?>
<rss xmlns:g="http://base.google.com/ns/1.0" version="2.0">
<channel>
<item>
<g:id>TV_123456</g:id>
<g:title>Television</g:title>
<g:description>TV allows you to enjoy your favorite shows in up to 4K HDR</g:description>
<g:link>https://store.google.com/product/chromecast_google_tv</g:link>
<g:image_link>https://images.example.com/TV_123456.png</g:image_link>
<g:availability>in stock</g:availability>
<g:price>49999 RUB</g:price>
<g:brand>Google</g:brand>
<g:product_type>Home > Electronics > Televisions</g:product_type>
<param name="paramName">paramValue</param>
</item>
</channel>
</rss>

Required Elements

ElementDescription
xml headerStandard XML header. Must start from the first line, with zero character.
rssDeclaration of the Google Merchant Center namespace.
channelThe channel element contains:

item elements, where each item is a separate product offer.
itemDeclaration of a product offer with nested parameters.
g:idProduct ID, string.
g:titleTitle of the product offer.
g:descriptionDescription of the product offer. Please note that the description should not exceed 200 characters.
g:linkLink to the product offer. Must be specified in full, starting with http or https.
g:image_linkLink to the product offer image.

Type: URL (including http or https), consisting only of ASCII characters and conforming to RFC 3986.
Restrictions: 1 to 2000 characters.
Supported formats: JPEG (.jpg/.jpeg), WebP (.webp), PNG (.png), GIF (.gif), BMP (.bmp), TIFF (.tif/.tiff).
The file format must match the extension.
g:pricePrice of the product offer.

Type: number and currency (ISO 4217 standard).
g:product_typeParameter describing the category path where the product offer is located.

Additional Parameters

ElementDescription
g:brandManufacturer or brand.
g:item_group_id"Item group ID" attribute for grouping product variations. Variations are items that are similar but differ in attributes like size, color, volume, etc.
g:salePricePrice of the product after discount.
param nameUp to 40 additional parameters can be passed with each product offer (volume, material, diagonal, discount size, etc.). These parameters are taken into account in recommendations and can be displayed in emails and widgets. The maximum length of the text part of the parameter is 300 characters.

Examples:
1) Parameter addedDate for displaying new arrivals: <param name="addedDate">2022-04-28</param> (YYYY-MM-DD format).
2) Parameter Size for personalization: <param name="Size">S</param>;.