Class: Google::Ads::AdManager::V1::CreativeTemplate

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

A template that can be used to create a [TemplateCreative][].

Instance Attribute Summary collapse

Instance Attribute Details

#description::String

Returns Optional. The description of the creative template.

Returns:

  • (::String)

    Optional. The description of the creative template.



68
69
70
71
# File 'proto_docs/google/ads/admanager/v1/creative_template_messages.rb', line 68

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

#display_name::String

Returns Required. The display name of the creative template. This has a maximum length of 255 characters.

Returns:

  • (::String)

    Required. The display name of the creative template. This has a maximum length of 255 characters.



68
69
70
71
# File 'proto_docs/google/ads/admanager/v1/creative_template_messages.rb', line 68

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

#interstitial::Boolean

Returns Optional. True if this creative template produces out-of-page creatives. Creative templates with this setting enabled must include the viewed impression macro.

Returns:

  • (::Boolean)

    Optional. True if this creative template produces out-of-page creatives. Creative templates with this setting enabled must include the viewed impression macro.



68
69
70
71
# File 'proto_docs/google/ads/admanager/v1/creative_template_messages.rb', line 68

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

#name::String

Returns Identifier. The resource name of the creative template. Format: networks/{network_code}/creativeTemplates/{creative_template_id}.

Returns:

  • (::String)

    Identifier. The resource name of the creative template. Format: networks/{network_code}/creativeTemplates/{creative_template_id}



68
69
70
71
# File 'proto_docs/google/ads/admanager/v1/creative_template_messages.rb', line 68

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

#native_eligible::Boolean

Returns Optional. True if this creative template produces native-eligible creatives.

Returns:

  • (::Boolean)

    Optional. True if this creative template produces native-eligible creatives.



68
69
70
71
# File 'proto_docs/google/ads/admanager/v1/creative_template_messages.rb', line 68

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

#native_video_eligible::Boolean

Returns Optional. True if this creative template produces native video-eligible creatives.

Returns:

  • (::Boolean)

    Optional. True if this creative template produces native video-eligible creatives.



68
69
70
71
# File 'proto_docs/google/ads/admanager/v1/creative_template_messages.rb', line 68

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

#safe_frame_compatible::Boolean

Returns Optional. Whether the Creative produced is compatible for SafeFrame rendering. This attribute defaults to True.

Returns:

  • (::Boolean)

    Optional. Whether the Creative produced is compatible for SafeFrame rendering. This attribute defaults to True.



68
69
70
71
# File 'proto_docs/google/ads/admanager/v1/creative_template_messages.rb', line 68

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

#snippet::String

Returns Required. The code snippet of the creative template, with placeholders for the associated variables.

Returns:

  • (::String)

    Required. The code snippet of the creative template, with placeholders for the associated variables.



68
69
70
71
# File 'proto_docs/google/ads/admanager/v1/creative_template_messages.rb', line 68

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

#status::Google::Ads::AdManager::V1::CreativeTemplateStatusEnum::CreativeTemplateStatus (readonly)

Returns Output only. The status of the creative template. This attribute is assigned by Google.

Returns:



68
69
70
71
# File 'proto_docs/google/ads/admanager/v1/creative_template_messages.rb', line 68

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

#type::Google::Ads::AdManager::V1::CreativeTemplateTypeEnum::CreativeTemplateType

Returns Optional. The type of the creative template. Users can only create or update CreativeTemplateType.CUSTOM templates.

Returns:



68
69
70
71
# File 'proto_docs/google/ads/admanager/v1/creative_template_messages.rb', line 68

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

#variables::Array<::Google::Ads::AdManager::V1::CreativeTemplateVariable>

Returns Required. The list of creative template variables.

Returns:



68
69
70
71
# File 'proto_docs/google/ads/admanager/v1/creative_template_messages.rb', line 68

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