Class: AdWords::V201003::TargetingIdeaService::PolicyViolationError

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

Overview

PolicyViolationError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • errorString - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdWords::V201003::TargetingIdeaService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

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



1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1145

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.



1137
1138
1139
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1137

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



1136
1137
1138
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1136

def errorString
  @errorString
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



1141
1142
1143
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1141

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



1139
1140
1141
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1139

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



1140
1141
1142
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1140

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



1134
1135
1136
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1134

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



1142
1143
1144
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1142

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



1138
1139
1140
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1138

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



1135
1136
1137
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1135

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



1143
1144
1145
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1143

def violatingParts
  @violatingParts
end