Class: AdWords::V201003::AdParamService::AdParamPolicyError

Inherits:
PolicyViolationError show all
Defined in:
lib/adwords4r/v201003/AdParamService.rb

Overview

AdParamPolicyError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • errorString - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdWords::V201003::AdParamService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

  • violatingParts - AdWords::V201003::AdParamService::PolicyViolationErrorPart

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = []) ⇒ AdParamPolicyError

Returns a new instance of AdParamPolicyError.



630
631
632
633
634
635
636
637
638
639
640
641
# File 'lib/adwords4r/v201003/AdParamService.rb', line 630

def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
  @fieldPath = fieldPath
  @trigger = trigger
  @errorString = errorString
  @apiError_Type = apiError_Type
  @key = key
  @externalPolicyName = externalPolicyName
  @externalPolicyUrl = externalPolicyUrl
  @externalPolicyDescription = externalPolicyDescription
  @isExemptable = isExemptable
  @violatingParts = violatingParts
end

Instance Attribute Details

#apiError_TypeObject

Returns the value of attribute apiError_Type.



622
623
624
# File 'lib/adwords4r/v201003/AdParamService.rb', line 622

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



621
622
623
# File 'lib/adwords4r/v201003/AdParamService.rb', line 621

def errorString
  @errorString
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



626
627
628
# File 'lib/adwords4r/v201003/AdParamService.rb', line 626

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



624
625
626
# File 'lib/adwords4r/v201003/AdParamService.rb', line 624

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



625
626
627
# File 'lib/adwords4r/v201003/AdParamService.rb', line 625

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



619
620
621
# File 'lib/adwords4r/v201003/AdParamService.rb', line 619

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



627
628
629
# File 'lib/adwords4r/v201003/AdParamService.rb', line 627

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



623
624
625
# File 'lib/adwords4r/v201003/AdParamService.rb', line 623

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



620
621
622
# File 'lib/adwords4r/v201003/AdParamService.rb', line 620

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



628
629
630
# File 'lib/adwords4r/v201003/AdParamService.rb', line 628

def violatingParts
  @violatingParts
end