Class: Google::Apis::Adexchangebuyer2V2beta1::Correction
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::Correction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/adexchangebuyer2_v2beta1/classes.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
Output only. Shows any corrections that were applied to this creative.
Instance Attribute Summary collapse
-
#contexts ⇒ Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>
The contexts for the correction.
-
#details ⇒ Array<String>
Additional details about what was corrected.
-
#type ⇒ String
The type of correction that was applied to the creative.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Correction
constructor
A new instance of Correction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Correction
Returns a new instance of Correction.
641 642 643 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 641 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contexts ⇒ Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>
The contexts for the correction.
Corresponds to the JSON property contexts
629 630 631 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 629 def contexts @contexts end |
#details ⇒ Array<String>
Additional details about what was corrected.
Corresponds to the JSON property details
634 635 636 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 634 def details @details end |
#type ⇒ String
The type of correction that was applied to the creative.
Corresponds to the JSON property type
639 640 641 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 639 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
646 647 648 649 650 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 646 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 |