Complete Sample Feed
Stay organized with collections
Save and categorize content based on your preferences.
The XML sample below is for one file in a merchant review feed and contains the full set of
elements that you can send in a feed.
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://schemas.google.com/merchant_reviews/5.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.google.com/merchant_reviews/5.0 http://www.gstatic.com/productsearch/static/reviews/5.0/merchant_reviews.xsd">
<merchants>
<merchant id="2739">
<name>Google Store</name>
<merchant_url>http://store.google.com></merchant_url>
<rating_url>http://www.usefulreviews.com/merchant_2739.html</rating_url>
<create_timestamp>2010-07-12T07:55:06Z</create_timestamp>
<last_update_timestamp>2014-07-12T07:55:06Z</last_update_timestamp>
</merchant>
</merchants>
<deleted_merchants>
<deleted_merchant id="321">
<last_update_timestamp>2014-07-12T07:55:06Z</last_update_timestamp>
</deleted_merchant>
</deleted_merchants>
<reviews>
<review id="156368" mid="2739">
<reviewer_name>Ada</reviewer_name>
<create_timestamp>2013-07-12T07:55:06Z</create_timestamp>
<last_update_timestamp>2014-07-12T07:55:06Z</last_update_timestamp>
<country_code>US</country_code>
<title>Great prices</title>
<content>My order arrived on time and I got a great price.</content>
<ratings>
<overall min="1" max="10">9</overall>
<customer_service min="1" max="10">10</customer_service>
</ratings>
<collection_method>after_fulfillment</collection_method>
</review>
<review id="156369" mid="2739">
<create_timestamp>2013-07-12T07:55:06Z</create_timestamp>
<last_update_timestamp>2014-08-12T07:55:06Z</last_update_timestamp>
<country_code>US</country_code>
<content/>
<ratings>
<overall min="1" max="10">9</overall>
</ratings>
<collection_method>unsolicited</collection_method>
</review>
</reviews>
<deleted_reviews>
<deleted_review id="5214">
<last_update_timestamp>2014-07-12T07:55:06Z</last_update_timestamp>
</deleted_review>
</deleted_reviews>
</feed>
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-08-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-08-11 UTC."],[[["The XML sample demonstrates the structure of a merchant review feed, including merchant information, reviews, and deleted entries."],["Merchants can be identified using an `id` and include details like name, URL, rating URL, and timestamps for creation and updates."],["Reviews contain information about the reviewer, timestamps, ratings, content, and the method of collection."],["The feed also supports marking merchants and reviews as deleted by including them in separate `deleted_merchants` and `deleted_reviews` sections."],["All timestamps within the feed are formatted according to the ISO 8601 standard, using the UTC timezone (indicated by the \"Z\" suffix)."]]],["This XML sample represents a merchant review feed, detailing merchant data, reviews, and deletions. It includes merchant identifiers (ID, name, URL) and timestamps for creation and updates. Reviews contain a unique ID, associated merchant ID, reviewer name, timestamps, country code, title, content, overall and specific ratings, and collection method. Deleted merchant and review entries are also recorded with their last update timestamp and id.\n"]]