Class: AdWords::V201008::CampaignCriterionService::Keyword

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

Overview

Keyword

  • id - SOAP::SOAPLong

  • criterion_Type - SOAP::SOAPString

  • text - SOAP::SOAPString

  • matchType - AdWords::V201008::CampaignCriterionService::KeywordMatchType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil) ⇒ Keyword

Returns a new instance of Keyword.



744
745
746
747
748
749
# File 'lib/adwords4r/v201008/CampaignCriterionService.rb', line 744

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

Instance Attribute Details

#criterion_TypeObject

Returns the value of attribute criterion_Type.



740
741
742
# File 'lib/adwords4r/v201008/CampaignCriterionService.rb', line 740

def criterion_Type
  @criterion_Type
end

#idObject

Returns the value of attribute id.



739
740
741
# File 'lib/adwords4r/v201008/CampaignCriterionService.rb', line 739

def id
  @id
end

#matchTypeObject

Returns the value of attribute matchType.



742
743
744
# File 'lib/adwords4r/v201008/CampaignCriterionService.rb', line 742

def matchType
  @matchType
end

#textObject

Returns the value of attribute text.



741
742
743
# File 'lib/adwords4r/v201008/CampaignCriterionService.rb', line 741

def text
  @text
end