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.



16793
16794
16795
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16793

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)


16766
16767
16768
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16766

def currency_code
  @currency_code
end

#event_counterFixnum

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

Returns:

  • (Fixnum)


16771
16772
16773
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16771

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



16776
16777
16778
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16776

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



16781
16782
16783
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16781

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)


16786
16787
16788
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16786

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)


16791
16792
16793
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16791

def mapped_event_name
  @mapped_event_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16798
16799
16800
16801
16802
16803
16804
16805
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16798

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