Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCallToActionAsset

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 call to action asset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCallToActionAsset

Returns a new instance of GoogleAdsSearchads360V23CommonCallToActionAsset.



2367
2368
2369
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2367

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

Instance Attribute Details

#call_to_actionString

Call to action. Corresponds to the JSON property callToAction

Returns:

  • (String)


2365
2366
2367
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2365

def call_to_action
  @call_to_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2372
2373
2374
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2372

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