हिंट रिक्वेस्ट मैसेज
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
कीमत फ़ीड को लागू करने का एक तरीका, किराया और उपलब्धता में बदलाव (जिसे पहले, संकेत के साथ पुल किया जाता था) का इस्तेमाल करना है.
इस तरीके का फ़्लो इस तरह है:
Google, रूट एलिमेंट <HintRequest>
से एक हिंट रिक्वेस्ट मैसेज भेजता है. इसमें आपके सर्वर के सबसे हाल ही के अपडेट का समय शामिल होता है.
आपका सर्वर, हिंट रिस्पॉन्स मैसेज, <Hint>
के साथ जवाब देता है. इसमें उन होटलों की कीमतों की सूची होती है जिनमें पिछले अपडेट के बाद बदलाव हुए हैं.
इसके बाद, Google एक क्वेरी मैसेज के साथ जवाब देता है: <Query>
.
आपका सर्वर, लेन-देन का मैसेज, <Transaction>
के साथ जवाब देता है. इसमें अपडेट किया गया डेटा शामिल होता है.
कीमत में बदलाव करने की खास जानकारी के लिए, कीमत में बदलाव करने की प्रोसेस देखें.
Google डिफ़ॉल्ट रूप से, आपके सर्वर को हर पांच मिनट के अंतराल पर हिंट रिक्वेस्ट मैसेज भेजता है. इस फ़्रीक्वेंसी को बदलने के लिए, हमसे संपर्क करें सेटिंग को चुनें.
अनुरोध मैसेज, एचटीटीपी POST
मेथड का इस्तेमाल करके भेजा जाता है. इसमें Content-Type
हेडर को application/xml
पर और User-Agent
हेडर को Google-HotelAdsPrices
पर सेट किया जाता है. अपने तकनीकी खाता मैनेजर (टैम) से संपर्क करके, पक्का करें कि Google जो एंडपॉइंट स्टेटस भेजता है वह OK
हो. होटल के किराये के शुरुआती सेटअप के दौरान, आपको यह सेटिंग कॉन्फ़िगर करनी चाहिए थी.
हिंट रिक्वेस्ट का उदाहरण
हिंट रिक्वेस्ट मैसेज में, <HintRequest>
का रूट एलिमेंट और एक चाइल्ड एलिमेंट, <LastFetchTime>
होता है.
<?xml version="1.0" encoding="UTF-8"?>
<HintRequest id="request" timestamp="2023-06-03T22:59:48Z">
<LastFetchTime>2023-06-03T22:54:40Z</LastFetchTime>
</HintRequest>
ज़्यादा उदाहरणों और अन्य जानकारी के लिए, क्वेरी और सलाह के लिए एक्सएमएल रेफ़रंस देखें.
सभी अधिकार सुरक्षित. Java, Oracle और/या इसके सहयोगियों का एक पंजीकृत ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eGoogle's Changed Pricing method allows you to update hotel prices efficiently by focusing on changes since the last update.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves a Hint Request from Google, a Hint Response from your server with changed hotel IDs, a Query from Google, and a Transaction from your server with updated data.\u003c/p\u003e\n"],["\u003cp\u003eGoogle sends Hint Requests every 5 minutes, but this frequency can be adjusted by contacting Google support.\u003c/p\u003e\n"],["\u003cp\u003eHint Requests use HTTP POST with specific headers; ensure endpoint status is "OK" for successful communication.\u003c/p\u003e\n"],["\u003cp\u003eHint Request messages contain the last fetch time, allowing your server to identify price changes since then.\u003c/p\u003e\n"]]],[],null,["# Hint Request Messages\n\nOne way to implement your price feed is to use [Changed Pricing (formerly Pull\nwith Hints)](/hotels/hotel-prices/dev-guide/delivery-mode#hints).\n\nThe flow for this method is as follows:\n\n1. Google sends a Hint Request message from the root element [`\u003cHintRequest\u003e`](../xml-reference/queries#hintrequest)\n that contains time information from your most recent server update.\n\n2. Your server responds with a [Hint Response\n message](/hotels/hotel-prices/dev-guide/hint-response-messages), [`\u003cHint\u003e`](../xml-reference/queries#Hint),\n which contains a list of hotels prices that have changed since\n the last update.\n\n3. Google then responds with a\n [Query message](/hotels/hotel-prices/dev-guide/query-messages): [`\u003cQuery\u003e`](../xml-reference/queries#Query).\n\n4. Your server responds with a\n [Transaction message](/hotels/hotel-prices/dev-guide/transaction-overview),\n [`\u003cTransaction\u003e`](../xml-reference/transaction-messages#Transaction), that includes the updated data.\n\nFor an overview of repricing, see [Repricing\nprocess](/hotels/hotel-prices/dev-guide/updating-prices#repricing-process).\n\nGoogle sends a Hint Request message to your server at 5-minute intervals by\ndefault. This frequency can be adjusted by setting [contact us](https://support.google.com/hotelprices/gethelp).\n\nThe request message is sent using an HTTP `POST` method with the `Content-Type`\nheader set to `application/xml` and the `User-Agent` header set to\n`Google-HotelAdsPrices`. Ensure the endpoint status that Google sends back is `OK` by\ncontacting your Technical Account Manager (TAM). You should have configured this setting during your\nHotel Prices initial setup.\n\n### Hint Request example\n\nHint Request messages have a root element of\n[`\u003cHintRequest\u003e`](../xml-reference/queries#hintrequest) and a single child element, `\u003cLastFetchTime\u003e`. \n\n \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n \u003cHintRequest id=\"request\" timestamp=\"2023-06-03T22:59:48Z\"\u003e\n \u003cLastFetchTime\u003e\u003cvar translate=\"no\"\u003e2023-06-03T22:54:40Z\u003c/var\u003e\u003c/LastFetchTime\u003e\n \u003c/HintRequest\u003e\n\nFor more examples and additional information, refer to [Query \\& Hints XML Reference](../xml-reference/queries)."]]