OptionaldimensionsOptionalend-End date for fetching Analytics data. Request can specify an end date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or NdaysAgo where N is a positive integer).
OptionalfiltersDimension or metric filters that restrict the data returned for your request.
OptionalidsThe unique table ID of the form ga:XXXX, where XXXX is the Analytics view (profile) ID for which the query will retrieve the data.
Optionalmax-The maximum number of rows to include in the response.
OptionalmetricsA list of comma-separated metrics, such as ga:sessions,ga:bounces.
OptionalsamplingThe desired sampling level. Allowed Values: DEFAULT — Returns response with a sample size that balances speed and accuracy. FASTER — Returns a fast response with a smaller sample size. HIGHER_PRECISION — Returns a more accurate response using a large sample size, but this may result in the response being slower.
OptionalsegmentSegments the data returned for your request.
OptionalsortA list of comma-separated dimensions and metrics indicating the sorting order and sorting direction for the returned data.
Optionalstart-Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or NdaysAgo where N is a positive integer).
Optionalstart-The first row of data to retrieve, starting at 1. Use this parameter as a pagination mechanism along with the max-results parameter.
A list of comma-separated dimensions for your Analytics data, such as ga:browser,ga:city.