Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent
- 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
-
#currency_code ⇒ String
Output only.
-
#event_counter ⇒ Fixnum
Output only.
-
#event_occurrence_range ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventEventOccurrenceRange
Defines a range for event counter values.
-
#event_revenue_range ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEventRevenueRange
Defines a range for revenue values.
-
#event_revenue_value ⇒ Float
Output only.
-
#mapped_event_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent
constructor
A new instance of GoogleAdsSearchads360V23ResourcesCustomerSkAdNetworkConversionValueSchemaSkAdNetworkConversionValueSchemaEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_code ⇒ String
Output only. The reported currency for the event_revenue. ISO 4217 three-
letter currency code, for example, "USD"
Corresponds to the JSON property currencyCode
16832 16833 16834 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16832 def currency_code @currency_code end |
#event_counter ⇒ Fixnum
Output only. For specific event counter values.
Corresponds to the JSON property eventCounter
16837 16838 16839 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16837 def event_counter @event_counter end |
#event_occurrence_range ⇒ Google::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_range ⇒ Google::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_value ⇒ Float
Output only. The specific event revenue value.
Corresponds to the JSON property eventRevenueValue
16852 16853 16854 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16852 def event_revenue_value @event_revenue_value end |
#mapped_event_name ⇒ String
Output only. Google event name represented by this conversion value.
Corresponds to the JSON property mappedEventName
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 |