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.
REST Resource: locations
Stay organized with collections
Save and categorize content based on your preferences.
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.
[null,null,["Last updated 2024-10-16 UTC."],[[["\u003cp\u003eThis resource does not store any persistent data.\u003c/p\u003e\n"],["\u003cp\u003eProvides methods to retrieve daily and multi-daily metrics time series data for locations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003efetchMultiDailyMetricsTimeSeries\u003c/code\u003e allows retrieval of data for specific sub-entity types within a location.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egetDailyMetricsTimeSeries\u003c/code\u003e focuses on retrieving data for a single, specific daily metric.\u003c/p\u003e\n"]]],["The core content outlines two methods for retrieving time-series data related to daily metrics. `fetchMultiDailyMetricsTimeSeries` returns values for each date within a specified range, potentially including sub-entity data. `getDailyMetricsTimeSeries` returns values for each date within a given range, focusing on a specific daily metric. No persistent data is stored within the resource itself.\n"],null,["# REST Resource: locations\n\n- [Resource](#RESOURCE_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource\n--------\n\nThere is no persistent data associated with this resource.\n\n| Methods ------- ||\n|-------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### [fetchMultiDailyMetricsTimeSeries](/my-business/reference/performance/rest/v1/locations/fetchMultiDailyMetricsTimeSeries) | Returns the values for each date from a given time range and optionally the sub entity type, where applicable, that are associated with the specific daily metrics. |\n| ### [getDailyMetricsTimeSeries](/my-business/reference/performance/rest/v1/locations/getDailyMetricsTimeSeries) | Returns the values for each date from a given time range that are associated with the specific daily metric. |"]]