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