Class: AdCenterWrapper::CampaignInfo

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

Overview

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

campaignId - SOAP::SOAPLong
campaignName - SOAP::SOAPString
budgetAmount - SOAP::SOAPDouble

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(campaignId = nil, campaignName = nil, budgetAmount = nil) ⇒ CampaignInfo

Returns a new instance of CampaignInfo.

[View source]

229
230
231
232
233
# File 'lib/NotificationService.rb', line 229

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

Instance Attribute Details

#budgetAmountObject

Returns the value of attribute budgetAmount.


227
228
229
# File 'lib/NotificationService.rb', line 227

def budgetAmount
  @budgetAmount
end

#campaignIdObject

Returns the value of attribute campaignId.


225
226
227
# File 'lib/NotificationService.rb', line 225

def campaignId
  @campaignId
end

#campaignNameObject

Returns the value of attribute campaignName.


226
227
228
# File 'lib/NotificationService.rb', line 226

def campaignName
  @campaignName
end