Class: AdwordsApi::V200909::AdGroupCriterionService::Keyword

Inherits:
Criterion
  • Object
show all
Defined in:
lib/adwords_api/v200909/AdGroupCriterionService.rb

Overview

Keyword

  • id - SOAP::SOAPLong

  • criterion_Type - SOAP::SOAPString

  • text - SOAP::SOAPString

  • matchType - AdwordsApi::V200909::AdGroupCriterionService::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.



903
904
905
906
907
908
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 903

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.



899
900
901
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 899

def criterion_Type
  @criterion_Type
end

#idObject

Returns the value of attribute id.



898
899
900
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 898

def id
  @id
end

#matchTypeObject

Returns the value of attribute matchType.



901
902
903
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 901

def matchType
  @matchType
end

#textObject

Returns the value of attribute text.



900
901
902
# File 'lib/adwords_api/v200909/AdGroupCriterionService.rb', line 900

def text
  @text
end