La API de
Google Business Performance tiene un método de API
NUEVO que permite recuperar varias métricas "DailyMetrics" en una sola solicitud a la API.
Revise el
programa de baja y las instrucciones para migrar del método de la API de reportInsights versión 4 a la API de rendimiento del Perfil de Negocio de Google.
TimeSeries
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-25 (UTC)
[null,null,["Última actualización: 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. |"]]