Class: YSM::CampaignService::Campaign

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iD = nil, accountID = nil, advancedMatchON = nil, campaignOptimizationON = nil, contentMatchON = nil, createTimestamp = nil, deleteTimestamp = nil, description = nil, endDate = nil, lastUpdateTimestamp = nil, name = nil, sponsoredSearchON = nil, startDate = nil, status = nil, watchON = nil) ⇒ Campaign

Returns a new instance of Campaign.



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# File 'lib/ysm4r/v1/CampaignService.rb', line 24

def initialize(iD = nil, accountID = nil, advancedMatchON = nil, campaignOptimizationON = nil, contentMatchON = nil, createTimestamp = nil, deleteTimestamp = nil, description = nil, endDate = nil, lastUpdateTimestamp = nil, name = nil, sponsoredSearchON = nil, startDate = nil, status = nil, watchON = nil)
  @iD = iD
  @accountID = accountID
  @advancedMatchON = advancedMatchON
  @campaignOptimizationON = campaignOptimizationON
  @contentMatchON = contentMatchON
  @createTimestamp = createTimestamp
  @deleteTimestamp = deleteTimestamp
  @description = description
  @endDate = endDate
  @lastUpdateTimestamp = lastUpdateTimestamp
  @name = name
  @sponsoredSearchON = sponsoredSearchON
  @startDate = startDate
  @status = status
  @watchON = watchON
end

Instance Attribute Details

#accountIDObject

Returns the value of attribute accountID.



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

def accountID
  @accountID
end

#advancedMatchONObject

Returns the value of attribute advancedMatchON.



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

def advancedMatchON
  @advancedMatchON
end

#campaignOptimizationONObject

Returns the value of attribute campaignOptimizationON.



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

def campaignOptimizationON
  @campaignOptimizationON
end

#contentMatchONObject

Returns the value of attribute contentMatchON.



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

def contentMatchON
  @contentMatchON
end

#createTimestampObject

Returns the value of attribute createTimestamp.



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

def createTimestamp
  @createTimestamp
end

#deleteTimestampObject

Returns the value of attribute deleteTimestamp.



14
15
16
# File 'lib/ysm4r/v1/CampaignService.rb', line 14

def deleteTimestamp
  @deleteTimestamp
end

#descriptionObject

Returns the value of attribute description.



15
16
17
# File 'lib/ysm4r/v1/CampaignService.rb', line 15

def description
  @description
end

#endDateObject

Returns the value of attribute endDate.



16
17
18
# File 'lib/ysm4r/v1/CampaignService.rb', line 16

def endDate
  @endDate
end

#iDObject

Returns the value of attribute iD.



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

def iD
  @iD
end

#lastUpdateTimestampObject

Returns the value of attribute lastUpdateTimestamp.



17
18
19
# File 'lib/ysm4r/v1/CampaignService.rb', line 17

def lastUpdateTimestamp
  @lastUpdateTimestamp
end

#nameObject

Returns the value of attribute name.



18
19
20
# File 'lib/ysm4r/v1/CampaignService.rb', line 18

def name
  @name
end

#sponsoredSearchONObject

Returns the value of attribute sponsoredSearchON.



19
20
21
# File 'lib/ysm4r/v1/CampaignService.rb', line 19

def sponsoredSearchON
  @sponsoredSearchON
end

#startDateObject

Returns the value of attribute startDate.



20
21
22
# File 'lib/ysm4r/v1/CampaignService.rb', line 20

def startDate
  @startDate
end

#statusObject

Returns the value of attribute status.



21
22
23
# File 'lib/ysm4r/v1/CampaignService.rb', line 21

def status
  @status
end

#watchONObject

Returns the value of attribute watchON.



22
23
24
# File 'lib/ysm4r/v1/CampaignService.rb', line 22

def watchON
  @watchON
end