Class: YSM::ForecastService::ForecastRequestData

Inherits:
Object
  • Object
show all
Defined in:
lib/ysm4r/v1/ForecastService.rb,
lib/ysm4r/v2/ForecastService.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(accountID = nil, contentMatchMaxBid = nil, geoTargets = nil, marketID = nil, matchTypes = nil, sponsoredSearchMaxBid = nil) ⇒ ForecastRequestData

Returns a new instance of ForecastRequestData.



15
16
17
18
19
20
21
22
# File 'lib/ysm4r/v1/ForecastService.rb', line 15

def initialize(accountID = nil, contentMatchMaxBid = nil, geoTargets = nil, marketID = nil, matchTypes = nil, sponsoredSearchMaxBid = nil)
  @accountID = accountID
  @contentMatchMaxBid = contentMatchMaxBid
  @geoTargets = geoTargets
  @marketID = marketID
  @matchTypes = matchTypes
  @sponsoredSearchMaxBid = sponsoredSearchMaxBid
end

Instance Attribute Details

#accountIDObject

Returns the value of attribute accountID.



8
9
10
# File 'lib/ysm4r/v1/ForecastService.rb', line 8

def accountID
  @accountID
end

#contentMatchMaxBidObject

Returns the value of attribute contentMatchMaxBid.



9
10
11
# File 'lib/ysm4r/v1/ForecastService.rb', line 9

def contentMatchMaxBid
  @contentMatchMaxBid
end

#geoTargetsObject

Returns the value of attribute geoTargets.



10
11
12
# File 'lib/ysm4r/v1/ForecastService.rb', line 10

def geoTargets
  @geoTargets
end

#marketIDObject

Returns the value of attribute marketID.



11
12
13
# File 'lib/ysm4r/v1/ForecastService.rb', line 11

def marketID
  @marketID
end

#matchTypesObject

Returns the value of attribute matchTypes.



12
13
14
# File 'lib/ysm4r/v1/ForecastService.rb', line 12

def matchTypes
  @matchTypes
end

#sponsoredSearchMaxBidObject

Returns the value of attribute sponsoredSearchMaxBid.



13
14
15
# File 'lib/ysm4r/v1/ForecastService.rb', line 13

def sponsoredSearchMaxBid
  @sponsoredSearchMaxBid
end