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.
MetricValue
Stay organized with collections
Save and categorize content based on your preferences.
A value for a single Metric from a starting time.
Fields |
metric |
enum (Metric )
The metric for which the value applies.
|
totalValue |
object (DimensionalMetricValue )
The total aggregated value for this metric. Set for the AGGREGATED_TOTAL option.
|
dimensionalValues[] |
object (DimensionalMetricValue )
Dimensional values for this metric.
|
DimensionalMetricValue
A value for a single metric with a given time dimension.
Fields |
metricOption |
enum (MetricOption )
The option that requested this dimensional value.
|
timeDimension |
object (TimeDimension )
The dimension for the value.
|
value |
string (Int64Value format)
The value. If no value is set, then the requested data is missing.
|
TimeDimension
The dimension for which data is divided over.
Fields |
dayOfWeek |
enum (DayOfWeek )
The day of the week ("MONDAY" to "SUNDAY") this value corresponds to. Set for BREAKDOWN_DAY_OF_WEEK option.
|
timeOfDay |
object (TimeOfDay )
The hour of the day (0 to 23) this value corresponds to. Set for BREAKDOWN_HOUR_OF_DAY option.
|
timeRange |
object (TimeRange )
The range of time this value covers. Set for AGGREGATED_TOTAL and AGGREGATED_DAILY options.
|
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 2020-08-24 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]