Class: AdWords::V200909::AdGroupCriterionService::PolicyViolationError

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

Overview

PolicyViolationError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdWords::V200909::AdGroupCriterionService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

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



830
831
832
833
834
835
836
837
838
839
840
# File 'lib/adwords4r/v200909/AdGroupCriterionService.rb', line 830

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.



822
823
824
# File 'lib/adwords4r/v200909/AdGroupCriterionService.rb', line 822

def apiError_Type
  @apiError_Type
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



826
827
828
# File 'lib/adwords4r/v200909/AdGroupCriterionService.rb', line 826

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



824
825
826
# File 'lib/adwords4r/v200909/AdGroupCriterionService.rb', line 824

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



825
826
827
# File 'lib/adwords4r/v200909/AdGroupCriterionService.rb', line 825

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



820
821
822
# File 'lib/adwords4r/v200909/AdGroupCriterionService.rb', line 820

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



827
828
829
# File 'lib/adwords4r/v200909/AdGroupCriterionService.rb', line 827

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



823
824
825
# File 'lib/adwords4r/v200909/AdGroupCriterionService.rb', line 823

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



821
822
823
# File 'lib/adwords4r/v200909/AdGroupCriterionService.rb', line 821

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



828
829
830
# File 'lib/adwords4r/v200909/AdGroupCriterionService.rb', line 828

def violatingParts
  @violatingParts
end