Class: AdWords::V200909::CampaignTargetService::CityTarget

Inherits:
GeoTarget
  • Object
show all
Defined in:
lib/adwords4r/v200909/CampaignTargetService.rb

Overview

CityTarget

  • target_Type - SOAP::SOAPString

  • excluded - SOAP::SOAPBoolean

  • cityName - SOAP::SOAPString

  • provinceCode - SOAP::SOAPString

  • countryCode - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil) ⇒ CityTarget

Returns a new instance of CityTarget.



249
250
251
252
253
254
255
# File 'lib/adwords4r/v200909/CampaignTargetService.rb', line 249

def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
  @target_Type = target_Type
  @excluded = excluded
  @cityName = cityName
  @provinceCode = provinceCode
  @countryCode = countryCode
end

Instance Attribute Details

#cityNameObject

Returns the value of attribute cityName.



245
246
247
# File 'lib/adwords4r/v200909/CampaignTargetService.rb', line 245

def cityName
  @cityName
end

#countryCodeObject

Returns the value of attribute countryCode.



247
248
249
# File 'lib/adwords4r/v200909/CampaignTargetService.rb', line 247

def countryCode
  @countryCode
end

#excludedObject

Returns the value of attribute excluded.



244
245
246
# File 'lib/adwords4r/v200909/CampaignTargetService.rb', line 244

def excluded
  @excluded
end

#provinceCodeObject

Returns the value of attribute provinceCode.



246
247
248
# File 'lib/adwords4r/v200909/CampaignTargetService.rb', line 246

def provinceCode
  @provinceCode
end

#target_TypeObject

Returns the value of attribute target_Type.



243
244
245
# File 'lib/adwords4r/v200909/CampaignTargetService.rb', line 243

def target_Type
  @target_Type
end