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.
Method: locations.getAttributes
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: 2023-12-01 (UTC).
[null,null,["Zuletzt aktualisiert: 2023-12-01 (UTC)."],[[["Looks up all attributes set for a given location using a `GET` request to the specified URL."],["The request requires a `name` path parameter in the form of `locations/{locationId}/attributes` to identify the location."],["The response, if successful, will contain an `Attributes` object with the location's details."],["Authorization is necessary using the `https://www.googleapis.com/auth/business.manage` OAuth scope."]]],["This document details how to retrieve attributes for a specific location. The core action is a `GET` request to the provided URL, formatted using gRPC Transcoding syntax: `https://mybusinessbusinessinformation.googleapis.com/v1/{name=locations/*/attributes}`. The `name` parameter, a string, is required in the format `locations/{locationId}/attributes`. The request body should be empty. A successful response returns an instance of `Attributes`. The operation needs the OAuth scope: `https://www.googleapis.com/auth/business.manage`.\n"]]