Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionValues
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionValues
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
Conversion value settings for a postback window for SKAdNetwork conversion value schema.
Instance Attribute Summary collapse
-
#coarse_value ⇒ String
Required.
-
#display_name ⇒ String
Display name of the SKAdNetwork conversion value.
-
#event_mappings ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventMapping>
Event conditions that must be met for this Conversion Value to be achieved.
-
#fine_value ⇒ Fixnum
The fine-grained conversion value.
-
#lock_enabled ⇒ Boolean
(also: #lock_enabled?)
If true, the SDK should lock to this conversion value for the current postback window.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaConversionValues
constructor
A new instance of GoogleAnalyticsAdminV1alphaConversionValues.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaConversionValues
Returns a new instance of GoogleAnalyticsAdminV1alphaConversionValues.
2355 2356 2357 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2355 def initialize(**args) update!(**args) end |
Instance Attribute Details
#coarse_value ⇒ String
Required. A coarse grained conversion value. This value is not guaranteed to
be unique.
Corresponds to the JSON property coarseValue
2323 2324 2325 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2323 def coarse_value @coarse_value end |
#display_name ⇒ String
Display name of the SKAdNetwork conversion value. The max allowed display name
length is 50 UTF-16 code units.
Corresponds to the JSON property displayName
2329 2330 2331 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2329 def display_name @display_name end |
#event_mappings ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventMapping>
Event conditions that must be met for this Conversion Value to be achieved.
The conditions in this list are ANDed together. It must have minimum of 1
entry and maximum of 3 entries, if the postback window is enabled.
Corresponds to the JSON property eventMappings
2336 2337 2338 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2336 def event_mappings @event_mappings end |
#fine_value ⇒ Fixnum
The fine-grained conversion value. This is applicable only to the first
postback window. Its valid values are [0,63], both inclusive. It must be set
for postback window 1, and must not be set for postback window 2 & 3. This
value is not guaranteed to be unique. If the configuration for the first
postback window is re-used for second or third postback windows this field has
no effect.
Corresponds to the JSON property fineValue
2346 2347 2348 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2346 def fine_value @fine_value end |
#lock_enabled ⇒ Boolean Also known as: lock_enabled?
If true, the SDK should lock to this conversion value for the current postback
window.
Corresponds to the JSON property lockEnabled
2352 2353 2354 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2352 def lock_enabled @lock_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2360 2361 2362 2363 2364 2365 2366 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2360 def update!(**args) @coarse_value = args[:coarse_value] if args.key?(:coarse_value) @display_name = args[:display_name] if args.key?(:display_name) @event_mappings = args[:event_mappings] if args.key?(:event_mappings) @fine_value = args[:fine_value] if args.key?(:fine_value) @lock_enabled = args[:lock_enabled] if args.key?(:lock_enabled) end |