Class: AdwordsApi::V200909::AdGroupCriterionService::PolicyViolationError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/adwords_api/v200909/AdGroupCriterionService.rb

Overview

PolicyViolationError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdwordsApi::V200909::AdGroupCriterionService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

  • violatingParts - AdwordsApi::V200909::AdGroupCriterionService::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.



599
600
601
602
603
604
605
606
607
608
609
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 599

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.



591
592
593
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 591

def apiError_Type
  @apiError_Type
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



595
596
597
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 595

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



593
594
595
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 593

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



594
595
596
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 594

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



589
590
591
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 589

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



596
597
598
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 596

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



592
593
594
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 592

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



590
591
592
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 590

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



597
598
599
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 597

def violatingParts
  @violatingParts
end