Google 住宿資料移轉
總覽
Google 會在 Google 搜尋和 Google 地圖中顯示飯店屬性資料。您可以透過 Google 住宿格式將這項資料傳送給 Google。
如要將住宿資料傳送給 Google,您可以在飯店清單動態饋給中嵌入資料 (建議做法),或是設定專屬的檔案傳輸作業。以下各節將說明每個選項。
在飯店清單動態饋給中嵌入資料
如果您已有飯店清單動態饋給,可以在 <client_attr name="lodging">
下方的 <attributes>
區段中加入住宿資料。這個屬性的值是商店資訊 Lodging
proto 的 Base64 編碼字串。使用這個方法時,Lodging.place_id
欄位應為動態饋給中特定房源項目的飯店 ID。
其他參考資料
如需更多資訊,請參考下列資源:
設定專屬檔案傳輸
如果無法直接在清單項目中加入住宿資料,可以設定單獨的代管檔案傳輸作業。Lodging
proto 資料可設為 Textproto 或 JSON。這項設定與飯店商家資訊動態饋給非常類似。如需相關設定方面的協助,請與您的客戶技術顧問 (TAM) 聯絡。
保留所有權利。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-01 (世界標準時間)。
[null,null,["上次更新時間: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."]]],[]]