Class: AdCenterWrapper::BudgetDepletedNotification

Inherits:
AccountNotification show all
Defined in:
lib/NotificationService.rb

Overview

https://adcenter.microsoft.com/api/notifications/EntitiesBudgetDepletedNotification

notificationId - SOAP::SOAPLong
notificationDate - SOAP::SOAPDateTime
notificationType - (any)
accountId - SOAP::SOAPLong
accountNumber - SOAP::SOAPString
affectedCampaigns - AdCenterWrapper::ArrayOfBudgetDepletedCampaignInfo
accountName - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(notificationId = nil, notificationDate = nil, notificationType = nil, accountId = nil, accountNumber = nil, affectedCampaigns = nil, accountName = nil) ⇒ BudgetDepletedNotification

Returns a new instance of BudgetDepletedNotification.

[View source]

152
153
154
155
156
157
158
159
160
# File 'lib/NotificationService.rb', line 152

def initialize(notificationId = nil, notificationDate = nil, notificationType = nil, accountId = nil, accountNumber = nil, affectedCampaigns = nil, accountName = nil)
  @notificationId = notificationId
  @notificationDate = notificationDate
  @notificationType = notificationType
  @accountId = accountId
  @accountNumber = accountNumber
  @affectedCampaigns = affectedCampaigns
  @accountName = accountName
end

Instance Attribute Details

#accountIdObject

Returns the value of attribute accountId.


147
148
149
# File 'lib/NotificationService.rb', line 147

def accountId
  @accountId
end

#accountNameObject

Returns the value of attribute accountName.


150
151
152
# File 'lib/NotificationService.rb', line 150

def accountName
  @accountName
end

#accountNumberObject

Returns the value of attribute accountNumber.


148
149
150
# File 'lib/NotificationService.rb', line 148

def accountNumber
  @accountNumber
end

#affectedCampaignsObject

Returns the value of attribute affectedCampaigns.


149
150
151
# File 'lib/NotificationService.rb', line 149

def affectedCampaigns
  @affectedCampaigns
end

#notificationDateObject

Returns the value of attribute notificationDate.


145
146
147
# File 'lib/NotificationService.rb', line 145

def notificationDate
  @notificationDate
end

#notificationIdObject

Returns the value of attribute notificationId.


144
145
146
# File 'lib/NotificationService.rb', line 144

def notificationId
  @notificationId
end

#notificationTypeObject

Returns the value of attribute notificationType.


146
147
148
# File 'lib/NotificationService.rb', line 146

def notificationType
  @notificationType
end