Class: YSM::KeywordService::Keyword

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iD = nil, accountID = nil, adGroupID = nil, advancedMatchON = nil, alternateText = nil, canonicalSearchText = nil, createTimestamp = nil, deleteTimestamp = nil, editorialStatus = nil, lastUpdateTimestamp = nil, phraseSearchText = nil, sponsoredSearchMaxBid = nil, sponsoredSearchMaxBidTimestamp = nil, status = nil, text = nil, update = nil, url = nil, watchON = nil) ⇒ Keyword

Returns a new instance of Keyword.



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

def initialize(iD = nil, accountID = nil, adGroupID = nil, advancedMatchON = nil, alternateText = nil, canonicalSearchText = nil, createTimestamp = nil, deleteTimestamp = nil, editorialStatus = nil, lastUpdateTimestamp = nil, phraseSearchText = nil, sponsoredSearchMaxBid = nil, sponsoredSearchMaxBidTimestamp = nil, status = nil, text = nil, update = nil, url = nil, watchON = nil)
  @iD = iD
  @accountID = accountID
  @adGroupID = adGroupID
  @advancedMatchON = advancedMatchON
  @alternateText = alternateText
  @canonicalSearchText = canonicalSearchText
  @createTimestamp = createTimestamp
  @deleteTimestamp = deleteTimestamp
  @editorialStatus = editorialStatus
  @lastUpdateTimestamp = lastUpdateTimestamp
  @phraseSearchText = phraseSearchText
  @sponsoredSearchMaxBid = sponsoredSearchMaxBid
  @sponsoredSearchMaxBidTimestamp = sponsoredSearchMaxBidTimestamp
  @status = status
  @text = text
  @update = update
  @url = url
  @watchON = watchON
end

Instance Attribute Details

#accountIDObject

Returns the value of attribute accountID.



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

def accountID
  @accountID
end

#adGroupIDObject

Returns the value of attribute adGroupID.



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

def adGroupID
  @adGroupID
end

#advancedMatchONObject

Returns the value of attribute advancedMatchON.



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

def advancedMatchON
  @advancedMatchON
end

#alternateTextObject

Returns the value of attribute alternateText.



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

def alternateText
  @alternateText
end

#canonicalSearchTextObject

Returns the value of attribute canonicalSearchText.



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

def canonicalSearchText
  @canonicalSearchText
end

#createTimestampObject

Returns the value of attribute createTimestamp.



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

def createTimestamp
  @createTimestamp
end

#deleteTimestampObject

Returns the value of attribute deleteTimestamp.



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

def deleteTimestamp
  @deleteTimestamp
end

#editorialStatusObject

Returns the value of attribute editorialStatus.



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

def editorialStatus
  @editorialStatus
end

#iDObject

Returns the value of attribute iD.



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

def iD
  @iD
end

#lastUpdateTimestampObject

Returns the value of attribute lastUpdateTimestamp.



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

def lastUpdateTimestamp
  @lastUpdateTimestamp
end

#phraseSearchTextObject

Returns the value of attribute phraseSearchText.



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

def phraseSearchText
  @phraseSearchText
end

#sponsoredSearchMaxBidObject

Returns the value of attribute sponsoredSearchMaxBid.



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

def sponsoredSearchMaxBid
  @sponsoredSearchMaxBid
end

#sponsoredSearchMaxBidTimestampObject

Returns the value of attribute sponsoredSearchMaxBidTimestamp.



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

def sponsoredSearchMaxBidTimestamp
  @sponsoredSearchMaxBidTimestamp
end

#statusObject

Returns the value of attribute status.



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

def status
  @status
end

#textObject

Returns the value of attribute text.



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

def text
  @text
end

#updateObject

Returns the value of attribute update.



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

def update
  @update
end

#urlObject

Returns the value of attribute url.



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

def url
  @url
end

#watchONObject

Returns the value of attribute watchON.



25
26
27
# File 'lib/ysm4r/v1/KeywordService.rb', line 25

def watchON
  @watchON
end