Class: AdWords::V201008::AdGroupAdService::PolicyViolationErrorPart

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords4r/v201008/AdGroupAdService.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.



119
120
121
122
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 119

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

Instance Attribute Details

#indexObject

Returns the value of attribute index.



116
117
118
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 116

def index
  @index
end

#lengthObject

Returns the value of attribute length.



117
118
119
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 117

def length
  @length
end