Class: Google::Apis::MybusinessbusinessinformationV1::AdWordsLocationExtensions
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessbusinessinformationV1::AdWordsLocationExtensions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/mybusinessbusinessinformation_v1/classes.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb
Overview
Additional information that is surfaced in AdWords.
Instance Attribute Summary collapse
-
#ad_phone ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdWordsLocationExtensions
constructor
A new instance of AdWordsLocationExtensions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdWordsLocationExtensions
Returns a new instance of AdWordsLocationExtensions.
35 36 37 |
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 35 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_phone ⇒ String
Required. An alternate phone number to display on AdWords location extensions
instead of the location's primary phone number.
Corresponds to the JSON property adPhone
33 34 35 |
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 33 def ad_phone @ad_phone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40 41 42 |
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 40 def update!(**args) @ad_phone = args[:ad_phone] if args.key?(:ad_phone) end |