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.updateAttributes

Stay organized with collections Save and categorize content based on your preferences.

Update attributes for a given location.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. Google identifier for this location in the form of locations/{locationId}/attributes.

Query parameters


string (FieldMask format)

Required. Attribute name of attributes that you'd like to update. Represented by attributes/{attribute}.

Updates: All attributes provided in the attributes field that you would like to update must be set in the attributeMask. Attributes set in the above list but not in the attributeMask will be ignored.

Deletes: If you'd like to delete certain attributes, they must be specified in the attributeMask with no matching entry in the attributes list. If you'd like to delete all attributes set on a location, you should look up all the applicable attributes for the location and then add them to the attributeMask with an empty attributes field.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Attributes.

Response body

If successful, the response body contains an instance of Attributes.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the OAuth 2.0 Overview.