Class LocationsResource
The "locations" collection of methods.
Inherited Members
Namespace: Google.Apis.BusinessProfilePerformance.v1
Assembly: Google.Apis.BusinessProfilePerformance.v1.dll
Syntax
public class LocationsResource
Constructors
LocationsResource(IClientService)
Constructs a new resource.
Declaration
public LocationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Searchkeywords
Gets the Searchkeywords resource.
Declaration
public virtual LocationsResource.SearchkeywordsResource Searchkeywords { get; }
Property Value
Type | Description |
---|---|
LocationsResource.SearchkeywordsResource |
Methods
FetchMultiDailyMetricsTimeSeries(string)
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
Declaration
public virtual LocationsResource.FetchMultiDailyMetricsTimeSeriesRequest FetchMultiDailyMetricsTimeSeries(string location)
Parameters
Type | Name | Description |
---|---|---|
string | location | Required. The location for which the time series should be fetched. Format: locations/{location_id} where location_id is an unobfuscated listing id. |
Returns
Type | Description |
---|---|
LocationsResource.FetchMultiDailyMetricsTimeSeriesRequest |
GetDailyMetricsTimeSeries(string)
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
Declaration
public virtual LocationsResource.GetDailyMetricsTimeSeriesRequest GetDailyMetricsTimeSeries(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The location for which the time series should be fetched. Format: locations/{location_id} where location_id is an unobfuscated listing id. |
Returns
Type | Description |
---|---|
LocationsResource.GetDailyMetricsTimeSeriesRequest |