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.
TimeRange
Stay organized with collections
Save and categorize content based on your preferences.
A range of time. Data will be pulled over the range as a half-open inverval (that is, [startTime, endTime)).
JSON representation |
{
"startTime": string,
"endTime": string
} |
Fields |
startTime |
string (Timestamp format)
Epoch timestamp for the start of the range (inclusive). A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z" .
|
endTime |
string (Timestamp format)
Epoch timestamp for the end of the range (exclusive). A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z" .
|
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 UTC."],[[["The Time Range is defined by a start and end time, represented in JSON format using the `startTime` and `endTime` fields."],["Data is extracted within a half-open interval, including the `startTime` but excluding the `endTime`."],["Both `startTime` and `endTime` utilize the RFC3339 UTC \"Zulu\" format with nanosecond resolution for precision."],["The Time Range leverages Google Protocol Buffers' Timestamp format for consistent and standardized representation."]]],[]]