Class: AdWords::V200909::TargetingIdeaService::CriterionPolicyError

Inherits:
PolicyViolationError show all
Defined in:
lib/adwords4r/v200909/TargetingIdeaService.rb

Overview

CriterionPolicyError

  • 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

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 = []) ⇒ CriterionPolicyError

Returns a new instance of CriterionPolicyError.



1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1028

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.



1020
1021
1022
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1020

def apiError_Type
  @apiError_Type
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



1024
1025
1026
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1024

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



1022
1023
1024
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1022

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



1023
1024
1025
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1023

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



1018
1019
1020
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1018

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



1025
1026
1027
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1025

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



1021
1022
1023
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1021

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



1019
1020
1021
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1019

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



1026
1027
1028
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1026

def violatingParts
  @violatingParts
end