Google Business Performance API 的
NEW API 方法可擷取單一 API 要求中的多個「DailyMetrics」。
請詳閱
淘汰時間表和從 v4 reportInsights API 方法遷移至 Google Business Profile Performance API 的操作說明。
Lodging API
變更記錄檔
v1.2:2023-10-26
永續發展認證
SustainabilityCertifications
物件的淘汰。瞭解詳情。
v1.1:2021 年 9 月 9 日
永續發展
在 Lodging
類型中新增 Sustainability
物件。瞭解詳情。
v1:2021-04-05
API 存取
您必須透過 GCP 主控台啟用 Lodging API。OAuth 範圍保持不變。
端點網址
住宿 API 可透過 https://mybusinesslodging.googleapis.com/v1/{name=locations/{locationId}/lodging}
存取,而非 https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}
LanguageSpoken
物件已變更,現在可接受語言代碼。瞭解詳情。
allUnits
和 someUnits
現已改為僅供輸出。
您無法再編輯 allUnits
或 someUnits
欄位。瞭解詳情。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-01-29 (世界標準時間)。
[null,null,["上次更新時間:2025-01-29 (世界標準時間)。"],[[["The Lodging API has been updated with a new endpoint URL (`https://mybusinesslodging.googleapis.com/v1/{name=locations/{locationId}/lodging}`) and requires enabling from the GCP Console."],["The `LanguageSpoken` object now uses language codes, and the `allUnits` and `someUnits` fields have become output-only, meaning they can no longer be edited."],["A new `Sustainability` object was introduced in v1.1 within the `Lodging` type, providing information about sustainability practices."],["The `SustainabilityCertifications` object has been deprecated in the latest version (v1.2), with further details available in the provided link."]]],[]]