Class: Google::Apis::Adexchangebuyer2V2beta1::Correction

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

Overview

Output only. Shows any corrections that were applied to this creative.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Correction

Returns a new instance of Correction.



640
641
642
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 640

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

Instance Attribute Details

#contextsArray<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>

The contexts for the correction. Corresponds to the JSON property contexts



628
629
630
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 628

def contexts
  @contexts
end

#detailsArray<String>

Additional details about what was corrected. Corresponds to the JSON property details

Returns:

  • (Array<String>)


633
634
635
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 633

def details
  @details
end

#typeString

The type of correction that was applied to the creative. Corresponds to the JSON property type

Returns:

  • (String)


638
639
640
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 638

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



645
646
647
648
649
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 645

def update!(**args)
  @contexts = args[:contexts] if args.key?(:contexts)
  @details = args[:details] if args.key?(:details)
  @type = args[:type] if args.key?(:type)
end