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)
Hotel List Feed
Hint Response
Landing Pages
Private Rates
Rate Types

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 mypriceupdates.xml

The following example validates the myfeed.xml file against the Hotel List Feed schema and only showing the errors if they exist:

$ xmllint --noout --schema myfeed.xml