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
| 111 112 113 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 111 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
| 109 110 111 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 109 def ad_phone @ad_phone end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 116 117 118 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 116 def update!(**args) @ad_phone = args[:ad_phone] if args.key?(:ad_phone) end |