Class: AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationErrorPart

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



1219
1220
1221
1222
# File 'lib/adwords_api/v201003/AdGroupCriterionService.rb', line 1219

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

Instance Attribute Details

#indexObject

Returns the value of attribute index.



1216
1217
1218
# File 'lib/adwords_api/v201003/AdGroupCriterionService.rb', line 1216

def index
  @index
end

#lengthObject

Returns the value of attribute length.



1217
1218
1219
# File 'lib/adwords_api/v201003/AdGroupCriterionService.rb', line 1217

def length
  @length
end