होटल विज्ञापन स्कीमा

Google को अपने फ़ीड सबमिट करने से पहले, 'पब्लिश किया गया' विकल्प का इस्तेमाल करके उनकी पुष्टि की जा सकती है स्कीमा शामिल करने हैं.

इस टेबल में उपलब्ध स्कीमा की सूची दी गई है. इनका इस्तेमाल करके, पुष्टि की जा सकती है इसके ख़िलाफ़ आपके फ़ीड:

स्कीमा डाउनलोड कीमतें लागू करने के लिए लागू होने वाले तरीके स्कीमा की जगह
Hotel List सभी gstatic.com/localfeed/local_feed.xsd
Landing pages सभी gstatic.com/ads-travel/hotels/api/point_of_sale.xsd
Transaction (Property Data) ARI gstatic.com/ads-travel/hotels/api/transaction_property_data.xsd
Transaction (Property Data) Response ARI gstatic.com/ads-travel/hotels/api/transaction_property_data_response.xsd
OTA_HotelRateAmountNotifRQ ARI gstatic.com/ads-travel/hotels/api/ota_hotel_rate_amount_notif_rq.xsd
OTA_HotelRateAmountNotifRS ARI gstatic.com/ads-travel/hotels/api/ota_hotel_rate_amount_notif_rs.xsd
OTA_HotelAvailNotifRQ ARI gstatic.com/ads-travel/hotels/api/ota_hotel_avail_notif_rq.xsd
OTA_HotelAvailNotifRS ARI gstatic.com/ads-travel/hotels/api/ota_hotel_avail_notif_rs.xsd
OTA_HotelInvCountNotifRQ ARI gstatic.com/ads-travel/hotels/api/ota_hotel_inv_count_notif_rq.xsd
OTA_HotelInvCountNotifRS ARI gstatic.com/ads-travel/hotels/api/ota_hotel_inv_count_notif_rs.xsd
TaxFeeInfo ARI gstatic.com/ads-travel/hotels/api/tax_fee_info.xsd
TaxFeeInfoResponse ARI gstatic.com/ads-travel/hotels/api/tax_fee_info_response.xsd
Promotions ARI gstatic.com/ads-travel/hotels/api/promotions.xsd
PromotionsResponse ARI gstatic.com/ads-travel/hotels/api/promotions_response.xsd
RateModifications ARI gstatic.com/ads-travel/hotels/api/rate_modifications.xsd
RateModificationsResponse ARI gstatic.com/ads-travel/hotels/api/rate_modifications_response.xsd
Transaction पुल, किराये और उपलब्धता में बदलाव gstatic.com/ads-travel/hotels/api/transaction.xsd
Rate rules पुल, किराये और उपलब्धता में बदलाव gstatic.com/ads-travel/hotels/api/private_rates.xsd
Hint Response बदली गई कीमत gstatic.com/ads-travel/hotels/api/hint.xsd
Query (from Google to partners) पुल, किराये में बदलाव, किराये के बारे में लाइव क्वेरी gstatic.com/ads-travel/hotels/api/query.xsd

फ़ाइलों की पुष्टि करने का तरीका

इन स्कीमा से अपनी फ़ाइलों की पुष्टि करने के लिए, तीसरे पक्ष के एक्सएमएल टूल का इस्तेमाल किया जा सकता है जैसे कि xmllint.

स्कीमा की पुष्टि करने के लिए, xmllint का इस्तेमाल करने का सिंटैक्स इस तरह है:

xmllint --schema schema_location file_to_validate

नीचे दिए गए उदाहरण में, mypriceupdates.xml फ़ाइल की पुष्टि लेन-देन के मैसेज का स्कीमा:

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

नीचे दिए गए उदाहरण में, होटल सूची के हिसाब से myfeed.xml फ़ाइल की पुष्टि की गई है फ़ीड स्कीमा और गड़बड़ियों के मौजूद होने पर उन्हें दिखाता है:

xmllint --noout --schema http://gstatic.com/localfeed/local_feed.xsd myfeed.xml