Skip to main content

ga

Overview

Namega
TypeResource
Idgoogleanalytics.analytics.ga

Fields

NameDatatypeDescription
idstringUnique ID for this data response.
totalsForAllResultsobjectTotal values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.
sampleSizestringThe number of samples used to calculate the result.
dataTableobject
columnHeadersarrayColumn headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.
sampleSpacestringTotal size of the sample space from which the samples were selected.
itemsPerPageintegerThe maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
queryobjectAnalytics data request query parameters.
dataLastRefreshedstringThe last refreshed time in seconds for Analytics data.
containsSampledDatabooleanDetermines if Analytics data contains samples.
kindstringResource type.
nextLinkstringLink to next page for this Analytics data query.
previousLinkstringLink to previous page for this Analytics data query.
profileInfoobjectInformation for the view (profile), for which the Analytics data was requested.
totalResultsintegerThe total number of rows for the query, regardless of the number of rows in the response.
rowsarrayAnalytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.
selfLinkstringLink to this page.

Methods

NameAccessible byRequired Params
data_ga_getSELECTend-date, ids, metrics, start-date