Class: YSM::AdService::Ad

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iD = nil, accountID = nil, adGroupID = nil, contentMatchQualityScore = nil, createTimestamp = nil, deleteTimestamp = nil, description = nil, displayUrl = nil, editorialStatus = nil, lastUpdateTimestamp = nil, name = nil, shortDescription = nil, sponsoredSearchQualityScore = nil, status = nil, title = nil, update = nil, url = nil) ⇒ Ad

Returns a new instance of Ad.



49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# File 'lib/ysm4r/v1/AdService.rb', line 49

def initialize(iD = nil, accountID = nil, adGroupID = nil, contentMatchQualityScore = nil, createTimestamp = nil, deleteTimestamp = nil, description = nil, displayUrl = nil, editorialStatus = nil, lastUpdateTimestamp = nil, name = nil, shortDescription = nil, sponsoredSearchQualityScore = nil, status = nil, title = nil, update = nil, url = nil)
  @iD = iD
  @accountID = accountID
  @adGroupID = adGroupID
  @contentMatchQualityScore = contentMatchQualityScore
  @createTimestamp = createTimestamp
  @deleteTimestamp = deleteTimestamp
  @description = description
  @displayUrl = displayUrl
  @editorialStatus = editorialStatus
  @lastUpdateTimestamp = lastUpdateTimestamp
  @name = name
  @shortDescription = shortDescription
  @sponsoredSearchQualityScore = sponsoredSearchQualityScore
  @status = status
  @title = title
  @update = update
  @url = url
end

Instance Attribute Details

#accountIDObject

Returns the value of attribute accountID.



32
33
34
# File 'lib/ysm4r/v1/AdService.rb', line 32

def accountID
  @accountID
end

#adGroupIDObject

Returns the value of attribute adGroupID.



33
34
35
# File 'lib/ysm4r/v1/AdService.rb', line 33

def adGroupID
  @adGroupID
end

#contentMatchQualityScoreObject

Returns the value of attribute contentMatchQualityScore.



34
35
36
# File 'lib/ysm4r/v1/AdService.rb', line 34

def contentMatchQualityScore
  @contentMatchQualityScore
end

#createTimestampObject

Returns the value of attribute createTimestamp.



35
36
37
# File 'lib/ysm4r/v1/AdService.rb', line 35

def createTimestamp
  @createTimestamp
end

#deleteTimestampObject

Returns the value of attribute deleteTimestamp.



36
37
38
# File 'lib/ysm4r/v1/AdService.rb', line 36

def deleteTimestamp
  @deleteTimestamp
end

#descriptionObject

Returns the value of attribute description.



37
38
39
# File 'lib/ysm4r/v1/AdService.rb', line 37

def description
  @description
end

#displayUrlObject

Returns the value of attribute displayUrl.



38
39
40
# File 'lib/ysm4r/v1/AdService.rb', line 38

def displayUrl
  @displayUrl
end

#editorialStatusObject

Returns the value of attribute editorialStatus.



39
40
41
# File 'lib/ysm4r/v1/AdService.rb', line 39

def editorialStatus
  @editorialStatus
end

#iDObject

Returns the value of attribute iD.



31
32
33
# File 'lib/ysm4r/v1/AdService.rb', line 31

def iD
  @iD
end

#lastUpdateTimestampObject

Returns the value of attribute lastUpdateTimestamp.



40
41
42
# File 'lib/ysm4r/v1/AdService.rb', line 40

def lastUpdateTimestamp
  @lastUpdateTimestamp
end

#nameObject

Returns the value of attribute name.



41
42
43
# File 'lib/ysm4r/v1/AdService.rb', line 41

def name
  @name
end

#shortDescriptionObject

Returns the value of attribute shortDescription.



42
43
44
# File 'lib/ysm4r/v1/AdService.rb', line 42

def shortDescription
  @shortDescription
end

#sponsoredSearchQualityScoreObject

Returns the value of attribute sponsoredSearchQualityScore.



43
44
45
# File 'lib/ysm4r/v1/AdService.rb', line 43

def sponsoredSearchQualityScore
  @sponsoredSearchQualityScore
end

#statusObject

Returns the value of attribute status.



44
45
46
# File 'lib/ysm4r/v1/AdService.rb', line 44

def status
  @status
end

#titleObject

Returns the value of attribute title.



45
46
47
# File 'lib/ysm4r/v1/AdService.rb', line 45

def title
  @title
end

#updateObject

Returns the value of attribute update.



46
47
48
# File 'lib/ysm4r/v1/AdService.rb', line 46

def update
  @update
end

#urlObject

Returns the value of attribute url.



47
48
49
# File 'lib/ysm4r/v1/AdService.rb', line 47

def url
  @url
end