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.



10787
10788
10789
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10787

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)


10785
10786
10787
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10785

def headline
  @headline
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10792
10793
10794
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10792

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