Class: AdCenterWrapper::EditorialReasonCollection

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

Overview

https://adcenter.microsoft.com/v8EditorialReasonCollection

adOrKeywordId - SOAP::SOAPLong
reasons - AdCenterWrapper::ArrayOfEditorialReason

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(adOrKeywordId = nil, reasons = nil) ⇒ EditorialReasonCollection

Returns a new instance of EditorialReasonCollection.

[View source]

513
514
515
516
# File 'lib/CampaignManagementService.rb', line 513

def initialize(adOrKeywordId = nil, reasons = nil)
  @adOrKeywordId = adOrKeywordId
  @reasons = reasons
end

Instance Attribute Details

#adOrKeywordIdObject

Returns the value of attribute adOrKeywordId.


510
511
512
# File 'lib/CampaignManagementService.rb', line 510

def adOrKeywordId
  @adOrKeywordId
end

#reasonsObject

Returns the value of attribute reasons.


511
512
513
# File 'lib/CampaignManagementService.rb', line 511

def reasons
  @reasons
end