Class: AdWords::V201008::CampaignTargetService::CityTarget

Inherits:
GeoTarget
  • Object
show all
Defined in:
lib/adwords4r/v201008/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.



289
290
291
292
293
294
295
# File 'lib/adwords4r/v201008/CampaignTargetService.rb', line 289

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.



285
286
287
# File 'lib/adwords4r/v201008/CampaignTargetService.rb', line 285

def cityName
  @cityName
end

#countryCodeObject

Returns the value of attribute countryCode.



287
288
289
# File 'lib/adwords4r/v201008/CampaignTargetService.rb', line 287

def countryCode
  @countryCode
end

#excludedObject

Returns the value of attribute excluded.



284
285
286
# File 'lib/adwords4r/v201008/CampaignTargetService.rb', line 284

def excluded
  @excluded
end

#provinceCodeObject

Returns the value of attribute provinceCode.



286
287
288
# File 'lib/adwords4r/v201008/CampaignTargetService.rb', line 286

def provinceCode
  @provinceCode
end

#target_TypeObject

Returns the value of attribute target_Type.



283
284
285
# File 'lib/adwords4r/v201008/CampaignTargetService.rb', line 283

def target_Type
  @target_Type
end