Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSkAdNetworkConversionValueSchema

Inherits:
Object
  • Object
show all
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

SKAdNetwork conversion value schema of an iOS stream.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaSkAdNetworkConversionValueSchema

Returns a new instance of GoogleAnalyticsAdminV1alphaSkAdNetworkConversionValueSchema.



5078
5079
5080
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5078

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#apply_conversion_valuesBoolean Also known as: apply_conversion_values?

If enabled, the GA SDK will set conversion values using this schema definition, and schema will be exported to any Google Ads accounts linked to this property. If disabled, the GA SDK will not automatically set conversion values, and also the schema will not be exported to Ads. Corresponds to the JSON property applyConversionValues

Returns:

  • (Boolean)


5052
5053
5054
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5052

def apply_conversion_values
  @apply_conversion_values
end

#nameString

Output only. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/property/dataStreams/dataStream/ sKAdNetworkConversionValueSchema Corresponds to the JSON property name

Returns:

  • (String)


5061
5062
5063
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5061

def name
  @name
end

#postback_window_oneGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaPostbackWindow

Settings for a SKAdNetwork conversion postback window. Corresponds to the JSON property postbackWindowOne



5066
5067
5068
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5066

def postback_window_one
  @postback_window_one
end

#postback_window_threeGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaPostbackWindow

Settings for a SKAdNetwork conversion postback window. Corresponds to the JSON property postbackWindowThree



5071
5072
5073
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5071

def postback_window_three
  @postback_window_three
end

#postback_window_twoGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaPostbackWindow

Settings for a SKAdNetwork conversion postback window. Corresponds to the JSON property postbackWindowTwo



5076
5077
5078
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5076

def postback_window_two
  @postback_window_two
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5083
5084
5085
5086
5087
5088
5089
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5083

def update!(**args)
  @apply_conversion_values = args[:apply_conversion_values] if args.key?(:apply_conversion_values)
  @name = args[:name] if args.key?(:name)
  @postback_window_one = args[:postback_window_one] if args.key?(:postback_window_one)
  @postback_window_three = args[:postback_window_three] if args.key?(:postback_window_three)
  @postback_window_two = args[:postback_window_two] if args.key?(:postback_window_two)
end