Class: Google::Apis::DfareportingV3_4::ConversionStatus

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

Overview

The original conversion that was inserted or updated and whether there were any errors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConversionStatus

Returns a new instance of ConversionStatus.



2624
2625
2626
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2624

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

Instance Attribute Details

#conversionGoogle::Apis::DfareportingV3_4::Conversion

A Conversion represents when a user successfully performs a desired action after seeing an ad. Corresponds to the JSON property conversion



2611
2612
2613
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2611

def conversion
  @conversion
end

#errorsArray<Google::Apis::DfareportingV3_4::ConversionError>

A list of errors related to this conversion. Corresponds to the JSON property errors



2616
2617
2618
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2616

def errors
  @errors
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#conversionStatus". Corresponds to the JSON property kind

Returns:

  • (String)


2622
2623
2624
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2622

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2629
2630
2631
2632
2633
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2629

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