Class: Google::Apis::DfareportingV4::ConversionStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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.



2909
2910
2911
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2909

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

Instance Attribute Details

#conversionGoogle::Apis::DfareportingV4::Conversion

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



2896
2897
2898
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2896

def conversion
  @conversion
end

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

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



2901
2902
2903
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2901

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)


2907
2908
2909
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2907

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2914
2915
2916
2917
2918
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2914

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