Class: AdWords::V200909::AdParamService::AdParam

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

Overview

AdParam

  • adGroupId - SOAP::SOAPLong

  • criterionId - SOAP::SOAPLong

  • insertionText - SOAP::SOAPString

  • paramIndex - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(adGroupId = nil, criterionId = nil, insertionText = nil, paramIndex = nil) ⇒ AdParam

Returns a new instance of AdParam.



17
18
19
20
21
22
# File 'lib/adwords4r/v200909/AdParamService.rb', line 17

def initialize(adGroupId = nil, criterionId = nil, insertionText = nil, paramIndex = nil)
  @adGroupId = adGroupId
  @criterionId = criterionId
  @insertionText = insertionText
  @paramIndex = paramIndex
end

Instance Attribute Details

#adGroupIdObject

Returns the value of attribute adGroupId.



12
13
14
# File 'lib/adwords4r/v200909/AdParamService.rb', line 12

def adGroupId
  @adGroupId
end

#criterionIdObject

Returns the value of attribute criterionId.



13
14
15
# File 'lib/adwords4r/v200909/AdParamService.rb', line 13

def criterionId
  @criterionId
end

#insertionTextObject

Returns the value of attribute insertionText.



14
15
16
# File 'lib/adwords4r/v200909/AdParamService.rb', line 14

def insertionText
  @insertionText
end

#paramIndexObject

Returns the value of attribute paramIndex.



15
16
17
# File 'lib/adwords4r/v200909/AdParamService.rb', line 15

def paramIndex
  @paramIndex
end