Class: AdWords::V201008::AdGroupCriterionService::PolicyViolationErrorPart

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords4r/v201008/AdGroupCriterionService.rb

Overview

PolicyViolationError.Part

  • index - SOAP::SOAPInt

  • length - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(index = nil, length = nil) ⇒ PolicyViolationErrorPart

Returns a new instance of PolicyViolationErrorPart.



55
56
57
58
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 55

def initialize(index = nil, length = nil)
  @index = index
  @length = length
end

Instance Attribute Details

#indexObject

Returns the value of attribute index.



52
53
54
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 52

def index
  @index
end

#lengthObject

Returns the value of attribute length.



53
54
55
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 53

def length
  @length
end