One way to implement your price feed is to use Pull with Hints. In this method:
- Google sends a Hint Request message (root element is
<HintRequest>) that contains the time it last received an update from your server.
- Your server responds with a Hint Response message
<Hint>) that lists the hotels whose prices have changed since that time.
- Google then responds with a Query message
- Your server responds with a Transaction message
<Transaction>) that includes the updated data.
For an overview of repricing, see Repricing process.
Google sends a Hint Request message to your servers at a specified rate (we recommend 5 minutes). The frequency of the Hint Request messages is configurable. To set or modify the frequency, contact us.
The message is sent using an HTTP
POST request with the
Content-Type header set to "application/xml" and the
header set to
Ensure that the endpoint that Google sends Hint Request messages to is OK by contacting your Technical Account Manager (TAM). You configured this setting during your Hotel Ads initial setup.
Hint Request messages have a root element of
<HintRequest> and a
single child element,
For examples and additional information, see Query & Hints XML Reference.