Class: AdWords::V201008::TargetingIdeaService::CriterionPolicyError

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

Overview

CriterionPolicyError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • errorString - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdWords::V201008::TargetingIdeaService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

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



1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
# File 'lib/adwords4r/v201008/TargetingIdeaService.rb', line 1208

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.



1200
1201
1202
# File 'lib/adwords4r/v201008/TargetingIdeaService.rb', line 1200

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



1199
1200
1201
# File 'lib/adwords4r/v201008/TargetingIdeaService.rb', line 1199

def errorString
  @errorString
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



1204
1205
1206
# File 'lib/adwords4r/v201008/TargetingIdeaService.rb', line 1204

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



1202
1203
1204
# File 'lib/adwords4r/v201008/TargetingIdeaService.rb', line 1202

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



1203
1204
1205
# File 'lib/adwords4r/v201008/TargetingIdeaService.rb', line 1203

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



1197
1198
1199
# File 'lib/adwords4r/v201008/TargetingIdeaService.rb', line 1197

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



1205
1206
1207
# File 'lib/adwords4r/v201008/TargetingIdeaService.rb', line 1205

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



1201
1202
1203
# File 'lib/adwords4r/v201008/TargetingIdeaService.rb', line 1201

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



1198
1199
1200
# File 'lib/adwords4r/v201008/TargetingIdeaService.rb', line 1198

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



1206
1207
1208
# File 'lib/adwords4r/v201008/TargetingIdeaService.rb', line 1206

def violatingParts
  @violatingParts
end