Class: AdWords::V201008::AdParamService::PolicyViolationError

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

Overview

PolicyViolationError

  • 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

Direct Known Subclasses

AdParamPolicyError

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 = []) ⇒ PolicyViolationError

Returns a new instance of PolicyViolationError.



618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/adwords4r/v201008/AdParamService.rb', line 618

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.



610
611
612
# File 'lib/adwords4r/v201008/AdParamService.rb', line 610

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



609
610
611
# File 'lib/adwords4r/v201008/AdParamService.rb', line 609

def errorString
  @errorString
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



614
615
616
# File 'lib/adwords4r/v201008/AdParamService.rb', line 614

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



612
613
614
# File 'lib/adwords4r/v201008/AdParamService.rb', line 612

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



613
614
615
# File 'lib/adwords4r/v201008/AdParamService.rb', line 613

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



607
608
609
# File 'lib/adwords4r/v201008/AdParamService.rb', line 607

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



615
616
617
# File 'lib/adwords4r/v201008/AdParamService.rb', line 615

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



611
612
613
# File 'lib/adwords4r/v201008/AdParamService.rb', line 611

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



608
609
610
# File 'lib/adwords4r/v201008/AdParamService.rb', line 608

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



616
617
618
# File 'lib/adwords4r/v201008/AdParamService.rb', line 616

def violatingParts
  @violatingParts
end