---
title: "GET /v1/locations/{locationsId}:getDailyMetricsTimeSeries"
method: GET
path: "/v1/locations/{locationsId}:getDailyMetricsTimeSeries"
tags: ["locations"]
---

# GET /v1/locations/{locationsId}:getDailyMetricsTimeSeries

`GET /v1/locations/{locationsId}:getDailyMetricsTimeSeries`

## Request

- Base URL: `https://businessprofileperformance.googleapis.com`
- URL: `https://businessprofileperformance.googleapis.com/v1/locations/{locationsId}:getDailyMetricsTimeSeries`
- Auth: none declared

Returns the values for each date from a given time range that are associated with the specific daily metric. Note: Only daily data is available. Hourly metrics are not supported. Example request: `GET https://businessprofileperformance.googleapis.com/v1/locations/12345:getDailyMetricsTimeSeries?dailyMetric=WEBSITE_CLICKS&daily_range.start_date.year=2022&daily_range.start_date.month=1&daily_range.start_date.day=1&daily_range.end_date.year=2022&daily_range.end_date.month=3&daily_range.end_date.day=31`

## Path parameters

- `locationsId` string, required

## Query parameters

- `dailyMetric` 'DAILY_METRIC_UNKNOWN' | 'BUSINESS_IMPRESSIONS_DESKTOP_MAPS' | 'BUSINESS_IMPRESSIONS_DESKTOP_SEARCH' | 'BUSINESS_IMPRESSIONS_MOBILE_MAPS' | 'BUSINESS_IMPRESSIONS_MOBILE_SEARCH' | 'BUSINESS_CONVERSATIONS' | 'BUSINESS_DIRECTION_REQUESTS' | 'CALL_CLICKS' | 'WEBSITE_CLICKS' | 'MESSAGING_CLICKS' | 'BUSINESS_BOOKINGS' | 'BUSINESS_FOOD_ORDERS' | 'BUSINESS_FOOD_MENU_CLICKS'
- `dailyRange.endDate.day` integer
- `dailyRange.endDate.month` integer
- `dailyRange.endDate.year` integer
- `dailyRange.startDate.day` integer
- `dailyRange.startDate.month` integer
- `dailyRange.startDate.year` integer
- `dailySubEntityType.dayOfWeek` 'DAY_OF_WEEK_UNSPECIFIED' | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY'
- `dailySubEntityType.timeOfDay.hours` integer
- `dailySubEntityType.timeOfDay.minutes` integer
- `dailySubEntityType.timeOfDay.nanos` integer
- `dailySubEntityType.timeOfDay.seconds` integer

## Response `200`

Successful response

- GetDailyMetricsTimeSeriesResponse: Represents the response for GetDailyMetricsTimeSeries.
  - `timeSeries` TimeSeries: Represents a timeseries.
    - `datedValues` DatedValue[]: List of datapoints in the timeseries, where each datapoint is a date-value pair.
      - `date` Date: Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
        - `day` integer: Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
        - `month` integer: Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
        - `year` integer: Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
      - `value` string, int64: The value of the datapoint. This will not be present when the value is zero.

---

[API](https://skmtc.dev/google/apis/businessprofileperformance.md) - [All operations](https://skmtc.dev/google/apis/businessprofileperformance/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/businessprofileperformance/revisions/43322ca24926?raw)
