Page Summary
-
The root element for landing pages is
, which contains one or morechild elements. -
Each
element defines a landing page with a uniqueidattribute for filtering. -
Child elements of
include(optional for OTAs),(required for filtering based on user/hotel characteristics), and(required for the dynamic landing page link). -
The
element is optional and supports dynamic tracking when used with Google Ads tracking templates. -
The landing pages file structure is defined by the Hotel Ads Schemas.
The root element of the landing pages file is which takes one
child element, and has no attributes. A landing pages file can
have multiple child elements.
Each landing page that you define in the landing pages file is included in a
element. This element takes a single attribute, id that
defines a unique identifier for a landing page. You can use the value
of id to filter eligible landing pages for a matching hotel. You can do this
by using the element in .
Syntax
version="1.0" encoding="UTF-8"?>
id="landing_page_id">
display_text="landing_page_display_name" display_language="language_code"/>
status="[yes|never]"
country="country_code"
language="language_code"
brand="booking_engine or brand"
currency="currency_code"
sitetype="[localuniversal|mapresults]"
device="[desktop|mobile|tablet]"/>
landing_page_url
The following table describes the child elements of the element:
| Element | Required | Description |
|---|---|---|
| Optional | Contains display text for Online Travel Agencies (OTAs). This element takes the following attributes:
The following example shows a display name for a French OTA: Exclude the Note: For OTA's, if you have configured a default display name
with Google Support, then this field is optional. Otherwise OTA's must
provide |
|
| Required | Defines filters for whether your ads and free booking links are displayed based on various characteristics of the user or hotel. For example, you can specify that an ad or free booking link is displayed only to users in a certain country. This element takes the following attributes:
For example:
You can combine attributes of the
For more information, refer to Landing pages matching rules. |
|
| Required | Defines a link to your site where the user can book a room. You
can insert dynamic information about the user and their itinerary as query
string parameters. For example, you can include the hotel ID by using the
PARTNER-HOTEL-ID variable in the URL:
http://partner.com/landing?hid=(PARTNER-HOTEL-ID) When this link is constructed and displayed to the user, Google
replaces the When using tracking, specify the complete URL including the components needed for tracking. For example: https://example.tracker.com?campaign_id=(CAMPAIGN-ID)&t_url= http://partner.com/landing%3Fhid%3D(PARTNER-HOTEL-ID) ValueTrack parameters can't be used in You can define only one |
|
| Optional | Used to support dynamic tracking in the landing page URL. Specifies
the non-tracking segment of the URL defined in the The http://partner.com/landing?hid=(PARTNER-HOTEL-ID) ValueTrack parameters can't be used in |
The landing pages file schema defines the structure and constraints of a landing pages file. For more information, read Hotel Ads Schemas