Class: AdWords::V200909::AdParamService::PolicyViolationError

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

Overview

PolicyViolationError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdWords::V200909::AdParamService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

  • violatingParts - AdWords::V200909::AdParamService::PolicyViolationErrorPart

Direct Known Subclasses

AdParamPolicyError

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.



512
513
514
515
516
517
518
519
520
521
522
# File 'lib/adwords4r/v200909/AdParamService.rb', line 512

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.



504
505
506
# File 'lib/adwords4r/v200909/AdParamService.rb', line 504

def apiError_Type
  @apiError_Type
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



508
509
510
# File 'lib/adwords4r/v200909/AdParamService.rb', line 508

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



506
507
508
# File 'lib/adwords4r/v200909/AdParamService.rb', line 506

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



507
508
509
# File 'lib/adwords4r/v200909/AdParamService.rb', line 507

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



502
503
504
# File 'lib/adwords4r/v200909/AdParamService.rb', line 502

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



509
510
511
# File 'lib/adwords4r/v200909/AdParamService.rb', line 509

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



505
506
507
# File 'lib/adwords4r/v200909/AdParamService.rb', line 505

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



503
504
505
# File 'lib/adwords4r/v200909/AdParamService.rb', line 503

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



510
511
512
# File 'lib/adwords4r/v200909/AdParamService.rb', line 510

def violatingParts
  @violatingParts
end