Google 住宿数据传输
概览
Google 会在 Google 搜索和 Google 地图上显示酒店属性数据。您可以使用 Google 住宿格式将这些数据发送给 Google。
如需向 Google 发送住宿数据,您可以在酒店列表 Feed 中嵌入数据(首选方法),也可以设置专用文件传输。以下部分介绍了各个选项。
在酒店列表 Feed 中嵌入数据
如果您已有酒店列表 Feed,则可以将住宿数据添加到 <client_attr name="lodging">
下的 <attributes>
部分中。此属性的值是商家信息中经过编码的 Lodging
proto 的 Base64 编码字符串。使用此方法时,Lodging.place_id
字段应是 Feed 中特定商家信息条目的酒店 ID。
其他参考资料
详情请参阅以下内容:
设置专用文件传输
如果您无法直接在商家信息条目中包含住宿数据,则可以设置单独的托管文件传输。Lodging
proto 数据可以设置为 textproto 或 JSON。此设置与酒店商家信息 Feed 的设置非常相似。如需有关此设置的帮助,请与您的技术支持客户经理 (TAM) 联系。
保留所有权利。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-01。
[null,null,["最后更新时间 (UTC):2023-12-01。"],[[["Google uses the Google Lodging Format to display hotel attribute data in Search and Maps."],["Hotels can send their data to Google by embedding it within their hotel list feed or by using a dedicated file transfer."],["Embedding data involves placing Base64-encoded Lodging proto within the `\u003cattributes\u003e` section of the hotel list feed, using Hotel ID for `Lodging.place_id`."],["Dedicated file transfer is an alternative for hotels unable to embed data directly, requiring separate hosting similar to the hotel listing feed process and TAM assistance."]]],[]]