Google Business Performance API has a
NEW API method that allows fetching multiple `DailyMetrics` in a single API request. Review the
deprecation schedule and instructions to migrate over from v4 reportInsights API method to Google Business Profile Performance API.
Lodging API
Stay organized with collections
Save and categorize content based on your preferences.
Change log
v1.2: 2023-10-26
Sustainability Certifications
Deprecation of SustainabilityCertifications
object. More Info.
v1.1: 2021-09-09
Sustainability
Addition of Sustainability
object within Lodging
Type. More Info.
v1: 2021-04-05
API Access
The Lodging API will need to be enabled from the GCP Console. The OAuth scope remains the same.
Endpoint URL
The Lodging API is accessible at https://mybusinesslodging.googleapis.com/v1/{name=locations/{locationId}/lodging}
instead of https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}
The LanguageSpoken
object has changed and now accepts a language code. More Info.
allUnits
and someUnits
are now Output Only.
You can no longer edit the allUnits
or someUnits
fields. More info.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 UTC."],[[["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."]]],[]]