Hotel Ads Schemas

Before submitting your feeds to Google, you should validate them with one of the following methods:

The following table lists the available schemas that you can use to validate your feeds against:

Schema (Download) Schema (Location)
Hint Response https://www.gstatic.com/ads-travel/hotels/api/hint.xsd
Point of Sale https://www.gstatic.com/ads-travel/hotels/api/point_of_sale.xsd
Query https://www.gstatic.com/ads-travel/hotels/api/query.xsd
Rate Types https://www.gstatic.com/ads-travel/hotels/api/rate_types.xsd
Transaction https://www.gstatic.com/ads-travel/hotels/api/transaction.xsd

To validate your files with these schemas, you can use a third-party XML tool such as xmllint.

The syntax for using xmllint to validate a schema is as follows:

$ xmllint --schema schema_location file_to_validate

The following example validates the mypriceupdates.xml file against the Transaction message schema:

$ xmllint --schema https://www.gstatic.com/ads-travel/hotels/api/transaction.xsd mypriceupdates.xml

Send feedback about...

Hotel Prices
Need help? Visit our support page.