Class: AdWords::V201008::CampaignCriterionService::Product

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

Overview

Product

  • id - SOAP::SOAPLong

  • criterion_Type - SOAP::SOAPString

  • conditions - AdWords::V201008::CampaignCriterionService::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.



820
821
822
823
824
825
# File 'lib/adwords4r/v201008/CampaignCriterionService.rb', line 820

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.



817
818
819
# File 'lib/adwords4r/v201008/CampaignCriterionService.rb', line 817

def conditions
  @conditions
end

#criterion_TypeObject

Returns the value of attribute criterion_Type.



816
817
818
# File 'lib/adwords4r/v201008/CampaignCriterionService.rb', line 816

def criterion_Type
  @criterion_Type
end

#idObject

Returns the value of attribute id.



815
816
817
# File 'lib/adwords4r/v201008/CampaignCriterionService.rb', line 815

def id
  @id
end

#textObject

Returns the value of attribute text.



818
819
820
# File 'lib/adwords4r/v201008/CampaignCriterionService.rb', line 818

def text
  @text
end