Class: AdCenterWrapper::BudgetDepletedCampaignInfo

Inherits:
CampaignInfo
  • Object
show all
Defined in:
lib/NotificationService.rb

Overview

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

campaignId - SOAP::SOAPLong
campaignName - SOAP::SOAPString
budgetAmount - SOAP::SOAPDouble
currencyCode - SOAP::SOAPString
budgetDepletedDate - SOAP::SOAPDateTime

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(campaignId = nil, campaignName = nil, budgetAmount = nil, currencyCode = nil, budgetDepletedDate = nil) ⇒ BudgetDepletedCampaignInfo

Returns a new instance of BudgetDepletedCampaignInfo.

[View source]

249
250
251
252
253
254
255
# File 'lib/NotificationService.rb', line 249

def initialize(campaignId = nil, campaignName = nil, budgetAmount = nil, currencyCode = nil, budgetDepletedDate = nil)
  @campaignId = campaignId
  @campaignName = campaignName
  @budgetAmount = budgetAmount
  @currencyCode = currencyCode
  @budgetDepletedDate = budgetDepletedDate
end

Instance Attribute Details

#budgetAmountObject

Returns the value of attribute budgetAmount.


245
246
247
# File 'lib/NotificationService.rb', line 245

def budgetAmount
  @budgetAmount
end

#budgetDepletedDateObject

Returns the value of attribute budgetDepletedDate.


247
248
249
# File 'lib/NotificationService.rb', line 247

def budgetDepletedDate
  @budgetDepletedDate
end

#campaignIdObject

Returns the value of attribute campaignId.


243
244
245
# File 'lib/NotificationService.rb', line 243

def campaignId
  @campaignId
end

#campaignNameObject

Returns the value of attribute campaignName.


244
245
246
# File 'lib/NotificationService.rb', line 244

def campaignName
  @campaignName
end

#currencyCodeObject

Returns the value of attribute currencyCode.


246
247
248
# File 'lib/NotificationService.rb', line 246

def currencyCode
  @currencyCode
end