Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo
- 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
A Shopping Comparison Listing ad.
Instance Attribute Summary collapse
-
#headline ⇒ String
Headline of the ad.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo
Returns a new instance of GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo.
10772 10773 10774 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10772 def initialize(**args) update!(**args) end |
Instance Attribute Details
#headline ⇒ String
Headline of the ad. This field is required. Allowed length is between 25 and
45 characters.
Corresponds to the JSON property headline
10770 10771 10772 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10770 def headline @headline end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10777 10778 10779 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10777 def update!(**args) @headline = args[:headline] if args.key?(:headline) end |