Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonCallToActionAsset

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb

Overview

A call to action asset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonCallToActionAsset

Returns a new instance of GoogleAdsSearchads360V0CommonCallToActionAsset.



231
232
233
# File 'lib/google/apis/searchads360_v0/classes.rb', line 231

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

Instance Attribute Details

#call_to_actionString

Call to action. Corresponds to the JSON property callToAction

Returns:

  • (String)


229
230
231
# File 'lib/google/apis/searchads360_v0/classes.rb', line 229

def call_to_action
  @call_to_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



236
237
238
# File 'lib/google/apis/searchads360_v0/classes.rb', line 236

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