Class: AdwordsApi::V201003::AdGroupAdService::PolicyViolationError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/adwords_api/v201003/AdGroupAdService.rb

Overview

PolicyViolationError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • errorString - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdwordsApi::V201003::AdGroupAdService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

  • violatingParts - AdwordsApi::V201003::AdGroupAdService::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 = []) ⇒ PolicyViolationError

Returns a new instance of PolicyViolationError.



1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1489

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.



1481
1482
1483
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1481

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



1480
1481
1482
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1480

def errorString
  @errorString
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



1485
1486
1487
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1485

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



1483
1484
1485
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1483

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



1484
1485
1486
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1484

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



1478
1479
1480
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1478

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



1486
1487
1488
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1486

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



1482
1483
1484
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1482

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



1479
1480
1481
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1479

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



1487
1488
1489
# File 'lib/adwords_api/v201003/AdGroupAdService.rb', line 1487

def violatingParts
  @violatingParts
end