Class: AdWords::V201008::MediaService::MediaError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/adwords4r/v201008/MediaService.rb

Overview

MediaError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • errorString - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • reason - AdWords::V201008::MediaService::MediaErrorReason

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil) ⇒ MediaError

Returns a new instance of MediaError.



510
511
512
513
514
515
516
# File 'lib/adwords4r/v201008/MediaService.rb', line 510

def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
  @fieldPath = fieldPath
  @trigger = trigger
  @errorString = errorString
  @apiError_Type = apiError_Type
  @reason = reason
end

Instance Attribute Details

#apiError_TypeObject

Returns the value of attribute apiError_Type.



507
508
509
# File 'lib/adwords4r/v201008/MediaService.rb', line 507

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



506
507
508
# File 'lib/adwords4r/v201008/MediaService.rb', line 506

def errorString
  @errorString
end

#fieldPathObject

Returns the value of attribute fieldPath.



504
505
506
# File 'lib/adwords4r/v201008/MediaService.rb', line 504

def fieldPath
  @fieldPath
end

#reasonObject

Returns the value of attribute reason.



508
509
510
# File 'lib/adwords4r/v201008/MediaService.rb', line 508

def reason
  @reason
end

#triggerObject

Returns the value of attribute trigger.



505
506
507
# File 'lib/adwords4r/v201008/MediaService.rb', line 505

def trigger
  @trigger
end