Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCallToActionAsset
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCallToActionAsset
- 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
-
#call_to_action ⇒ String
Call to action.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCallToActionAsset
constructor
A new instance of GoogleAdsSearchads360V23CommonCallToActionAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_action ⇒ String
Call to action.
Corresponds to the JSON property callToAction
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 |