Class: AdWords::V201003::AdGroupAdService::PolicyViolationErrorPart

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



132
133
134
135
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 132

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

Instance Attribute Details

#indexObject

Returns the value of attribute index.



129
130
131
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 129

def index
  @index
end

#lengthObject

Returns the value of attribute length.



130
131
132
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 130

def length
  @length
end