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.
TimeSeries
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["TimeSeries represents a timeseries, comprised of a list of datapoints called `datedValues`."],["Each `datedValues` datapoint is a `DatedValue` object, containing a `date` and a corresponding `value`."],["The `date` field in `DatedValue` can represent a month or a specific day, depending on whether the day field is set within the `Date` object."],["The `value` field in `DatedValue` is a string representing an integer, and it will be omitted if the value is zero."]]],["The content describes a `TimeSeries` data structure, represented in JSON, containing a list of `DatedValue` objects. Each `DatedValue` is a datapoint consisting of a `date` object and a `value` (integer represented as a string). The `date` indicates when the datapoint occurred, and the `value` signifies its corresponding numerical data. The `value` can be absent if zero. The `TimeSeries` structure represents a collection of these date-value pairs.\n"]]