Class: AdWords::V201008::AdGroupCriterionService::Product

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

Overview

Product

  • id - SOAP::SOAPLong

  • criterion_Type - SOAP::SOAPString

  • conditions - AdWords::V201008::AdGroupCriterionService::ProductCondition

  • text - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, criterion_Type = nil, conditions = [], text = nil) ⇒ Product

Returns a new instance of Product.



1266
1267
1268
1269
1270
1271
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1266

def initialize(id = nil, criterion_Type = nil, conditions = [], text = nil)
  @id = id
  @criterion_Type = criterion_Type
  @conditions = conditions
  @text = text
end

Instance Attribute Details

#conditionsObject

Returns the value of attribute conditions.



1263
1264
1265
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1263

def conditions
  @conditions
end

#criterion_TypeObject

Returns the value of attribute criterion_Type.



1262
1263
1264
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1262

def criterion_Type
  @criterion_Type
end

#idObject

Returns the value of attribute id.



1261
1262
1263
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1261

def id
  @id
end

#textObject

Returns the value of attribute text.



1264
1265
1266
# File 'lib/adwords4r/v201008/AdGroupCriterionService.rb', line 1264

def text
  @text
end