Class: AdWords::V201003::AdGroupAdService::LocalBusinessAd

Inherits:
Ad
  • Object
show all
Defined in:
lib/adwords4r/v201003/AdGroupAdService.rb

Overview

LocalBusinessAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdWords::V201003::AdGroupAdService::AdApprovalStatus

  • disapprovalReasons - SOAP::SOAPString

  • trademarkDisapproved - SOAP::SOAPBoolean

  • ad_Type - SOAP::SOAPString

  • fullBusinessName - SOAP::SOAPString

  • phoneNumber - SOAP::SOAPString

  • streetAddress - SOAP::SOAPString

  • city - SOAP::SOAPString

  • region - SOAP::SOAPString

  • regionCode - SOAP::SOAPString

  • postalCode - SOAP::SOAPString

  • countryCode - SOAP::SOAPString

  • businessName - SOAP::SOAPString

  • description1 - SOAP::SOAPString

  • description2 - SOAP::SOAPString

  • target - AdWords::V201003::AdGroupAdService::ProximityTarget

  • businessImage - AdWords::V201003::AdGroupAdService::Image

  • icon - AdWords::V201003::AdGroupAdService::Image

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], trademarkDisapproved = nil, ad_Type = nil, fullBusinessName = nil, phoneNumber = nil, streetAddress = nil, city = nil, region = nil, regionCode = nil, postalCode = nil, countryCode = nil, businessName = nil, description1 = nil, description2 = nil, target = nil, businessImage = nil, icon = nil) ⇒ LocalBusinessAd

Returns a new instance of LocalBusinessAd.



2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2164

def initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], trademarkDisapproved = nil, ad_Type = nil, fullBusinessName = nil, phoneNumber = nil, streetAddress = nil, city = nil, region = nil, regionCode = nil, postalCode = nil, countryCode = nil, businessName = nil, description1 = nil, description2 = nil, target = nil, businessImage = nil, icon = nil)
  @id = id
  @url = url
  @displayUrl = displayUrl
  @approvalStatus = approvalStatus
  @disapprovalReasons = disapprovalReasons
  @trademarkDisapproved = trademarkDisapproved
  @ad_Type = ad_Type
  @fullBusinessName = fullBusinessName
  @phoneNumber = phoneNumber
  @streetAddress = streetAddress
  @city = city
  @region = region
  @regionCode = regionCode
  @postalCode = postalCode
  @countryCode = countryCode
  @businessName = businessName
  @description1 = description1
  @description2 = description2
  @target = target
  @businessImage = businessImage
  @icon = icon
end

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



2148
2149
2150
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2148

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



2145
2146
2147
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2145

def approvalStatus
  @approvalStatus
end

#businessImageObject

Returns the value of attribute businessImage.



2161
2162
2163
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2161

def businessImage
  @businessImage
end

#businessNameObject

Returns the value of attribute businessName.



2157
2158
2159
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2157

def businessName
  @businessName
end

#cityObject

Returns the value of attribute city.



2152
2153
2154
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2152

def city
  @city
end

#countryCodeObject

Returns the value of attribute countryCode.



2156
2157
2158
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2156

def countryCode
  @countryCode
end

#description1Object

Returns the value of attribute description1.



2158
2159
2160
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2158

def description1
  @description1
end

#description2Object

Returns the value of attribute description2.



2159
2160
2161
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2159

def description2
  @description2
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



2146
2147
2148
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2146

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



2144
2145
2146
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2144

def displayUrl
  @displayUrl
end

#fullBusinessNameObject

Returns the value of attribute fullBusinessName.



2149
2150
2151
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2149

def fullBusinessName
  @fullBusinessName
end

#iconObject

Returns the value of attribute icon.



2162
2163
2164
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2162

def icon
  @icon
end

#idObject

Returns the value of attribute id.



2142
2143
2144
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2142

def id
  @id
end

#phoneNumberObject

Returns the value of attribute phoneNumber.



2150
2151
2152
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2150

def phoneNumber
  @phoneNumber
end

#postalCodeObject

Returns the value of attribute postalCode.



2155
2156
2157
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2155

def postalCode
  @postalCode
end

#regionObject

Returns the value of attribute region.



2153
2154
2155
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2153

def region
  @region
end

#regionCodeObject

Returns the value of attribute regionCode.



2154
2155
2156
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2154

def regionCode
  @regionCode
end

#streetAddressObject

Returns the value of attribute streetAddress.



2151
2152
2153
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2151

def streetAddress
  @streetAddress
end

#targetObject

Returns the value of attribute target.



2160
2161
2162
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2160

def target
  @target
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



2147
2148
2149
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2147

def trademarkDisapproved
  @trademarkDisapproved
end

#urlObject

Returns the value of attribute url.



2143
2144
2145
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 2143

def url
  @url
end