type CreativeTemplate (v202411)

A template upon which a creative can be created.


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

id

xsd:long

Uniquely identifies the CreativeTemplate. This attribute is read-only and is assigned by Google when a creative template is created.

name

xsd:string

The name of the creative template. This attribute is required and has a maximum length of 255 characters.

description

xsd:string

The description of the creative template. This attribute is optional.

variables

  1. CreativeTemplateVariable[]
    1. AssetCreativeTemplateVariable
    2. LongCreativeTemplateVariable
    3. StringCreativeTemplateVariable
      1. ListStringCreativeTemplateV...
    4. UrlCreativeTemplateVariable

The list of creative template variables. This attribute is required.

snippet

xsd:string

The snippet of the creative template, with placeholders for the associated variables. This attribute is required.

status

CreativeTemplateStatus

The status of the CreativeTemplate. This attribute is read-only and is assigned by Google.


Enumerations
ACTIVE
The CreativeTemplate is active
INACTIVE
The CreativeTemplate is inactive. Users cannot create new creatives from this template, but existing ones can be edited and continue to serve
DELETED
The CreativeTemplate is deleted. Creatives created from this CreativeTemplate can no longer serve.

type

CreativeTemplateType

The type of the CreativeTemplate. Publisher can only create user-defined template


Enumerations
SYSTEM_DEFINED
Creative templates that Google defines for users to use.
USER_DEFINED
Arbitrary creative templates that users can define as they see fit. Such templates are bound to a specific network and can only be used with creatives being created under the network.

isInterstitial

xsd:boolean

true if this creative template produces interstitial creatives.

isNativeEligible

xsd:boolean

true if this creative template produces native-eligible creatives.

isSafeFrameCompatible

xsd:boolean

Whether the Creative produced is compatible for SafeFrame rendering.

This attribute is optional and defaults to true.