analyticsreporting/v4 library
Analytics Reporting API - v4
Accesses Analytics report data.
For more information, see developers.google.com/analytics/devguides/reporting/core/v4/
Create an instance of AnalyticsReportingApi to access these resources:
Classes
- Activity
- An Activity represents data for an activity of a user.
- AnalyticsReportingApi
- Accesses Analytics report data.
- Cohort
- Defines a cohort.
- CohortGroup
- Defines a cohort group.
- ColumnHeader
- Column headers.
- CustomDimension
- Custom dimension.
- DateRange
- A contiguous set of days: startDate, startDate + 1 day, ..., endDate.
- DateRangeValues
- Used to return a list of metrics for a single DateRange / dimension combination
- Dimension
- Dimensions are attributes of your data.
- DimensionFilter
- Dimension filter specifies the filtering options on a dimension.
- DimensionFilterClause
- A group of dimension filters.
- DynamicSegment
- Dynamic segment definition for defining the segment within the request.
- EcommerceData
- E-commerce details associated with the user activity.
- EventData
- Represents all the details pertaining to an event.
- GetReportsRequest
- The batch request containing multiple report request.
- GetReportsResponse
-
The main response class which holds the reports from the Reporting API
batchGet
call. - GoalData
- Represents all the details pertaining to a goal.
- GoalSetData
- Represents a set of goals that were reached in an activity.
- Metric
- Metrics are the quantitative measurements.
- MetricFilter
- MetricFilter specifies the filter on a metric.
- MetricFilterClause
- Represents a group of metric filters.
- MetricHeader
- The headers for the metrics.
- MetricHeaderEntry
- Header for the metrics.
- OrderBy
- Specifies the sorting options.
- OrFiltersForSegment
-
A list of segment filters in the
OR
group are combined with the logical OR operator. - PageviewData
- Represents details collected when the visitor views a page.
- Pivot
- The Pivot describes the pivot section in the request.
- PivotHeader
- The headers for each of the pivot sections defined in the request.
- PivotHeaderEntry
- The headers for the each of the metric column corresponding to the metrics requested in the pivots section of the response.
- PivotValueRegion
- The metric values in the pivot region.
- ProductData
- Details of the products in an e-commerce transaction.
- Report
- The data response corresponding to the request.
- ReportData
- The data part of the report.
- ReportRequest
- The main request class which specifies the Reporting API request.
- ReportRow
- A row in the report.
- ReportsResource
- ResourceQuotasRemaining
- The resource quota tokens remaining for the property after the request is completed.
- ScreenviewData
- SearchUserActivityRequest
-
The request to fetch User Report from Reporting API
userActivity:get
call. - SearchUserActivityResponse
-
The response from
userActivity:get
call. - Segment
- The segment definition, if the report needs to be segmented.
- SegmentDefinition
-
SegmentDefinition defines the segment to be a set of SegmentFilters which
are combined together with a logical
AND
operation. - SegmentDimensionFilter
- Dimension filter specifies the filtering options on a dimension.
- SegmentFilter
- SegmentFilter defines the segment to be either a simple or a sequence segment.
- SegmentFilterClause
- Filter Clause to be used in a segment definition, can be wither a metric or a dimension filter.
- SegmentMetricFilter
- Metric filter to be used in a segment filter clause.
- SegmentSequenceStep
- A segment sequence definition.
- SequenceSegment
- Sequence conditions consist of one or more steps, where each step is defined by one or more dimension/metric conditions.
- SimpleSegment
- A Simple segment conditions consist of one or more dimension/metric conditions that can be combined.
- TransactionData
- Represents details collected when the visitor performs a transaction on the page.
- User
- Contains information to identify a particular user uniquely.
- UserActivityResource
- UserActivitySession
- This represents a user session performed on a specific device at a certain time over a period of time.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.