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.



9545
9546
9547
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9545

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)


9543
9544
9545
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9543

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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