# Google Merchant Feed

> Source: https://docs.recombee.com/catalog_feeds/google-merchant-feed

> For the complete documentation index, see [llms.txt](/llms.txt).

# Google Merchant Feed

## Format

* Specification: <https://support.google.com/merchants/answer/7052112?hl=en>
* We support both `.xml` and `.tsv` (tab separated text file) variants. Both `.zip` and `.gz` compression is supported.
* In addition, we support `.csv` (comma separated) variant (not officially supported by Google)

## Tips & Tricks

* You can use item property `availability` for[filtering out](/reql_filtering_and_boosting) from the recommendations the items that are not available anymore.  
The filter that should be passed to[recommendation requests](/api/recommendations) is:  
ReQL  
```  
'availability' == "in stock"  
```  
Only items in stock will be recommended. You can achieve this also by setting the predefined Filter [Business Rule](/scenarios/settings-in-admin-ui#filters) _Items in stock \[Google Merchant\]_ to your [Scenario](/scenarios).
* Ids of items are case sensitive - please check that you are using the same case as is used in the feed when you[send interactions](/getting_started#getting-started-interactions).
* You can use for example following JavaScript snippet to get recommended items along with their title, description, link, image link and price:  
JS  
```  
client.send(new recombee.RecommendItemsToItem(itemId, userId, 3,  
{  
	returnProperties: true,  
	includedProperties: ['title', 'description', 'link', 'image_link', 'price'],  
	filter: "'availability' == \"in stock\"",  
	scenario: 'related_items'  
}),  
(err, resp) => {  
	if(err) {  
		console.log("Could not load recomms: ", err);  
		return;  
	}  
	console.log(resp);  
	// Show recommendations  
});  
```

For more info see the [JavaScript library](https://github.com/recombee/js-api-client).