Class: AdWords::V201003::AdParamService::PolicyViolationError

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

Overview

PolicyViolationError

  • 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

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.



593
594
595
596
597
598
599
600
601
602
603
604
# File 'lib/adwords4r/v201003/AdParamService.rb', line 593

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.



585
586
587
# File 'lib/adwords4r/v201003/AdParamService.rb', line 585

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



584
585
586
# File 'lib/adwords4r/v201003/AdParamService.rb', line 584

def errorString
  @errorString
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



589
590
591
# File 'lib/adwords4r/v201003/AdParamService.rb', line 589

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



587
588
589
# File 'lib/adwords4r/v201003/AdParamService.rb', line 587

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



588
589
590
# File 'lib/adwords4r/v201003/AdParamService.rb', line 588

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



582
583
584
# File 'lib/adwords4r/v201003/AdParamService.rb', line 582

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



590
591
592
# File 'lib/adwords4r/v201003/AdParamService.rb', line 590

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



586
587
588
# File 'lib/adwords4r/v201003/AdParamService.rb', line 586

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



583
584
585
# File 'lib/adwords4r/v201003/AdParamService.rb', line 583

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



591
592
593
# File 'lib/adwords4r/v201003/AdParamService.rb', line 591

def violatingParts
  @violatingParts
end