A API
Google Business Performance tem um
NOVO método de API que permite buscar várias "DailyMetrics" em uma única solicitação de API.
Confira a
programação de descontinuação e instruções para migrar do método de API reportInsights v4 para a API Google Business Profile Performance.
TimeSeries
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-25 UTC.
[null,null,["Última atualização 2025-07-25 UTC."],[[["\u003cp\u003eTimeSeries represents a timeseries, comprised of a list of datapoints called \u003ccode\u003edatedValues\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003edatedValues\u003c/code\u003e datapoint is a \u003ccode\u003eDatedValue\u003c/code\u003e object, containing a \u003ccode\u003edate\u003c/code\u003e and a corresponding \u003ccode\u003evalue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edate\u003c/code\u003e field in \u003ccode\u003eDatedValue\u003c/code\u003e can represent a month or a specific day, depending on whether the day field is set within the \u003ccode\u003eDate\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003evalue\u003c/code\u003e field in \u003ccode\u003eDatedValue\u003c/code\u003e is a string representing an integer, and it will be omitted if the value is zero.\u003c/p\u003e\n"]]],["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"],null,["# TimeSeries\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [DatedValue](#DatedValue)\n - [JSON representation](#DatedValue.SCHEMA_REPRESENTATION)\n\nRepresents a timeseries.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------|\n| ``` { \"datedValues\": [ { object (/my-business/reference/performance/rest/v1/TimeSeries#DatedValue) } ] } ``` |\n\n| Fields ||\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `datedValues[]` | `object (`[DatedValue](/my-business/reference/performance/rest/v1/TimeSeries#DatedValue)`)` List of datapoints in the timeseries, where each datapoint is a date-value pair. |\n\nDatedValue\n----------\n\nRepresents a single datapoint in the timeseries, where each datapoint is a date-value pair.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------|\n| ``` { \"date\": { object (/my-business/reference/performance/rest/v1/Date) }, \"value\": string } ``` |\n\n| Fields ||\n|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `date` | `object (`[Date](/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. |\n| `value` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The value of the datapoint. This will not be present when the value is zero. |"]]