Reference documentation and code samples for the Google Analytics Admin V1alpha API class Google::Analytics::Admin::V1alpha::CustomDimension.
A definition for a CustomDimension.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::String
- (::String) — Optional. Description for this custom dimension. Max length of 150 characters.
#description=
def description=(value) -> ::String
- value (::String) — Optional. Description for this custom dimension. Max length of 150 characters.
- (::String) — Optional. Description for this custom dimension. Max length of 150 characters.
#disallow_ads_personalization
def disallow_ads_personalization() -> ::Boolean
-
(::Boolean) — Optional. If set to true, sets this dimension as NPA and excludes it from ads
personalization.
This is currently only supported by user-scoped custom dimensions.
#disallow_ads_personalization=
def disallow_ads_personalization=(value) -> ::Boolean
-
value (::Boolean) — Optional. If set to true, sets this dimension as NPA and excludes it from ads
personalization.
This is currently only supported by user-scoped custom dimensions.
-
(::Boolean) — Optional. If set to true, sets this dimension as NPA and excludes it from ads
personalization.
This is currently only supported by user-scoped custom dimensions.
#display_name
def display_name() -> ::String
- (::String) — Required. Display name for this custom dimension as shown in the Analytics UI. Max length of 82 characters, alphanumeric plus space and underscore starting with a letter. Legacy system-generated display names may contain square brackets, but updates to this field will never permit square brackets.
#display_name=
def display_name=(value) -> ::String
- value (::String) — Required. Display name for this custom dimension as shown in the Analytics UI. Max length of 82 characters, alphanumeric plus space and underscore starting with a letter. Legacy system-generated display names may contain square brackets, but updates to this field will never permit square brackets.
- (::String) — Required. Display name for this custom dimension as shown in the Analytics UI. Max length of 82 characters, alphanumeric plus space and underscore starting with a letter. Legacy system-generated display names may contain square brackets, but updates to this field will never permit square brackets.
#name
def name() -> ::String
- (::String) — Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension}
#parameter_name
def parameter_name() -> ::String
-
(::String) — Required. Immutable. Tagging parameter name for this custom dimension.
If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name.
May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions.
#parameter_name=
def parameter_name=(value) -> ::String
-
value (::String) — Required. Immutable. Tagging parameter name for this custom dimension.
If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name.
May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions.
-
(::String) — Required. Immutable. Tagging parameter name for this custom dimension.
If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name.
May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions.
#scope
def scope() -> ::Google::Analytics::Admin::V1alpha::CustomDimension::DimensionScope
- (::Google::Analytics::Admin::V1alpha::CustomDimension::DimensionScope) — Required. Immutable. The scope of this dimension.
#scope=
def scope=(value) -> ::Google::Analytics::Admin::V1alpha::CustomDimension::DimensionScope
- value (::Google::Analytics::Admin::V1alpha::CustomDimension::DimensionScope) — Required. Immutable. The scope of this dimension.
- (::Google::Analytics::Admin::V1alpha::CustomDimension::DimensionScope) — Required. Immutable. The scope of this dimension.