Class: AdWords::V201003::AdGroupCriterionService::CriterionPolicyError

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

Overview

CriterionPolicyError

  • 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

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.



1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 1000

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.



992
993
994
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 992

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



991
992
993
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 991

def errorString
  @errorString
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



996
997
998
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 996

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



994
995
996
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 994

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



995
996
997
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 995

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



989
990
991
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 989

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



997
998
999
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 997

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



993
994
995
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 993

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



990
991
992
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 990

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



998
999
1000
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 998

def violatingParts
  @violatingParts
end