Class: Google::Apis::DfareportingV3_4::CustomEventStatus

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 custom event 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) ⇒ CustomEventStatus

Returns a new instance of CustomEventStatus.



4898
4899
4900
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4898

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

Instance Attribute Details

#custom_eventGoogle::Apis::DfareportingV3_4::CustomEvent

Experimental feature (no support provided) A custom event represents a third party impression, a third party click, an annotation on a first party impression, or an annotation on a first party click. Corresponds to the JSON property customEvent



4885
4886
4887
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4885

def custom_event
  @custom_event
end

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

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



4890
4891
4892
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4890

def errors
  @errors
end

#kindString

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

Returns:

  • (String)


4896
4897
4898
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4896

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4903
4904
4905
4906
4907
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4903

def update!(**args)
  @custom_event = args[:custom_event] if args.key?(:custom_event)
  @errors = args[:errors] if args.key?(:errors)
  @kind = args[:kind] if args.key?(:kind)
end