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.



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

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

Instance Attribute Details

#call_to_actionString

Call to action. Corresponds to the JSON property callToAction

Returns:

  • (String)


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

def call_to_action
  @call_to_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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