# TimeSeries

- [JSON representation](https://developers.google.com/my-business/reference/performance/rest/v1/TimeSeries#SCHEMA_REPRESENTATION)
- [DatedValue](https://developers.google.com/my-business/reference/performance/rest/v1/TimeSeries#DatedValue)
  - [JSON representation](https://developers.google.com/my-business/reference/performance/rest/v1/TimeSeries#DatedValue.SCHEMA_REPRESENTATION)

Represents a timeseries.

| JSON representation |
|---|
| ``` { "datedValues": [ { object (`https://developers.google.com/my-business/reference/performance/rest/v1/TimeSeries#DatedValue`) } ] } ``` |

| Fields ||
|---|---|
| `datedValues[]` | ``object (`https://developers.google.com/my-business/reference/performance/rest/v1/TimeSeries#DatedValue`)`` List of datapoints in the timeseries, where each datapoint is a date-value pair. |

## DatedValue

Represents a single datapoint in the timeseries, where each datapoint is a date-value pair.

| JSON representation |
|---|
| ``` { "date": { object (`https://developers.google.com/my-business/reference/performance/rest/v1/Date`) }, "value": string } ``` |

| Fields ||
|---|---|
| `date` | ``object (`https://developers.google.com/my-business/reference/performance/rest/v1/Date`)`` The date that the datapoint corresponds to. This represents a month value if the day field is not set. |
| `value` | `string (https://developers.google.com/discovery/v1/type-format format)` The value of the datapoint. This will not be present when the value is zero. |