添加和更新广告资源

您应该在<Result> 交易消息发送至 设置或更新房价,以及定义可用空房。这些元素 使用 您在单独的交易消息中定义的元数据。正在更新您的 取决于 送货模式和 首选频率。

以下示例展示了用于定义广告资源的 <Result> 元素 以及两个房间的价格:

<?xml version="1.0" encoding="UTF-8"?>
<Transaction timestamp="2023-04-24T16:20:00-04:00" id="42">
  <Result>
    <Property>060773</Property>
    <RoomID>RoomType101</RoomID>
    <Checkin>2023-04-10</Checkin>
    <Nights>2</Nights>
    <Baserate currency="USD">278.33</Baserate>
    <Tax currency="USD">25.12</Tax>
    <OtherFees currency="USD">2.00</OtherFees>
    <AllowablePointsOfSale>
      <PointOfSale id="site1"/>
    </AllowablePointsOfSale>
  </Result>
  <Result>
    <Property>052213</Property>
    <RoomID>RoomType101</RoomID>
    <Checkin>2023-04-17</Checkin>
    <Nights>2</Nights>
    <Baserate currency="USD">299.98</Baserate>
    <Tax currency="USD">26.42</Tax>
    <OtherFees currency="USD">2.00</OtherFees>
    <AllowablePointsOfSale>
      <PointOfSale id="otto"/>
      <PointOfSale id="simon"/>
    </AllowablePointsOfSale>
  </Result>
</Transaction>

上面的示例不包含该会议室的相关信息,例如 图片说明、图片网址和图片说明、会议室名称或容纳人数。此类 都可以在发送给 Google 的首条“交易”消息中发送这些信息, 然后在所有后续的定价和库存更新中被 RoomID 引用。 有关详情,请参阅定义会议室和套餐 元数据

除了为行程定义价格之外,您还可以使用 <Result> 元素来执行以下操作: