Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonShoppingComparisonListingAdInfo

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

A Shopping Comparison Listing ad.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#headlineString

Headline of the ad. This field is required. Allowed length is between 25 and 45 characters. Corresponds to the JSON property headline

Returns:

  • (String)


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