Method: locations.fetchMultiDailyMetricsTimeSeries

Returns the values for each date from a given time range and optionally the sub entity type, where applicable, that are associated with the specific daily metrics.

Example request: GET https://businessprofileperformance.googleapis.com/v1/locations/12345:fetchMultiDailyMetricsTimeSeries?dailyMetrics=WEBSITE_CLICKS&dailyMetrics=CALL_CLICKS&dailyRange.start_date.year=2022&dailyRange.start_date.month=1&dailyRange.start_date.day=1&dailyRange.end_date.year=2022&dailyRange.end_date.month=3&dailyRange.end_date.day=31

HTTP request

GET https://businessprofileperformance.googleapis.com/v1/{location=locations/*}:fetchMultiDailyMetricsTimeSeries

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
location

string

Required. The location for which the time series should be fetched. Format: locations/{locationId} where locationId is an unobfuscated listing id.

Query parameters

Parameters
dailyMetrics[]

enum (DailyMetric)

Required. The metrics to retrieve time series for.

dailyRange

object (DailyRange)

Required. The timerange for which the time series will be fetched.

Request body

The request body must be empty.

Response body

Represents the response for locations.fetchMultiDailyMetricsTimeSeries.

If successful, the response body contains data with the following structure:

JSON representation
{
  "multiDailyMetricTimeSeries": [
    {
      object (MultiDailyMetricTimeSeries)
    }
  ]
}
Fields
multiDailyMetricTimeSeries[]

object (MultiDailyMetricTimeSeries)

DailyMetrics and their corresponding time series.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

MultiDailyMetricTimeSeries

Represents a list of tuples of DailyMetric-DailySubEntityType-TimeSeries.

JSON representation
{
  "dailyMetricTimeSeries": [
    {
      object (DailyMetricTimeSeries)
    }
  ]
}
Fields
dailyMetricTimeSeries[]

object (DailyMetricTimeSeries)

List of DailyMetric-TimeSeries pairs.

DailyMetricTimeSeries

Represents a single datapoint, where each datapoint is a DailyMetric-DailySubEntityType-TimeSeries tuple.

JSON representation
{
  "dailyMetric": enum (DailyMetric),
  "dailySubEntityType": {
    object (DailySubEntityType)
  },
  "timeSeries": {
    object (TimeSeries)
  }
}
Fields
dailyMetric

enum (DailyMetric)

The DailyMetric that the TimeSeries represents.

dailySubEntityType

object (DailySubEntityType)

The DailySubEntityType that the TimeSeries represents. Will not be present when breakdown does not exist.

timeSeries

object (TimeSeries)

List of datapoints where each datapoint is a date-value pair.