Class: AdwordsApi::V201003::TargetingIdeaService::CriterionPolicyError

Inherits:
PolicyViolationError show all
Defined in:
lib/adwords_api/v201003/TargetingIdeaService.rb

Overview

CriterionPolicyError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • errorString - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdwordsApi::V201003::TargetingIdeaService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

  • violatingParts - AdwordsApi::V201003::TargetingIdeaService::PolicyViolationErrorPart

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = []) ⇒ CriterionPolicyError

Returns a new instance of CriterionPolicyError.



481
482
483
484
485
486
487
488
489
490
491
492
# File 'lib/adwords_api/v201003/TargetingIdeaService.rb', line 481

def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
  @fieldPath = fieldPath
  @trigger = trigger
  @errorString = errorString
  @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.



473
474
475
# File 'lib/adwords_api/v201003/TargetingIdeaService.rb', line 473

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



472
473
474
# File 'lib/adwords_api/v201003/TargetingIdeaService.rb', line 472

def errorString
  @errorString
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



477
478
479
# File 'lib/adwords_api/v201003/TargetingIdeaService.rb', line 477

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



475
476
477
# File 'lib/adwords_api/v201003/TargetingIdeaService.rb', line 475

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



476
477
478
# File 'lib/adwords_api/v201003/TargetingIdeaService.rb', line 476

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



470
471
472
# File 'lib/adwords_api/v201003/TargetingIdeaService.rb', line 470

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



478
479
480
# File 'lib/adwords_api/v201003/TargetingIdeaService.rb', line 478

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



474
475
476
# File 'lib/adwords_api/v201003/TargetingIdeaService.rb', line 474

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



471
472
473
# File 'lib/adwords_api/v201003/TargetingIdeaService.rb', line 471

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



479
480
481
# File 'lib/adwords_api/v201003/TargetingIdeaService.rb', line 479

def violatingParts
  @violatingParts
end