Class: AdWords::V200909::TargetingIdeaService::PolicyViolationError

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

Overview

PolicyViolationError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdWords::V200909::TargetingIdeaService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

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



994
995
996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 994

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.



986
987
988
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 986

def apiError_Type
  @apiError_Type
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



990
991
992
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 990

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



988
989
990
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 988

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



989
990
991
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 989

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



984
985
986
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 984

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



991
992
993
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 991

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



987
988
989
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 987

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



985
986
987
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 985

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



992
993
994
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 992

def violatingParts
  @violatingParts
end