Class: AdWords::V201003::AdGroupCriterionService::Keyword

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

Overview

Keyword

  • id - SOAP::SOAPLong

  • criterion_Type - SOAP::SOAPString

  • text - SOAP::SOAPString

  • matchType - AdWords::V201003::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.



1093
1094
1095
1096
1097
1098
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 1093

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.



1089
1090
1091
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 1089

def criterion_Type
  @criterion_Type
end

#idObject

Returns the value of attribute id.



1088
1089
1090
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 1088

def id
  @id
end

#matchTypeObject

Returns the value of attribute matchType.



1091
1092
1093
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 1091

def matchType
  @matchType
end

#textObject

Returns the value of attribute text.



1090
1091
1092
# File 'lib/adwords4r/v201003/AdGroupCriterionService.rb', line 1090

def text
  @text
end