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.
Method: locations.getAttributes
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.
[null,null,["Last updated 2024-10-16 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"]]