Class: YSM::AdGroupService::AdGroup

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iD = nil, accountID = nil, adAutoOptimizationON = nil, advancedMatchON = nil, campaignID = nil, contentMatchMaxBid = nil, contentMatchMaxBidTimestamp = nil, contentMatchON = nil, createTimestamp = nil, deleteTimestamp = nil, lastUpdateTimestamp = nil, name = nil, sponsoredSearchMaxBid = nil, sponsoredSearchMaxBidTimestamp = nil, sponsoredSearchON = nil, status = nil, watchON = nil) ⇒ AdGroup

Returns a new instance of AdGroup.



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/ysm4r/v1/AdGroupService.rb', line 26

def initialize(iD = nil, accountID = nil, adAutoOptimizationON = nil, advancedMatchON = nil, campaignID = nil, contentMatchMaxBid = nil, contentMatchMaxBidTimestamp = nil, contentMatchON = nil, createTimestamp = nil, deleteTimestamp = nil, lastUpdateTimestamp = nil, name = nil, sponsoredSearchMaxBid = nil, sponsoredSearchMaxBidTimestamp = nil, sponsoredSearchON = nil, status = nil, watchON = nil)
  @iD = iD
  @accountID = accountID
  @adAutoOptimizationON = adAutoOptimizationON
  @advancedMatchON = advancedMatchON
  @campaignID = campaignID
  @contentMatchMaxBid = contentMatchMaxBid
  @contentMatchMaxBidTimestamp = contentMatchMaxBidTimestamp
  @contentMatchON = contentMatchON
  @createTimestamp = createTimestamp
  @deleteTimestamp = deleteTimestamp
  @lastUpdateTimestamp = lastUpdateTimestamp
  @name = name
  @sponsoredSearchMaxBid = sponsoredSearchMaxBid
  @sponsoredSearchMaxBidTimestamp = sponsoredSearchMaxBidTimestamp
  @sponsoredSearchON = sponsoredSearchON
  @status = status
  @watchON = watchON
end

Instance Attribute Details

#accountIDObject

Returns the value of attribute accountID.



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

def accountID
  @accountID
end

#adAutoOptimizationONObject

Returns the value of attribute adAutoOptimizationON.



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

def adAutoOptimizationON
  @adAutoOptimizationON
end

#advancedMatchONObject

Returns the value of attribute advancedMatchON.



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

def advancedMatchON
  @advancedMatchON
end

#campaignIDObject

Returns the value of attribute campaignID.



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

def campaignID
  @campaignID
end

#contentMatchMaxBidObject

Returns the value of attribute contentMatchMaxBid.



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

def contentMatchMaxBid
  @contentMatchMaxBid
end

#contentMatchMaxBidTimestampObject

Returns the value of attribute contentMatchMaxBidTimestamp.



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

def contentMatchMaxBidTimestamp
  @contentMatchMaxBidTimestamp
end

#contentMatchONObject

Returns the value of attribute contentMatchON.



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

def contentMatchON
  @contentMatchON
end

#createTimestampObject

Returns the value of attribute createTimestamp.



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

def createTimestamp
  @createTimestamp
end

#deleteTimestampObject

Returns the value of attribute deleteTimestamp.



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

def deleteTimestamp
  @deleteTimestamp
end

#iDObject

Returns the value of attribute iD.



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

def iD
  @iD
end

#lastUpdateTimestampObject

Returns the value of attribute lastUpdateTimestamp.



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

def lastUpdateTimestamp
  @lastUpdateTimestamp
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#sponsoredSearchMaxBidObject

Returns the value of attribute sponsoredSearchMaxBid.



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

def sponsoredSearchMaxBid
  @sponsoredSearchMaxBid
end

#sponsoredSearchMaxBidTimestampObject

Returns the value of attribute sponsoredSearchMaxBidTimestamp.



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

def sponsoredSearchMaxBidTimestamp
  @sponsoredSearchMaxBidTimestamp
end

#sponsoredSearchONObject

Returns the value of attribute sponsoredSearchON.



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

def sponsoredSearchON
  @sponsoredSearchON
end

#statusObject

Returns the value of attribute status.



23
24
25
# File 'lib/ysm4r/v1/AdGroupService.rb', line 23

def status
  @status
end

#watchONObject

Returns the value of attribute watchON.



24
25
26
# File 'lib/ysm4r/v1/AdGroupService.rb', line 24

def watchON
  @watchON
end