Class: AdWords::V200909::AdGroupAdService::PolicyViolationError

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

Overview

PolicyViolationError

  • fieldPath - SOAP::SOAPString

  • trigger - SOAP::SOAPString

  • apiError_Type - SOAP::SOAPString

  • key - AdWords::V200909::AdGroupAdService::PolicyViolationKey

  • externalPolicyName - SOAP::SOAPString

  • externalPolicyUrl - SOAP::SOAPString

  • externalPolicyDescription - SOAP::SOAPString

  • isExemptable - SOAP::SOAPBoolean

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

Returns a new instance of PolicyViolationError.



1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1563

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.



1555
1556
1557
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1555

def apiError_Type
  @apiError_Type
end

#externalPolicyDescriptionObject

Returns the value of attribute externalPolicyDescription.



1559
1560
1561
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1559

def externalPolicyDescription
  @externalPolicyDescription
end

#externalPolicyNameObject

Returns the value of attribute externalPolicyName.



1557
1558
1559
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1557

def externalPolicyName
  @externalPolicyName
end

#externalPolicyUrlObject

Returns the value of attribute externalPolicyUrl.



1558
1559
1560
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1558

def externalPolicyUrl
  @externalPolicyUrl
end

#fieldPathObject

Returns the value of attribute fieldPath.



1553
1554
1555
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1553

def fieldPath
  @fieldPath
end

#isExemptableObject

Returns the value of attribute isExemptable.



1560
1561
1562
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1560

def isExemptable
  @isExemptable
end

#keyObject

Returns the value of attribute key.



1556
1557
1558
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1556

def key
  @key
end

#triggerObject

Returns the value of attribute trigger.



1554
1555
1556
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1554

def trigger
  @trigger
end

#violatingPartsObject

Returns the value of attribute violatingParts.



1561
1562
1563
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1561

def violatingParts
  @violatingParts
end