analyticsdata/v1beta library

Google Analytics Data API - v1beta

Accesses report data in Google Analytics. Warning: Creating multiple Customer Applications, Accounts, or Projects to simulate or act as a single Customer Application, Account, or Project (respectively) or to circumvent Service-specific usage limits or quotas is a direct violation of Google Cloud Platform Terms of Service as well as Google APIs Terms of Service. These actions can result in immediate termination of your GCP project(s) without any warning.

For more information, see developers.google.com/analytics/devguides/reporting/data/v1/

Create an instance of AnalyticsDataApi to access these resources:

Classes

ActiveMetricRestriction
A metric actively restricted in creating the report.
AnalyticsDataApi
Accesses report data in Google Analytics.
BatchRunPivotReportsRequest
The batch request containing multiple pivot report requests.
BatchRunPivotReportsResponse
The batch response containing multiple pivot reports.
BatchRunReportsRequest
The batch request containing multiple report requests.
BatchRunReportsResponse
The batch response containing multiple reports.
BetweenFilter
To express that the result needs to be between two numbers (inclusive).
CaseExpression
Used to convert a dimension value to a single case.
CheckCompatibilityRequest
The request for compatibility information for a report's dimensions and metrics.
CheckCompatibilityResponse
The compatibility response with the compatibility of each dimension & metric.
Cohort
Defines a cohort selection criteria.
CohortReportSettings
Optional settings of a cohort report.
CohortSpec
The specification of cohorts for a cohort report.
CohortsRange
Configures the extended reporting date range for a cohort report.
ConcatenateExpression
Used to combine dimension values to a single dimension.
DateRange
A contiguous set of days: startDate, startDate + 1, ..., endDate.
Dimension
Dimensions are attributes of your data.
DimensionCompatibility
The compatibility for a single dimension.
DimensionExpression
Used to express a dimension which is the result of a formula of multiple dimensions.
DimensionHeader
Describes a dimension column in the report.
DimensionMetadata
Explains a dimension.
DimensionValue
The value of a dimension.
Filter
An expression to filter dimension or metric values.
FilterExpression
To express dimension or metric filters.
FilterExpressionList
A list of filter expressions.
Metadata
The dimensions, metrics and comparisons currently accepted in reporting methods.
Metric
The quantitative measurements of a report.
MetricCompatibility
The compatibility for a single metric.
MetricHeader
Describes a metric column in the report.
MetricMetadata
Explains a metric.
MetricValue
The value of a metric.
MinuteRange
A contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ..., endMinutesAgo.
NumericFilter
Filters for numeric or date values.
OrderBy
Order bys define how rows will be sorted in the response.
Pivot
Describes the visible dimension columns and rows in the report response.
PivotDimensionHeader
Summarizes dimension values from a row for this pivot.
PivotHeader
Dimensions' values in a single pivot.
PivotOrderBy
Sorts by a pivot column group.
PivotSelection
A pair of dimension names and values.
PropertiesResource
PropertyQuota
Current state of all quotas for this Analytics Property.
ResponseMetaData
Response's metadata carrying additional information about the report content.
Row
Report data for each row.
RunPivotReportRequest
The request to generate a pivot report.
RunPivotReportResponse
The response pivot report table corresponding to a pivot request.
RunRealtimeReportRequest
The request to generate a realtime report.
RunRealtimeReportResponse
The response realtime report table corresponding to a request.
RunReportRequest
The request to generate a report.
RunReportResponse
The response report table corresponding to a request.
SamplingMetadata
If this report results is sampled, this describes the percentage of events used in this report.
SchemaRestrictionResponse
The schema restrictions actively enforced in creating this report.

Typedefs

DimensionOrderBy = $DimensionOrderBy
Sorts by dimension values.
InListFilter = $InListFilter
The result needs to be in a list of string values.
MetricOrderBy = $MetricOrderBy
Sorts by metric values.
NumericValue = $NumericValue
To represent a number.
QuotaStatus = $QuotaStatus
Current state for a particular quota group.
StringFilter = $StringFilter
The filter for string

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.