Class: AdWords::V201008::AdGroupAdService::TemplateElementField

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

Overview

TemplateElementField

  • name - SOAP::SOAPString

  • type - AdWords::V201008::AdGroupAdService::TemplateElementFieldType

  • fieldText - SOAP::SOAPString

  • fieldMedia - AdWords::V201008::AdGroupAdService::Media

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, type = nil, fieldText = nil, fieldMedia = nil) ⇒ TemplateElementField

Returns a new instance of TemplateElementField.



1014
1015
1016
1017
1018
1019
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1014

def initialize(name = nil, type = nil, fieldText = nil, fieldMedia = nil)
  @name = name
  @type = type
  @fieldText = fieldText
  @fieldMedia = fieldMedia
end

Instance Attribute Details

#fieldMediaObject

Returns the value of attribute fieldMedia.



1012
1013
1014
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1012

def fieldMedia
  @fieldMedia
end

#fieldTextObject

Returns the value of attribute fieldText.



1011
1012
1013
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1011

def fieldText
  @fieldText
end

#nameObject

Returns the value of attribute name.



1009
1010
1011
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1009

def name
  @name
end

#typeObject

Returns the value of attribute type.



1010
1011
1012
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1010

def type
  @type
end