Class: Google::Apis::MybusinessV3::AdWordsLocationExtensions
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessV3::AdWordsLocationExtensions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/mybusiness_v3/classes.rb,
generated/google/apis/mybusiness_v3/representations.rb,
generated/google/apis/mybusiness_v3/representations.rb
Overview
Additional information that is surfaced in AdWords.
Instance Attribute Summary collapse
-
#ad_phone ⇒ String
An alternate phone number to display on AdWords location extensions instead of the location's primary phone number.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdWordsLocationExtensions
constructor
A new instance of AdWordsLocationExtensions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AdWordsLocationExtensions
Returns a new instance of AdWordsLocationExtensions
1063 1064 1065 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1063 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_phone ⇒ String
An alternate phone number to display on AdWords location extensions
instead of the location's primary phone number.
Corresponds to the JSON property adPhone
1061 1062 1063 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1061 def ad_phone @ad_phone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1068 1069 1070 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1068 def update!(**args) @ad_phone = args[:ad_phone] if args.key?(:ad_phone) end |