Class: Google::Ads::AdManager::V1::CreativeTemplate
- Inherits:
-
Object
- Object
- Google::Ads::AdManager::V1::CreativeTemplate
- 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
-
#description ⇒ ::String
Optional.
-
#display_name ⇒ ::String
Required.
-
#interstitial ⇒ ::Boolean
Optional.
-
#name ⇒ ::String
Identifier.
-
#native_eligible ⇒ ::Boolean
Optional.
-
#native_video_eligible ⇒ ::Boolean
Optional.
-
#safe_frame_compatible ⇒ ::Boolean
Optional.
-
#snippet ⇒ ::String
Required.
-
#status ⇒ ::Google::Ads::AdManager::V1::CreativeTemplateStatusEnum::CreativeTemplateStatus
readonly
Output only.
-
#type ⇒ ::Google::Ads::AdManager::V1::CreativeTemplateTypeEnum::CreativeTemplateType
Optional.
-
#variables ⇒ ::Array<::Google::Ads::AdManager::V1::CreativeTemplateVariable>
Required.
Instance Attribute Details
#description ⇒ ::String
Returns 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.
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.
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}.
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.
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.
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.
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.
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.
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.
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.
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 |