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
| Element | Description |
|---|---|
xml header | Standard XML header. Must start from the first line, with zero character. |
rss | Declaration of the Google Merchant Center namespace. |
channel | The channel element contains: • item elements, where each item is a separate product offer. |
item | Declaration of a product offer with nested parameters. |
g:id | Product ID, string. |
g:title | Title of the product offer. |
g:description | Description of the product offer. Please note that the description should not exceed 200 characters. |
g:link | Link to the product offer. Must be specified in full, starting with http or https. |
g:image_link | Link 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:price | Price of the product offer. Type: number and currency (ISO 4217 standard). |
g:product_type | Parameter describing the category path where the product offer is located. |
Additional Parameters
| Element | Description |
|---|---|
g:brand | Manufacturer 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:salePrice | Price of the product after discount. |
param name | Up 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>;. |