Class: AdwordsApi::V200909::AdGroupAdService::Address

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords_api/v200909/AdGroupAdService.rb

Overview

Address

  • streetAddress - SOAP::SOAPString

  • streetAddress2 - SOAP::SOAPString

  • cityName - SOAP::SOAPString

  • provinceCode - SOAP::SOAPString

  • provinceName - SOAP::SOAPString

  • postalCode - SOAP::SOAPString

  • countryCode - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(streetAddress = nil, streetAddress2 = nil, cityName = nil, provinceCode = nil, provinceName = nil, postalCode = nil, countryCode = nil) ⇒ Address

Returns a new instance of Address.



23
24
25
26
27
28
29
30
31
# File 'lib/adwords_api/v200909/AdGroupAdService.rb', line 23

def initialize(streetAddress = nil, streetAddress2 = nil, cityName = nil, provinceCode = nil, provinceName = nil, postalCode = nil, countryCode = nil)
  @streetAddress = streetAddress
  @streetAddress2 = streetAddress2
  @cityName = cityName
  @provinceCode = provinceCode
  @provinceName = provinceName
  @postalCode = postalCode
  @countryCode = countryCode
end

Instance Attribute Details

#cityNameObject

Returns the value of attribute cityName.



17
18
19
# File 'lib/adwords_api/v200909/AdGroupAdService.rb', line 17

def cityName
  @cityName
end

#countryCodeObject

Returns the value of attribute countryCode.



21
22
23
# File 'lib/adwords_api/v200909/AdGroupAdService.rb', line 21

def countryCode
  @countryCode
end

#postalCodeObject

Returns the value of attribute postalCode.



20
21
22
# File 'lib/adwords_api/v200909/AdGroupAdService.rb', line 20

def postalCode
  @postalCode
end

#provinceCodeObject

Returns the value of attribute provinceCode.



18
19
20
# File 'lib/adwords_api/v200909/AdGroupAdService.rb', line 18

def provinceCode
  @provinceCode
end

#provinceNameObject

Returns the value of attribute provinceName.



19
20
21
# File 'lib/adwords_api/v200909/AdGroupAdService.rb', line 19

def provinceName
  @provinceName
end

#streetAddressObject

Returns the value of attribute streetAddress.



15
16
17
# File 'lib/adwords_api/v200909/AdGroupAdService.rb', line 15

def streetAddress
  @streetAddress
end

#streetAddress2Object

Returns the value of attribute streetAddress2.



16
17
18
# File 'lib/adwords_api/v200909/AdGroupAdService.rb', line 16

def streetAddress2
  @streetAddress2
end