Class: AdWords::V201003::AdGroupAdService::PolicyViolationError

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

Overview

PolicyViolationError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • errorString - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdWords::V201003::AdGroupAdService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

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



1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1720

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.



1712
1713
1714
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1712

def apiError_Type
  @apiError_Type
end

#errorStringObject

Returns the value of attribute errorString.



1711
1712
1713
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1711

def errorString
  @errorString
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



1716
1717
1718
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1716

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



1714
1715
1716
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1714

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



1715
1716
1717
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1715

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



1709
1710
1711
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1709

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



1717
1718
1719
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1717

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



1713
1714
1715
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1713

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



1710
1711
1712
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1710

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



1718
1719
1720
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1718

def violatingParts
  @violatingParts
end