You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline"> 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. Example request: `GET https://businessprofileperformance.googleapis.com/v1/locations/12345:fetchMultiDailyMetricsTimeSeries?dailyMetrics=WEBSITE_CLICKS&dailyMetrics=CALL_CLICKS&daily_range.start_date.year=2022&daily_range.start_date.month=1&daily_range.start_date.day=1&daily_range.end_date.year=2022&daily_range.end_date.month=3&daily_range.end_date.day=31`</p>
<pclass="firstline"> Returns the values for each date from a given time range that are associated with the specific daily metric. Example request: `GET https://businessprofileperformance.googleapis.com/v1/locations/12345:getDailyMetricsTimeSeries?dailyMetric=WEBSITE_CLICKS&daily_range.start_date.year=2022&daily_range.start_date.month=1&daily_range.start_date.day=1&daily_range.end_date.year=2022&daily_range.end_date.month=3&daily_range.end_date.day=31`</p>
<pre> 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. Example request: `GET https://businessprofileperformance.googleapis.com/v1/locations/12345:fetchMultiDailyMetricsTimeSeries?dailyMetrics=WEBSITE_CLICKS&dailyMetrics=CALL_CLICKS&daily_range.start_date.year=2022&daily_range.start_date.month=1&daily_range.start_date.day=1&daily_range.end_date.year=2022&daily_range.end_date.month=3&daily_range.end_date.day=31`
100
+
101
+
Args:
102
+
location: string, Required. The location for which the time series should be fetched. Format: locations/{location_id} where location_id is an unobfuscated listing id. (required)
103
+
dailyMetrics: string, Required. The metrics to retrieve time series for. (repeated)
104
+
Allowed values
105
+
DAILY_METRIC_UNKNOWN - Represents the default unknown value.
106
+
BUSINESS_IMPRESSIONS_DESKTOP_MAPS - Business impressions on Google Maps on Desktop devices. Multiple impressions by a unique user within a single day are counted as a single impression.
107
+
BUSINESS_IMPRESSIONS_DESKTOP_SEARCH - Business impressions on Google Search on Desktop devices. Multiple impressions by a unique user within a single day are counted as a single impression.
108
+
BUSINESS_IMPRESSIONS_MOBILE_MAPS - Business impressions on Google Maps on Mobile devices. Multiple impressions by a unique user within a single day are counted as a single impression.
109
+
BUSINESS_IMPRESSIONS_MOBILE_SEARCH - Business impressions on Google Search on Mobile devices. Multiple impressions by a unique user within a single day are counted as a single impression.
110
+
BUSINESS_CONVERSATIONS - The number of message conversations received on the business profile.
111
+
BUSINESS_DIRECTION_REQUESTS - The number of times a direction request was requested to the business location.
112
+
CALL_CLICKS - The number of times the business profile call button was clicked.
113
+
WEBSITE_CLICKS - The number of times the business profile website was clicked.
114
+
BUSINESS_BOOKINGS - The number of bookings received from the business profile.
115
+
BUSINESS_FOOD_ORDERS - The number of food orders received from the business profile.
116
+
BUSINESS_FOOD_MENU_CLICKS - The number of clicks to view or interact with the menu content on the business profile. Multiple clicks by a unique user within a single day are counted as 1.
117
+
dailyRange_endDate_day: integer, Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
118
+
dailyRange_endDate_month: integer, Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
119
+
dailyRange_endDate_year: integer, Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
120
+
dailyRange_startDate_day: integer, Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
121
+
dailyRange_startDate_month: integer, Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
122
+
dailyRange_startDate_year: integer, Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
123
+
x__xgafv: string, V1 error format.
124
+
Allowed values
125
+
1 - v1 error format
126
+
2 - v2 error format
127
+
128
+
Returns:
129
+
An object of the form:
130
+
131
+
{ # Represents the response for FetchMultiDailyMetricsTimeSeries.
132
+
"multiDailyMetricTimeSeries": [ # DailyMetrics and their corresponding time series.
133
+
{ # Represents a list of tuples of DailyMetric-DailySubEntityType-TimeSeries.
134
+
"dailyMetricTimeSeries": [ # List of DailyMetric-TimeSeries pairs.
135
+
{ # Represents a single datapoint, where each datapoint is a DailyMetric-DailySubEntityType-TimeSeries tuple.
136
+
"dailyMetric": "A String", # The DailyMetric that the TimeSeries represents.
137
+
"dailySubEntityType": { # Represents all possible subentity types that are associated with DailyMetrics. # The DailySubEntityType that the TimeSeries represents. Will not be present when breakdown does not exist.
138
+
"dayOfWeek": "A String", # Represents the day of the week. Eg: MONDAY.
139
+
"timeOfDay": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. # Represents the time of the day in 24 hour format. Eg: 13:34:20
140
+
"hours": 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
141
+
"minutes": 42, # Minutes of hour of day. Must be from 0 to 59.
142
+
"nanos": 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
143
+
"seconds": 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
144
+
},
145
+
},
146
+
"timeSeries": { # Represents a timeseries. # List of datapoints where each datapoint is a date-value pair.
147
+
"datedValues": [ # List of datapoints in the timeseries, where each datapoint is a date-value pair.
148
+
{ # Represents a single datapoint in the timeseries, where each datapoint is a date-value pair.
149
+
"date": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date that the datapoint corresponds to. This represents a month value if the day field is not set.
150
+
"day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
151
+
"month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
152
+
"year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
153
+
},
154
+
"value": "A String", # The value of the datapoint.
<pre> Returns the values for each date from a given time range that are associated with the specific daily metric. Example request: `GET https://businessprofileperformance.googleapis.com/v1/locations/12345:getDailyMetricsTimeSeries?dailyMetric=WEBSITE_CLICKS&daily_range.start_date.year=2022&daily_range.start_date.month=1&daily_range.start_date.day=1&daily_range.end_date.year=2022&daily_range.end_date.month=3&daily_range.end_date.day=31`
0 commit comments