Class: AdWords::V201008::AdParamService::AdParamPolicyError

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

Overview

AdParamPolicyError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • errorString - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdWords::V201008::AdParamService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

  • violatingParts - AdWords::V201008::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.



655
656
657
658
659
660
661
662
663
664
665
666
# File 'lib/adwords4r/v201008/AdParamService.rb', line 655

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.



647
648
649
# File 'lib/adwords4r/v201008/AdParamService.rb', line 647

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



646
647
648
# File 'lib/adwords4r/v201008/AdParamService.rb', line 646

def errorString
  @errorString
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



651
652
653
# File 'lib/adwords4r/v201008/AdParamService.rb', line 651

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



649
650
651
# File 'lib/adwords4r/v201008/AdParamService.rb', line 649

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



650
651
652
# File 'lib/adwords4r/v201008/AdParamService.rb', line 650

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



644
645
646
# File 'lib/adwords4r/v201008/AdParamService.rb', line 644

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



652
653
654
# File 'lib/adwords4r/v201008/AdParamService.rb', line 652

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



648
649
650
# File 'lib/adwords4r/v201008/AdParamService.rb', line 648

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



645
646
647
# File 'lib/adwords4r/v201008/AdParamService.rb', line 645

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



653
654
655
# File 'lib/adwords4r/v201008/AdParamService.rb', line 653

def violatingParts
  @violatingParts
end