Landing pages overview

A landing page file is an XML file that partners create to define various URL destinations when a user clicks on a Hotel Ad price on Google and it gets redirected to a partner's website. You can upload a landing page file using Hotel Center. For details, refer to Manage and update your landing pages.

The root element of the landing page file is <PointsOfSale>. Each landing page in the file is defined by a <PointOfSale> child element. You can have multiple <PointOfSale> child elements in a landing page file. However, all landing pages refer to the same partner.

Example

The following example shows a landing page file that defines two landing pages:

<?xml version="1.0" encoding="UTF-8"?>
<PointsOfSale>
  <PointOfSale id="TravelAgency">
    <DisplayNames display_text="TravelAgency.com" display_language="en"/>
    <DisplayNames display_text="TravelAgency.com.fr" display_language="fr"/>
    <Match status="yes" language="en"/>
    <Match status="yes" language="fr"/>
    <Match status="yes" country="US"/>
    <Match status="yes" country="FR"/>
    <Match status="yes" currency="USD"/>
    <Match status="yes" currency="EUR"/>
    <URL>http://partner.com/landing?hid=(PARTNER-HOTEL-ID)&amp;checkin=(CHECKINYEAR)-(CHECKINMONTH)-(CHECKINDAY)&amp;checkout=(CHECKOUTYEAR)-(CHECKOUTMONTH)-(CHECKOUTDAY)&amp;language=(USER-LANGUAGE)</URL>
  </PointOfSale>
  <PointOfSale id="Others">
    <DisplayNames display_text="TravelAgency en espanol" display_language="es"/>
    <Match status="yes" language="es"/>
    <Match status="yes" country="US"/>
    <Match status="yes" currency="USD"/>
    <URL>http://partner-espanol.com/landing?hotelID=(PARTNER-HOTEL-ID)</URL>
  </PointOfSale>
</PointsOfSale>

In this example, English or French preferred users in the US or France would match the first landing page. This landing page has two display names: TravelAgency.com and TravelAgency.com.fr. These two sites support English and French for languages, and US dollars and Euros for currencies. The generated URL that is passed to the landing page includes details about the transaction, such as the check-in and check-out dates, hotel ID, and user language.

A Spanish preferred user in the US would match the second landing page. However, this landing page supports only one display name, one language, and one currency. Also, the generated URL only sends the hotel ID to the landing page and doesn't send the check-in date, length of stay or any other information. The user should input those information again on the partner's website.

For more information, refer to Landing Pages File Syntax.