Class: AdWords::V200909::AdGroupAdService::TemplateElementField

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

Overview

TemplateElementField

  • name - SOAP::SOAPString

  • type - AdWords::V200909::AdGroupAdService::TemplateElementFieldType

  • fieldText - SOAP::SOAPString

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



972
973
974
975
976
977
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 972

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.



970
971
972
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 970

def fieldMedia
  @fieldMedia
end

#fieldTextObject

Returns the value of attribute fieldText.



969
970
971
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 969

def fieldText
  @fieldText
end

#nameObject

Returns the value of attribute name.



967
968
969
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 967

def name
  @name
end

#typeObject

Returns the value of attribute type.



968
969
970
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 968

def type
  @type
end