Für die
Google Business Performance API gibt es eine
NEUE API-Methode, mit der sich mehrere „DailyMetrics“-Objekte in einer einzelnen Anfrage abrufen lassen.
Sehen Sie sich den
Zeitplan für die Einstellung und die Anleitung für die Migration von der reportInsights API-Methode Version 4 zur Google Business Profile Performance API an.
My Business Lodging API
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Mit der My Business Hotel API können Informationen zu Unterkünften auf Google verwaltet werden.
Hinweis: Wenn Sie nach dem Aktivieren der API ein Kontingent von 0 haben, beantragen Sie Zugriff auf die Google Unternehmensprofil-API.
Dienst: mybusinesslodging.googleapis.com
Um diesen Dienst aufzurufen, empfehlen wir die Verwendung der von Google bereitgestellten Clientbibliotheken. Wenn Ihre Anwendung Ihre eigenen Bibliotheken verwenden muss, um diesen Dienst aufzurufen, verwenden Sie die folgenden Informationen, wenn Sie die API-Anfragen stellen.
Discovery-Dokument
Ein Discovery-Dokument ist eine maschinenlesbare Spezifikation zum Beschreiben und Nutzen von REST APIs. Sie wird verwendet, um Clientbibliotheken, IDE-Plug-ins und andere Tools zu erstellen, die mit Google APIs interagieren. Ein Dienst kann mehrere Discovery-Dokumente haben. Der Dienst bietet das folgende Discovery-Dokument:
Dienstendpunkt
Ein Dienstendpunkt ist eine Basis-URL, die die Netzwerkadresse eines API-Dienstes angibt. Ein Dienst kann mehrere Dienstendpunkte haben. Dieser Dienst hat den folgenden Dienstendpunkt und alle nachstehenden URIs beziehen sich auf ihn:
https://mybusinesslodging.googleapis.com
Methoden |
getLodging |
GET /v1/{name=locations/*/lodging}
Gibt die Unterkunft eines bestimmten Standorts zurück. |
updateLodging |
PATCH /v1/{lodging.name=locations/*/lodging}
Aktualisiert die Unterkunft eines bestimmten Orts. |
Methoden |
getGoogleUpdated |
GET /v1/{name=locations/*/lodging}:getGoogleUpdated
Gibt die von Google aktualisierte Unterkunft für einen bestimmten Standort zurück. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["\u003cp\u003eThe My Business Lodging API allows management of lodging business information on Google.\u003c/p\u003e\n"],["\u003cp\u003eYou may need to request access to the GBP API if your quota is 0 after enabling the API.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries are recommended for using this service, but the discovery document and service endpoint are provided for custom integrations.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides methods to retrieve and update lodging information for specific locations, including Google's updates.\u003c/p\u003e\n"]]],["The My Business Lodging API manages lodging business data on Google, accessible via `mybusinesslodging.googleapis.com`. It provides two REST resources: `v1.locations` and `v1.locations.lodging`. `v1.locations` allows retrieving (`getLodging`) and updating (`updateLodging`) a specific location's lodging data. `v1.locations.lodging` permits retrieval of Google's updated lodging information (`getGoogleUpdated`). Access may require requesting GBP API access if the initial quota is zero. Client libraries are recommended; a discovery document is available for custom implementations.\n"],null,["# My Business Lodging API\n\nThe My Business Lodging API enables managing lodging business information on Google. \n\nNote - If you have a quota of 0 after enabling the API, please [request](https://developers.google.com/my-business/content/prereqs#request-access) for GBP API access.\n\n- [REST Resource: v1.locations](#v1.locations)\n- [REST Resource: v1.locations.lodging](#v1.locations.lodging)\n\nService: mybusinesslodging.googleapis.com\n-----------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://mybusinesslodging.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://mybusinesslodging.googleapis.com`\n\nREST Resource: [v1.locations](/my-business/reference/lodging/rest/v1/locations)\n-------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|\n| [getLodging](/my-business/reference/lodging/rest/v1/locations/getLodging) | `GET /v1/{name=locations/*/lodging}` Returns the Lodging of a specific location. |\n| [updateLodging](/my-business/reference/lodging/rest/v1/locations/updateLodging) | `PATCH /v1/{lodging.name=locations/*/lodging}` Updates the Lodging of a specific location. |\n\nREST Resource: [v1.locations.lodging](/my-business/reference/lodging/rest/v1/locations.lodging)\n-----------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| [getGoogleUpdated](/my-business/reference/lodging/rest/v1/locations.lodging/getGoogleUpdated) | `GET /v1/{name=locations/*/lodging}:getGoogleUpdated` Returns the Google updated Lodging of a specific location. |"]]