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.
MetricOption
Stay organized with collections
Save and categorize content based on your preferences.
Option to specify how data should be displayed in the response.
Enums |
METRIC_OPTION_UNSPECIFIED |
No metric option specified. Will default to AGGREGATED_TOTAL in a request. |
AGGREGATED_TOTAL |
Return values aggregated over the entire time frame. This is the default value. |
AGGREGATED_DAILY |
Return daily timestamped values across time range. |
BREAKDOWN_DAY_OF_WEEK |
Values will be returned as a breakdown by day of the week. Only valid for ACTIONS_PHONE. |
BREAKDOWN_HOUR_OF_DAY |
Values will be returned as a breakdown by hour of the day. Only valid for ACTIONS_PHONE. |
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 `metricOption` field controls how data is displayed, with `AGGREGATED_TOTAL` as the default, showing aggregated values for the entire timeframe."],["Daily or hourly breakdowns are available for phone call actions (`ACTIONS_PHONE`) using `AGGREGATED_DAILY`, `BREAKDOWN_DAY_OF_WEEK`, or `BREAKDOWN_HOUR_OF_DAY`."],["If no `metricOption` is specified (`METRIC_OPTION_UNSPECIFIED`), it defaults to `AGGREGATED_TOTAL`."]]],[]]