Class: AdWords::V200909::BulkMutateJobService::PolicyViolationError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/adwords4r/v200909/BulkMutateJobService.rb

Overview

PolicyViolationError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdWords::V200909::BulkMutateJobService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

  • violatingParts - AdWords::V200909::BulkMutateJobService::PolicyViolationErrorPart

Direct Known Subclasses

CriterionPolicyError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = []) ⇒ PolicyViolationError

Returns a new instance of PolicyViolationError.



1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 1421

def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
  @fieldPath = fieldPath
  @trigger = trigger
  @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.



1413
1414
1415
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 1413

def apiError_Type
  @apiError_Type
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



1417
1418
1419
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 1417

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



1415
1416
1417
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 1415

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



1416
1417
1418
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 1416

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



1411
1412
1413
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 1411

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



1418
1419
1420
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 1418

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



1414
1415
1416
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 1414

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



1412
1413
1414
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 1412

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



1419
1420
1421
# File 'lib/adwords4r/v200909/BulkMutateJobService.rb', line 1419

def violatingParts
  @violatingParts
end