Class: AdWords::V200909::TargetingIdeaService::Keyword

Inherits:
Criterion
  • Object
show all
Defined in:
lib/adwords4r/v200909/TargetingIdeaService.rb

Overview

Keyword

  • id - SOAP::SOAPLong

  • criterion_Type - SOAP::SOAPString

  • text - SOAP::SOAPString

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



1132
1133
1134
1135
1136
1137
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1132

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.



1128
1129
1130
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1128

def criterion_Type
  @criterion_Type
end

#idObject

Returns the value of attribute id.



1127
1128
1129
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1127

def id
  @id
end

#matchTypeObject

Returns the value of attribute matchType.



1130
1131
1132
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1130

def matchType
  @matchType
end

#textObject

Returns the value of attribute text.



1129
1130
1131
# File 'lib/adwords4r/v200909/TargetingIdeaService.rb', line 1129

def text
  @text
end