Class: AdwordsApi::V201003::CampaignCriterionService::Criterion

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords_api/v201003/CampaignCriterionService.rb

Overview

Criterion

  • id - SOAP::SOAPLong

  • criterion_Type - SOAP::SOAPString

Direct Known Subclasses

ContentLabel, Keyword, Placement, Vertical

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Criterion.



672
673
674
675
# File 'lib/adwords_api/v201003/CampaignCriterionService.rb', line 672

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.



670
671
672
# File 'lib/adwords_api/v201003/CampaignCriterionService.rb', line 670

def criterion_Type
  @criterion_Type
end

#idObject

Returns the value of attribute id.



669
670
671
# File 'lib/adwords_api/v201003/CampaignCriterionService.rb', line 669

def id
  @id
end