Class: AdCenterWrapper::EditorialReason

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

Overview

https://adcenter.microsoft.com/v7EditorialReason

location - AdCenterWrapper::AdComponent
reasonCode - SOAP::SOAPInt
term - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(location = nil, reasonCode = nil, term = nil) ⇒ EditorialReason

Returns a new instance of EditorialReason.



303
304
305
306
307
# File 'lib/adcenter_wrapper_entities.rb', line 303

def initialize(location = nil, reasonCode = nil, term = nil)
  @location = location
  @reasonCode = reasonCode
  @term = term
end

Instance Attribute Details

#locationObject

Returns the value of attribute location.



299
300
301
# File 'lib/adcenter_wrapper_entities.rb', line 299

def location
  @location
end

#reasonCodeObject

Returns the value of attribute reasonCode.



300
301
302
# File 'lib/adcenter_wrapper_entities.rb', line 300

def reasonCode
  @reasonCode
end

#termObject

Returns the value of attribute term.



301
302
303
# File 'lib/adcenter_wrapper_entities.rb', line 301

def term
  @term
end