Prova il server MCP per Google Analytics. Installa da
GitHub e consulta l'
annuncio per maggiori dettagli.
AccessDateRange
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Un intervallo di giorni contiguo: startDate, startDate + 1, ..., endDate.
Rappresentazione JSON |
{
"startDate": string,
"endDate": string
} |
Campi |
startDate |
string
La data di inizio inclusa per la query nel formato YYYY-MM-DD . Non può essere successiva a endDate . È accettato anche il formato NdaysAgo , yesterday o today ; in questo caso, la data viene dedotta in base all'ora corrente nel fuso orario della richiesta.
|
endDate |
string
La data di fine inclusa per la query nel formato YYYY-MM-DD . Non può essere precedente al giorno startDate . È accettato anche il formato NdaysAgo , yesterday o today ; in questo caso, la data viene dedotta in base all'ora corrente nel fuso orario della richiesta.
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["Defines a date range using a start date and an end date, inclusive of both."],["Dates are specified in `YYYY-MM-DD` format or using relative terms like `NdaysAgo`, `yesterday`, or `today`."],["The `startDate` cannot be after the `endDate`, ensuring a valid date range."],["Both `startDate` and `endDate` are interpreted based on the request's time zone."]]],["The core content describes a JSON structure for representing a date range. The JSON object contains `startDate` and `endDate` fields, both strings. These fields define an inclusive range of days. The format `YYYY-MM-DD` is required, but `NdaysAgo`, `yesterday`, and `today` are also valid and will infer the date from the request's time zone. `endDate` must not be before `startDate`, and `startDate` must not be after `endDate`.\n"]]