Class: Google::Apis::DfareportingV3_5::ConversionStatus
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_5::ConversionStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v3_5/classes.rb,
lib/google/apis/dfareporting_v3_5/representations.rb,
lib/google/apis/dfareporting_v3_5/representations.rb
Overview
The original conversion that was inserted or updated and whether there were any errors.
Instance Attribute Summary collapse
-
#conversion ⇒ Google::Apis::DfareportingV3_5::Conversion
A Conversion represents when a user successfully performs a desired action after seeing an ad.
-
#errors ⇒ Array<Google::Apis::DfareportingV3_5::ConversionError>
A list of errors related to this conversion.
-
#kind ⇒ String
Identifies what kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConversionStatus
constructor
A new instance of ConversionStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConversionStatus
Returns a new instance of ConversionStatus.
2562 2563 2564 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2562 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversion ⇒ Google::Apis::DfareportingV3_5::Conversion
A Conversion represents when a user successfully performs a desired action
after seeing an ad.
Corresponds to the JSON property conversion
2549 2550 2551 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2549 def conversion @conversion end |
#errors ⇒ Array<Google::Apis::DfareportingV3_5::ConversionError>
A list of errors related to this conversion.
Corresponds to the JSON property errors
2554 2555 2556 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2554 def errors @errors end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#conversionStatus".
Corresponds to the JSON property kind
2560 2561 2562 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2560 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2567 2568 2569 2570 2571 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2567 def update!(**args) @conversion = args[:conversion] if args.key?(:conversion) @errors = args[:errors] if args.key?(:errors) @kind = args[:kind] if args.key?(:kind) end |