Class: AdwordsApi::V201101::AdGroupCriterionService::PolicyViolationError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/adwords_api/v201101/AdGroupCriterionService.rb

Overview

PolicyViolationError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • errorString - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdwordsApi::V201101::AdGroupCriterionService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

  • violatingParts - AdwordsApi::V201101::AdGroupCriterionService::PolicyViolationErrorPart

Direct Known Subclasses

CriterionPolicyError

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.



706
707
708
709
710
711
712
713
714
715
716
717
# File 'lib/adwords_api/v201101/AdGroupCriterionService.rb', line 706

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.



698
699
700
# File 'lib/adwords_api/v201101/AdGroupCriterionService.rb', line 698

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



697
698
699
# File 'lib/adwords_api/v201101/AdGroupCriterionService.rb', line 697

def errorString
  @errorString
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



702
703
704
# File 'lib/adwords_api/v201101/AdGroupCriterionService.rb', line 702

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



700
701
702
# File 'lib/adwords_api/v201101/AdGroupCriterionService.rb', line 700

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



701
702
703
# File 'lib/adwords_api/v201101/AdGroupCriterionService.rb', line 701

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



695
696
697
# File 'lib/adwords_api/v201101/AdGroupCriterionService.rb', line 695

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



703
704
705
# File 'lib/adwords_api/v201101/AdGroupCriterionService.rb', line 703

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



699
700
701
# File 'lib/adwords_api/v201101/AdGroupCriterionService.rb', line 699

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



696
697
698
# File 'lib/adwords_api/v201101/AdGroupCriterionService.rb', line 696

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



704
705
706
# File 'lib/adwords_api/v201101/AdGroupCriterionService.rb', line 704

def violatingParts
  @violatingParts
end