Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonPriceAsset
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonPriceAsset
- 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
An asset representing a list of price offers.
Instance Attribute Summary collapse
-
#language_code ⇒ String
Required.
-
#price_offerings ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonPriceOffering>
The price offerings of the price asset.
-
#price_qualifier ⇒ String
The price qualifier of the price asset.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonPriceAsset
constructor
A new instance of GoogleAdsSearchads360V23CommonPriceAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonPriceAsset
Returns a new instance of GoogleAdsSearchads360V23CommonPriceAsset.
9352 9353 9354 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9352 def initialize(**args) update!(**args) end |
Instance Attribute Details
#language_code ⇒ String
Required. The language of the price asset. Represented as BCP 47 language tag.
Corresponds to the JSON property languageCode
9334 9335 9336 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9334 def language_code @language_code end |
#price_offerings ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonPriceOffering>
The price offerings of the price asset. The size of this collection should be
between 3 and 8, inclusive.
Corresponds to the JSON property priceOfferings
9340 9341 9342 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9340 def price_offerings @price_offerings end |
#price_qualifier ⇒ String
The price qualifier of the price asset.
Corresponds to the JSON property priceQualifier
9345 9346 9347 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9345 def price_qualifier @price_qualifier end |
#type ⇒ String
Required. The type of the price asset.
Corresponds to the JSON property type
9350 9351 9352 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9350 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9357 9358 9359 9360 9361 9362 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9357 def update!(**args) @language_code = args[:language_code] if args.key?(:language_code) @price_offerings = args[:price_offerings] if args.key?(:price_offerings) @price_qualifier = args[:price_qualifier] if args.key?(:price_qualifier) @type = args[:type] if args.key?(:type) end |