Class: AdCenterWrapper::LowBudgetBalanceCampaignInfo

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

Overview

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

campaignId - SOAP::SOAPLong
campaignName - SOAP::SOAPString
budgetAmount - SOAP::SOAPDouble
estimatedBudgetBalance - SOAP::SOAPDouble
estimatedImpressions - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(campaignId = nil, campaignName = nil, budgetAmount = nil, estimatedBudgetBalance = nil, estimatedImpressions = nil) ⇒ LowBudgetBalanceCampaignInfo

Returns a new instance of LowBudgetBalanceCampaignInfo.



271
272
273
274
275
276
277
# File 'lib/NotificationService.rb', line 271

def initialize(campaignId = nil, campaignName = nil, budgetAmount = nil, estimatedBudgetBalance = nil, estimatedImpressions = nil)
  @campaignId = campaignId
  @campaignName = campaignName
  @budgetAmount = budgetAmount
  @estimatedBudgetBalance = estimatedBudgetBalance
  @estimatedImpressions = estimatedImpressions
end

Instance Attribute Details

#budgetAmountObject

Returns the value of attribute budgetAmount.



267
268
269
# File 'lib/NotificationService.rb', line 267

def budgetAmount
  @budgetAmount
end

#campaignIdObject

Returns the value of attribute campaignId.



265
266
267
# File 'lib/NotificationService.rb', line 265

def campaignId
  @campaignId
end

#campaignNameObject

Returns the value of attribute campaignName.



266
267
268
# File 'lib/NotificationService.rb', line 266

def campaignName
  @campaignName
end

#estimatedBudgetBalanceObject

Returns the value of attribute estimatedBudgetBalance.



268
269
270
# File 'lib/NotificationService.rb', line 268

def estimatedBudgetBalance
  @estimatedBudgetBalance
end

#estimatedImpressionsObject

Returns the value of attribute estimatedImpressions.



269
270
271
# File 'lib/NotificationService.rb', line 269

def estimatedImpressions
  @estimatedImpressions
end