Class: Google::Apis::DfareportingV2_5::ConversionStatus

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ConversionStatus

Returns a new instance of ConversionStatus.


2370
2371
2372
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 2370

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

Instance Attribute Details

#conversionGoogle::Apis::DfareportingV2_5::Conversion

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


2357
2358
2359
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 2357

def conversion
  @conversion
end

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

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


2362
2363
2364
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 2362

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)

2368
2369
2370
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 2368

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2375
2376
2377
2378
2379
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 2375

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