Class: AdWords::V201008::AdGroupCriterionService::Criterion

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

Overview

Criterion

  • id - SOAP::SOAPLong

  • criterion_Type - SOAP::SOAPString

Direct Known Subclasses

CriterionUserList, Keyword, Placement, Product, Vertical

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, criterion_Type = nil) ⇒ Criterion

Returns a new instance of Criterion.



1173
1174
1175
1176
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1173

def initialize(id = nil, criterion_Type = nil)
  @id = id
  @criterion_Type = criterion_Type
end

Instance Attribute Details

#criterion_TypeObject

Returns the value of attribute criterion_Type.



1171
1172
1173
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1171

def criterion_Type
  @criterion_Type
end

#idObject

Returns the value of attribute id.



1170
1171
1172
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1170

def id
  @id
end