Class: AdWords::V201003::AdGroupCriterionService::PolicyViolationError

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

Overview

PolicyViolationError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • errorString - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdWords::V201003::AdGroupCriterionService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

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



963
964
965
966
967
968
969
970
971
972
973
974
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 963

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.



955
956
957
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 955

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



954
955
956
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 954

def errorString
  @errorString
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



959
960
961
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 959

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



957
958
959
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 957

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



958
959
960
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 958

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



952
953
954
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 952

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



960
961
962
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 960

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



956
957
958
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 956

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



953
954
955
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 953

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



961
962
963
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 961

def violatingParts
  @violatingParts
end