Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

Defines a Google conversion event that the conversion value is mapped to.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent

Returns a new instance of GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent.



16859
16860
16861
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16859

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

Instance Attribute Details

#currency_codeString

Output only. The reported currency for the event_revenue. ISO 4217 three- letter currency code, for example, "USD" Corresponds to the JSON property currencyCode

Returns:

  • (String)


16832
16833
16834
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16832

def currency_code
  @currency_code
end

#event_counterFixnum

Output only. For specific event counter values. Corresponds to the JSON property eventCounter

Returns:

  • (Fixnum)


16837
16838
16839
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16837

def event_counter
  @event_counter
end

#event_occurrence_rangeGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange

Defines a range for event counter values. Corresponds to the JSON property eventOccurrenceRange



16842
16843
16844
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16842

def event_occurrence_range
  @event_occurrence_range
end

#event_revenue_rangeGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange

Defines a range for revenue values. Corresponds to the JSON property eventRevenueRange



16847
16848
16849
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16847

def event_revenue_range
  @event_revenue_range
end

#event_revenue_valueFloat

Output only. The specific event revenue value. Corresponds to the JSON property eventRevenueValue

Returns:

  • (Float)


16852
16853
16854
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16852

def event_revenue_value
  @event_revenue_value
end

#mapped_event_nameString

Output only. Google event name represented by this conversion value. Corresponds to the JSON property mappedEventName

Returns:

  • (String)


16857
16858
16859
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16857

def mapped_event_name
  @mapped_event_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16864
16865
16866
16867
16868
16869
16870
16871
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16864

def update!(**args)
  @currency_code = args[:currency_code] if args.key?(:currency_code)
  @event_counter = args[:event_counter] if args.key?(:event_counter)
  @event_occurrence_range = args[:event_occurrence_range] if args.key?(:event_occurrence_range)
  @event_revenue_range = args[:event_revenue_range] if args.key?(:event_revenue_range)
  @event_revenue_value = args[:event_revenue_value] if args.key?(:event_revenue_value)
  @mapped_event_name = args[:mapped_event_name] if args.key?(:mapped_event_name)
end