Search
Clear search
Close search
Google apps
Main menu

Creative templates

Simplify creative trafficking for your team

Creative templates improve creative trafficking with standardized code that can be customized with predefined variables.

Add a creative using a creative template

  1. Sign in to DoubleClick for Publishers.
  2. Click Delivery and then Creatives.
  3. Click Add creative.
  4. Search for the appropriate advertiser, then click Continue.
  5. Choose System-defined template or User-defined template.
  6. Click the text box to search for the template you want to use, then click Continue.
  7. Fill out the predefined variable fields for the creative template.
  8. Click Save.
You can only create new creatives from active templates. Likewise, you can only copy creatives that were created from a template if the template is still active.

System-defined creative templates

System-defined templates cover common use cases, such as third-party tracking for clicks, and cannot be edited.

Image and text creative templates

  • Image banner with optional third-party tracking: Add third-party tracking pixels or URLs to an image creative.
  • Image with Google +1: Overlay a Google +1 button on top of an image creative. Any data collected from the Google +1 icon is not data derived from any DoubleClick service and is not subject to the terms and conditions of the agreements between you and DoubleClick. Learn more
  • Pop-up or pop-under window with image content: Launch a new window, sized for an image file hosted within DFP or externally.
  • Pop-up or pop-under window with third-party content: Launch a new window, sized for a creative hosted by a third-party. To track clicks for this creative, the click macro must be included in the third-party creative URL.
  • Text ad: A simple text-based creative.

Mobile creative templates

These templates are not editable and each template is supported on specific versions of the Android or iOS application and/or web browsers. View the supported platforms in the template description before deploying them to your mobile applications or websites.

Mobile adhesion banner (web): Render a banner ad which is positioned at the top or the bottom of a device display. Click through launches a new window with destination URL. Supported platforms: Websites running on Android 2.3.3+ or iOS 4.3+

Mobile interstitial with auto-close (app)Display an image interstitial with auto-close control. You can upload assets for both portrait and landscape orientations. Supported platforms: Android or iOS applications running Google Mobile Ads SDK 6.0+.

Mobile image carousel (app and web): Render an image carousel, a rotating display of images triggered by a user's swipe (from right to left). Maximum number of images you can include in a carousel is 5. Supported platforms: Applications and websites running on Android 2.2+ or iOS 4.3+.

Mobile image with Google +1 (app and web)Overlay Google +1 button on top of a banner ad. Supported platforms: Applications and websites running on Android 2.3.3+ or iOS 4.3+.

Note that any data collected from the Google +1 icon is not data derived from any DoubleClick service, and is not subject to the terms and conditions of the agreement(s) between you and DoubleClick.

User-defined creative templates

Create your own creative template to fit the specific needs of your inventory. Learn about DFP macros

Changes to a user-defined template will affect all associated creatives
To prevent changes from causing unexpected behavior in existing associated creatives, duplicate the creative template to make edits and use for new creatives.

Create your own creative template

  1. In DFP, click Delivery and then Creatives and then Creative templates.
  2. Click New creative template.
  3. Enter a descriptive name that traffickers will use to discover your template. Names can be up to 64 characters in length.
  4. (optional) Select Count impressions only when fully rendered if you want to record impressions only after the creative is fully rendered in the browser window. This setting cannot be changed after a creative template is saved.
    This setting is for out-of-page creatives only
    You must enable this setting for floating creatives or pop-ups and include the viewed impression macro.
  5. (optional) Select Serve into a SafeFrameLearn more
  6. (optional) Enter a description of the template to help traffickers determine which template to select.
  7. Click New variable to define which values or assets creative traffickers will define, such as a third-party click-tracking URL or an uploaded image, when they build a creative using your creative template.
    1. Define the type of information the trafficker will define:
      • Use File to solicit an image or other asset.
      • Use List to offer traffickers a list of predefined values to select.
      • Use Text to solicit a free-form text string.
      • Use Number to solicit a numeric text string. 
      • Use URL to solicit a text string correctly formatted as a URL.
    2. Enter a name for the variable to be used in your creative's HTML code snippet.
    3. Choose whether this variable will be required for traffickers, or not.
    4. (optional) Add help text to educate traffickers.
    5. Add a default value for the variable. This can be left blank, if no string is required.
    6. (optional) Add a sample value to guide traffickers.
  8. Enter HTML code in the Define snippet field. Click the Insert... buttons below the "Define snippet" field to insert standard DFP macros. Click Select a variable to insert defined variables into your creative code. These variable placeholders will be replaced with the values defined by each trafficker when served to your inventory.
    If you update an existing variable in a template, it doesn't automatically get updated in the Define snippet field. You’ll have to update it yourself manually.
  9. Click Save

Export and import creative templates

Export and import creative templates to utilize offline editorial processes or accomplish the tasks below:

  • Copy a creative template from one DFP network to another.
  • Revise a creative template offline, and then import it back into DFP.
  • Utilize offline systems and workflows, such as code reviews, to validate a revised creative template.

Export a creative template

  1. In DFP, click Delivery and then Creatives and then Creative templates.
  2. Click the creative template you want to export, either system-defined or user-defined.
  3. Click Export.
Some content, such as the HTML code snippet, is exported with standard JSON encoding to ensure it can be properly parsed when re-imported into DFP. If you want to edit the snippet offline, you’ll need to use a standard JSON library or web utility that can handle JSON encoding.

Import a creative template

  1. In DFP, click Delivery and then Creatives and then Creative templates.
  2. You can import a template as a new creative template, or as an update to an existing user-defined template:
    • To import as a new creative template, click New creative template and then Import.
    • To update an existing user-defined template, click into the user-defined template, and then click Import.
  3. Click Save at the bottom of the page.

Nathan is a DFP expert and author of this page. Help him improve the content by leaving feedback below.

Was this article helpful?
How can we improve it?