Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonProductLegacyConditionInfo

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

Overview

Legacy condition of a product offer. This listing dimension is deprecated and it is supported only in Display campaigns.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonProductLegacyConditionInfo

Returns a new instance of GoogleAdsSearchads360V23CommonProductLegacyConditionInfo.



9553
9554
9555
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9553

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

Instance Attribute Details

#valueString

String value of the product legacy condition. Corresponds to the JSON property value

Returns:

  • (String)


9551
9552
9553
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9551

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9558
9559
9560
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9558

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