Class: Google::Analytics::Admin::V1alpha::CustomDimension

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/analytics/admin/v1alpha/resources.rb

Overview

A definition for a CustomDimension.

Defined Under Namespace

Modules: DimensionScope

Instance Attribute Summary collapse

Instance Attribute Details

#description::String

Returns Optional. Description for this custom dimension. Max length of 150 characters.

Returns:

  • (::String)

    Optional. Description for this custom dimension. Max length of 150 characters.



996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 996

class CustomDimension
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Valid values for the scope of this dimension.
  module DimensionScope
    # Scope unknown or not specified.
    DIMENSION_SCOPE_UNSPECIFIED = 0

    # Dimension scoped to an event.
    EVENT = 1

    # Dimension scoped to a user.
    USER = 2

    # Dimension scoped to eCommerce items
    ITEM = 3
  end
end

#disallow_ads_personalization::Boolean

Returns 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.

Returns:

  • (::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.



996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 996

class CustomDimension
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Valid values for the scope of this dimension.
  module DimensionScope
    # Scope unknown or not specified.
    DIMENSION_SCOPE_UNSPECIFIED = 0

    # Dimension scoped to an event.
    EVENT = 1

    # Dimension scoped to a user.
    USER = 2

    # Dimension scoped to eCommerce items
    ITEM = 3
  end
end

#display_name::String

Returns 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.

Returns:

  • (::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.



996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 996

class CustomDimension
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Valid values for the scope of this dimension.
  module DimensionScope
    # Scope unknown or not specified.
    DIMENSION_SCOPE_UNSPECIFIED = 0

    # Dimension scoped to an event.
    EVENT = 1

    # Dimension scoped to a user.
    USER = 2

    # Dimension scoped to eCommerce items
    ITEM = 3
  end
end

#name::String (readonly)

Returns Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension}.

Returns:

  • (::String)

    Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension}



996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 996

class CustomDimension
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Valid values for the scope of this dimension.
  module DimensionScope
    # Scope unknown or not specified.
    DIMENSION_SCOPE_UNSPECIFIED = 0

    # Dimension scoped to an event.
    EVENT = 1

    # Dimension scoped to a user.
    USER = 2

    # Dimension scoped to eCommerce items
    ITEM = 3
  end
end

#parameter_name::String

Returns 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.

If this is an item-scoped dimension, then this is the parameter name found in the eCommerce items array.

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.

Returns:

  • (::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.

    If this is an item-scoped dimension, then this is the parameter name found in the eCommerce items array.

    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.



996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 996

class CustomDimension
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Valid values for the scope of this dimension.
  module DimensionScope
    # Scope unknown or not specified.
    DIMENSION_SCOPE_UNSPECIFIED = 0

    # Dimension scoped to an event.
    EVENT = 1

    # Dimension scoped to a user.
    USER = 2

    # Dimension scoped to eCommerce items
    ITEM = 3
  end
end

#scope::Google::Analytics::Admin::V1alpha::CustomDimension::DimensionScope

Returns Required. Immutable. The scope of this dimension.

Returns:



996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 996

class CustomDimension
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Valid values for the scope of this dimension.
  module DimensionScope
    # Scope unknown or not specified.
    DIMENSION_SCOPE_UNSPECIFIED = 0

    # Dimension scoped to an event.
    EVENT = 1

    # Dimension scoped to a user.
    USER = 2

    # Dimension scoped to eCommerce items
    ITEM = 3
  end
end