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

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

Updates the specified location.

HTTP request

PATCH https://mybusinessbusinessinformation.googleapis.com/v1/{location.name=locations/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
location.name

string

Google identifier for this location in the form: locations/{locationId}.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The specific fields to update.

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

validateOnly

boolean

Optional. If true, the request is validated without actually updating the location. When this field is set, we will only return validation errors if there were any. The response will be empty if no errors were found.

Request body

The request body contains an instance of Location.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/business.manage

For more information, see the OAuth 2.0 Overview.