Class: AdWords::V13::TrafficEstimatorService::KeywordRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords4r/v13/TrafficEstimatorService.rb

Overview

KeywordRequest

  • id - SOAP::SOAPLong

  • maxCpc - SOAP::SOAPLong

  • negative - SOAP::SOAPBoolean

  • text - SOAP::SOAPString

  • type - AdWords::V13::TrafficEstimatorService::KeywordType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, maxCpc = nil, negative = nil, text = nil, type = nil) ⇒ KeywordRequest

Returns a new instance of KeywordRequest.



231
232
233
234
235
236
237
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 231

def initialize(id = nil, maxCpc = nil, negative = nil, text = nil, type = nil)
  @id = id
  @maxCpc = maxCpc
  @negative = negative
  @text = text
  @type = type
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



225
226
227
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 225

def id
  @id
end

#maxCpcObject

Returns the value of attribute maxCpc.



226
227
228
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 226

def maxCpc
  @maxCpc
end

#negativeObject

Returns the value of attribute negative.



227
228
229
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 227

def negative
  @negative
end

#textObject

Returns the value of attribute text.



228
229
230
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 228

def text
  @text
end

#typeObject

Returns the value of attribute type.



229
230
231
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 229

def type
  @type
end