Class: AdWords::V200909::CampaignAdExtensionService::LocationExtension

Inherits:
AdExtension
  • Object
show all
Defined in:
lib/adwords4r/v200909/CampaignAdExtensionService.rb

Overview

LocationExtension

  • id - SOAP::SOAPLong

  • adExtension_Type - SOAP::SOAPString

  • address - AdWords::V200909::CampaignAdExtensionService::Address

  • geoPoint - AdWords::V200909::CampaignAdExtensionService::GeoPoint

  • encodedLocation - SOAP::SOAPBase64

  • companyName - SOAP::SOAPString

  • phoneNumber - SOAP::SOAPString

  • source - AdWords::V200909::CampaignAdExtensionService::LocationExtensionSource

  • iconMediaId - SOAP::SOAPLong

  • imageMediaId - SOAP::SOAPLong

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, adExtension_Type = nil, address = nil, geoPoint = nil, encodedLocation = nil, companyName = nil, phoneNumber = nil, source = nil, iconMediaId = nil, imageMediaId = nil) ⇒ LocationExtension

Returns a new instance of LocationExtension.



684
685
686
687
688
689
690
691
692
693
694
695
# File 'lib/adwords4r/v200909/CampaignAdExtensionService.rb', line 684

def initialize(id = nil, adExtension_Type = nil, address = nil, geoPoint = nil, encodedLocation = nil, companyName = nil, phoneNumber = nil, source = nil, iconMediaId = nil, imageMediaId = nil)
  @id = id
  @adExtension_Type = adExtension_Type
  @address = address
  @geoPoint = geoPoint
  @encodedLocation = encodedLocation
  @companyName = companyName
  @phoneNumber = phoneNumber
  @source = source
  @iconMediaId = iconMediaId
  @imageMediaId = imageMediaId
end

Instance Attribute Details

#addressObject

Returns the value of attribute address.



675
676
677
# File 'lib/adwords4r/v200909/CampaignAdExtensionService.rb', line 675

def address
  @address
end

#adExtension_TypeObject

Returns the value of attribute adExtension_Type.



674
675
676
# File 'lib/adwords4r/v200909/CampaignAdExtensionService.rb', line 674

def adExtension_Type
  @adExtension_Type
end

#companyNameObject

Returns the value of attribute companyName.



678
679
680
# File 'lib/adwords4r/v200909/CampaignAdExtensionService.rb', line 678

def companyName
  @companyName
end

#encodedLocationObject

Returns the value of attribute encodedLocation.



677
678
679
# File 'lib/adwords4r/v200909/CampaignAdExtensionService.rb', line 677

def encodedLocation
  @encodedLocation
end

#geoPointObject

Returns the value of attribute geoPoint.



676
677
678
# File 'lib/adwords4r/v200909/CampaignAdExtensionService.rb', line 676

def geoPoint
  @geoPoint
end

#iconMediaIdObject

Returns the value of attribute iconMediaId.



681
682
683
# File 'lib/adwords4r/v200909/CampaignAdExtensionService.rb', line 681

def iconMediaId
  @iconMediaId
end

#idObject

Returns the value of attribute id.



673
674
675
# File 'lib/adwords4r/v200909/CampaignAdExtensionService.rb', line 673

def id
  @id
end

#imageMediaIdObject

Returns the value of attribute imageMediaId.



682
683
684
# File 'lib/adwords4r/v200909/CampaignAdExtensionService.rb', line 682

def imageMediaId
  @imageMediaId
end

#phoneNumberObject

Returns the value of attribute phoneNumber.



679
680
681
# File 'lib/adwords4r/v200909/CampaignAdExtensionService.rb', line 679

def phoneNumber
  @phoneNumber
end

#sourceObject

Returns the value of attribute source.



680
681
682
# File 'lib/adwords4r/v200909/CampaignAdExtensionService.rb', line 680

def source
  @source
end