Google Analytics Data V1beta Client - Class RestrictedMetricType (0.10.1)

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

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

Protobuf type google.analytics.data.v1beta.RestrictedMetricType

Namespace

Google \ Analytics \ Data \ V1beta

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
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;