Class: Google::Ads::AdManager::V1::CreativeTemplateVariable::StringCreativeTemplateVariable

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/ads/admanager/v1/creative_template_messages.rb

Overview

Represents a string variable defined in a creative template.

Use [StringCreativeTemplateVariableValue][] to specify the value for this variable when creating [TemplateCreative][] from a CreativeTemplate.

Instance Attribute Summary collapse

Instance Attribute Details

#default_value::String

Returns Optional. Default value to be filled in when creating creatives from the creative template.

Returns:

  • (::String)

    Optional. Default value to be filled in when creating creatives from the creative template.



227
228
229
230
# File 'proto_docs/google/ads/admanager/v1/creative_template_messages.rb', line 227

class StringCreativeTemplateVariable
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#sample_value::String

Returns Optional. Sample value that is used when previewing the template in the UI.

Returns:

  • (::String)

    Optional. Sample value that is used when previewing the template in the UI.



227
228
229
230
# File 'proto_docs/google/ads/admanager/v1/creative_template_messages.rb', line 227

class StringCreativeTemplateVariable
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end