Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCalloutFeedItem

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

Represents a callout extension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCalloutFeedItem

Returns a new instance of GoogleAdsSearchads360V23CommonCalloutFeedItem.



2428
2429
2430
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2428

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#callout_textString

The callout text. The length of this string should be between 1 and 25, inclusive. Corresponds to the JSON property calloutText

Returns:

  • (String)


2426
2427
2428
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2426

def callout_text
  @callout_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2433
2434
2435
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2433

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