Class: AdWords::V201003::TargetingIdeaService::CriterionPolicyError

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

Overview

CriterionPolicyError

  • 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

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.



1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1182

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.



1174
1175
1176
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1174

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



1173
1174
1175
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1173

def errorString
  @errorString
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



1178
1179
1180
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1178

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



1176
1177
1178
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1176

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



1177
1178
1179
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1177

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



1171
1172
1173
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1171

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



1179
1180
1181
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1179

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



1175
1176
1177
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1175

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



1172
1173
1174
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1172

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



1180
1181
1182
# File 'lib/adwords4r/v201003/TargetingIdeaService.rb', line 1180

def violatingParts
  @violatingParts
end