Google Analytics Data V1alpha Client - Class RestrictedMetricType (0.17.1)

Reference documentation and code samples for the Google Analytics Data V1alpha Client class RestrictedMetricType.

Categories of data that you may be restricted from viewing on certain GA4 properties.

Protobuf type google.analytics.data.v1alpha.RestrictedMetricType

Namespace

Google \ Analytics \ Data \ V1alpha

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

RESTRICTED_METRIC_TYPE_UNSPECIFIED

Value: 0

Unspecified type.

Generated from protobuf enum RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0;

COST_DATA

Value: 1

Cost metrics such as adCost.

Generated from protobuf enum COST_DATA = 1;

REVENUE_DATA

Value: 2

Revenue metrics such as purchaseRevenue.

Generated from protobuf enum REVENUE_DATA = 2;