Class: AdWords::V201008::AdGroupCriterionService::CriterionPolicyError

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

Overview

CriterionPolicyError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • errorString - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdWords::V201008::AdGroupCriterionService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

  • violatingParts - AdWords::V201008::AdGroupCriterionService::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 = []) ⇒ CriterionPolicyError

Returns a new instance of CriterionPolicyError.



1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1038

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.



1030
1031
1032
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1030

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



1029
1030
1031
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1029

def errorString
  @errorString
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



1034
1035
1036
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1034

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



1032
1033
1034
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1032

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



1033
1034
1035
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1033

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



1027
1028
1029
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1027

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



1035
1036
1037
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1035

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



1031
1032
1033
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1031

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



1028
1029
1030
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1028

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



1036
1037
1038
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1036

def violatingParts
  @violatingParts
end