مخططات إعلانات الفنادق

قبل إرسال خلاصاتك إلى 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

كيفية التحقّق من صحة الملفات

للتحقّق من ملفاتك باستخدام هذه المخططات، يمكنك استخدام أداة XML تابعة لجهة خارجية مثل 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