Class: Google::Shopping::Merchant::Conversions::V1beta::AttributionSettings
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Conversions::V1beta::AttributionSettings
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/conversions/v1beta/conversionsources.rb
Overview
Represents attribution settings for conversion sources receiving pre-attribution data.
Defined Under Namespace
Modules: AttributionModel Classes: ConversionType
Instance Attribute Summary collapse
-
#attribution_lookback_window_days ⇒ ::Integer
Required.
-
#attribution_model ⇒ ::Google::Shopping::Merchant::Conversions::V1beta::AttributionSettings::AttributionModel
Required.
-
#conversion_type ⇒ ::Array<::Google::Shopping::Merchant::Conversions::V1beta::AttributionSettings::ConversionType>
Immutable.
Instance Attribute Details
#attribution_lookback_window_days ⇒ ::Integer
Returns Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'proto_docs/google/shopping/merchant/conversions/v1beta/conversionsources.rb', line 101 class AttributionSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Message representing a types of conversion events # @!attribute [r] name # @return [::String] # Output only. Conversion event name, as it'll be reported by the client. # @!attribute [r] report # @return [::Boolean] # Output only. Option indicating if the type should be included in Merchant # Center reporting. class ConversionType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The attribution model used for this source. We support the same set of # models offered by Google Analytics 4, as described in: # https://support.google.com/analytics/answer/10596866. module AttributionModel # Unspecified model. ATTRIBUTION_MODEL_UNSPECIFIED = 0 # Cross-channel Last Click model. CROSS_CHANNEL_LAST_CLICK = 1 # Ads-preferred Last Click model. ADS_PREFERRED_LAST_CLICK = 2 # Cross-channel Data Driven model. CROSS_CHANNEL_DATA_DRIVEN = 5 # Cross-channel First Click model. CROSS_CHANNEL_FIRST_CLICK = 6 # Cross-channel Linear model. CROSS_CHANNEL_LINEAR = 7 # Cross-channel Position Based model. CROSS_CHANNEL_POSITION_BASED = 8 # Cross-channel Time Decay model. CROSS_CHANNEL_TIME_DECAY = 9 end end |
#attribution_model ⇒ ::Google::Shopping::Merchant::Conversions::V1beta::AttributionSettings::AttributionModel
Returns Required. Attribution model.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'proto_docs/google/shopping/merchant/conversions/v1beta/conversionsources.rb', line 101 class AttributionSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Message representing a types of conversion events # @!attribute [r] name # @return [::String] # Output only. Conversion event name, as it'll be reported by the client. # @!attribute [r] report # @return [::Boolean] # Output only. Option indicating if the type should be included in Merchant # Center reporting. class ConversionType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The attribution model used for this source. We support the same set of # models offered by Google Analytics 4, as described in: # https://support.google.com/analytics/answer/10596866. module AttributionModel # Unspecified model. ATTRIBUTION_MODEL_UNSPECIFIED = 0 # Cross-channel Last Click model. CROSS_CHANNEL_LAST_CLICK = 1 # Ads-preferred Last Click model. ADS_PREFERRED_LAST_CLICK = 2 # Cross-channel Data Driven model. CROSS_CHANNEL_DATA_DRIVEN = 5 # Cross-channel First Click model. CROSS_CHANNEL_FIRST_CLICK = 6 # Cross-channel Linear model. CROSS_CHANNEL_LINEAR = 7 # Cross-channel Position Based model. CROSS_CHANNEL_POSITION_BASED = 8 # Cross-channel Time Decay model. CROSS_CHANNEL_TIME_DECAY = 9 end end |
#conversion_type ⇒ ::Array<::Google::Shopping::Merchant::Conversions::V1beta::AttributionSettings::ConversionType>
Returns Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard "purchase" type will be automatically created if this list is empty at creation time.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'proto_docs/google/shopping/merchant/conversions/v1beta/conversionsources.rb', line 101 class AttributionSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Message representing a types of conversion events # @!attribute [r] name # @return [::String] # Output only. Conversion event name, as it'll be reported by the client. # @!attribute [r] report # @return [::Boolean] # Output only. Option indicating if the type should be included in Merchant # Center reporting. class ConversionType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The attribution model used for this source. We support the same set of # models offered by Google Analytics 4, as described in: # https://support.google.com/analytics/answer/10596866. module AttributionModel # Unspecified model. ATTRIBUTION_MODEL_UNSPECIFIED = 0 # Cross-channel Last Click model. CROSS_CHANNEL_LAST_CLICK = 1 # Ads-preferred Last Click model. ADS_PREFERRED_LAST_CLICK = 2 # Cross-channel Data Driven model. CROSS_CHANNEL_DATA_DRIVEN = 5 # Cross-channel First Click model. CROSS_CHANNEL_FIRST_CLICK = 6 # Cross-channel Linear model. CROSS_CHANNEL_LINEAR = 7 # Cross-channel Position Based model. CROSS_CHANNEL_POSITION_BASED = 8 # Cross-channel Time Decay model. CROSS_CHANNEL_TIME_DECAY = 9 end end |