Search
Clear search
Close search
Google apps
Main menu

DoubleClick hosted JavaScript libraries

Instead of uploading JavaScript libraries with your creative, replace any references to common JavaScript libraries with DoubleClick hosted URLs. These libraries are hosted on the same domain as your live ad will be.

DoubleClick is working with the IAB to get these resources shared and cached by many creatives so they can be excluded from the initial load of your ad.

For each library below, you'll find the URL and a script tag. If you've already added the original library URL to your HTML file, you can copy and replace the URL in the existing script tag. If you're starting from scratch, you can copy the full script tag to your HTML file to load the library.

CreateJS

Library
DoubleClick hosted URL
 
HTML script tag

CreateJS (full library)


https://s0.2mdn.net/ads/studio/cached_libs/createjs_2015.11.26_54e1c3722102182bb133912ad4442e19_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/createjs_2015.11.26_54e1c3722102182bb133912ad4442e19_min.js"></script>

EaselJS


https://s0.2mdn.net/ads/studio/cached_libs/easeljs_0.8.2_937c3ec68021211c056f61c9ceaccffd_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/easeljs_0.8.2_937c3ec68021211c056f61c9ceaccffd_min.js"></script>

Movieclip


https://s0.2mdn.net/ads/studio/cached_libs/movieclip_0.8.1_927f07f1635e6a2a1aa76e79f9decf86_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/movieclip_0.8.1_927f07f1635e6a2a1aa76e79f9decf86_min.js"></script>

PreloadJS


https://s0.2mdn.net/ads/studio/cached_libs/preloadjs_0.6.2_d7b96570d4552592ae479162e546cb25_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/preloadjs_0.6.2_d7b96570d4552592ae479162e546cb25_min.js"></script>

SoundJS


https://s0.2mdn.net/ads/studio/cached_libs/soundjs_0.6.2_4c1425ce52ff873d9fb7aa4daf23b94d_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/soundjs_0.6.2_4c1425ce52ff873d9fb7aa4daf23b94d_min.js"></script>

TweenJS


https://s0.2mdn.net/ads/studio/cached_libs/tweenjs_0.6.2_47653fa176057626486243bdc9dbf342_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/tweenjs_0.6.2_47653fa176057626486243bdc9dbf342_min.js"></script>

GreenSock

If you use Google Web Designer, you don't have to manually copy and paste these URLs into script tags in your file to include them. Instead, follow the steps below to include a DoubleClick hosted GreenSock library in your file.

  1. Switch to Code view.
  2. Click File > Include JS library > GreenSock.
  3. Select the library to include. A script tag will be added to your file that loads the DoubleClick hosted library.
Library
DoubleClick hosted URL

Attr Plugin


https://s0.2mdn.net/ads/studio/cached_libs/attrplugin_1.20.0_2c0bc46c28f3fc4263e1183a31179bc8_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/attrplugin_1.20.0_2c0bc46c28f3fc4263e1183a31179bc8_min.js"></script>
Bezier Plugin
https://s0.2mdn.net/ads/studio/cached_libs/bezierplugin_1.20.0_561a74d1308652f408acbc3cde356df0_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/bezierplugin_1.20.0_561a74d1308652f408acbc3cde356df0_min.js"></script>
CSS Plugin
https://s0.2mdn.net/ads/studio/cached_libs/cssplugin_1.20.0_35574bbb2cf06c392e9036c87b5a8474_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/cssplugin_1.20.0_35574bbb2cf06c392e9036c87b5a8474_min.js"></script>
CSS Rule Plugin
https://s0.2mdn.net/ads/studio/cached_libs/cssruleplugin_1.20.0_10e4b052808004959f8e898a2bc175bc_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/cssruleplugin_1.20.0_10e4b052808004959f8e898a2bc175bc_min.js"></script>
Color Props Plugin
https://s0.2mdn.net/ads/studio/cached_libs/colorpropsplugin_1.20.0_d182452f45a9ca65141249a3b0ec861d_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/colorpropsplugin_1.20.0_d182452f45a9ca65141249a3b0ec861d_min.js"></script>
Directional Rotation Plugin
https://s0.2mdn.net/ads/studio/cached_libs/directionalrotationplugin_1.20.0_3f3e7ae8ad988785d626502d7372a415_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/directionalrotationplugin_1.20.0_3f3e7ae8ad988785d626502d7372a415_min.js"></script>
Draggable
https://s0.2mdn.net/ads/studio/cached_libs/draggable_1.20.0_941292f40af659d2ab7af98f44b4fe3f_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/draggable_1.20.0_941292f40af659d2ab7af98f44b4fe3f_min.js"></script>
Easel Plugin
https://s0.2mdn.net/ads/studio/cached_libs/easelplugin_1.20.0_eac21bfaee02b4dd20c1ada65be37bcb_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/easelplugin_1.20.0_eac21bfaee02b4dd20c1ada65be37bcb_min.js"></script>
EasePack
https://s0.2mdn.net/ads/studio/cached_libs/easepack_1.20.0_f9d13d59407792e37168747225359927_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/easepack_1.20.0_f9d13d59407792e37168747225359927_min.js"></script>
EndArray Plugin
https://s0.2mdn.net/ads/studio/cached_libs/endarrayplugin_1.20.0_cc7477005d094a747209406e504a7b60_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/endarrayplugin_1.20.0_cc7477005d094a747209406e504a7b60_min.js"></script>
jQuery GSAP Plugin
https://s0.2mdn.net/ads/studio/cached_libs/jquery.gsap_1.20.0_581cadff236fc99de0d1f40cf3be1d2c_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/jquery.gsap_1.20.0_581cadff236fc99de0d1f40cf3be1d2c_min.js"></script>
Modifiers Plugin
https://s0.2mdn.net/ads/studio/cached_libs/modifiersplugin_1.20.0_2bf3b6100eebd8986733f77fdab6c251_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/modifiersplugin_1.20.0_2bf3b6100eebd8986733f77fdab6c251_min.js"></script>
Pixi Plugin
https://s0.2mdn.net/ads/studio/cached_libs/pixiplugin_1.20.0_6f1d2de24e473c299ba3a8eadac24525_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/pixiplugin_1.20.0_6f1d2de24e473c299ba3a8eadac24525_min.js"></script>
Raphael Plugin
https://s0.2mdn.net/ads/studio/cached_libs/raphaelplugin_1.20.0_83facdfbd79f40bdfc089099c6991342_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/raphaelplugin_1.20.0_83facdfbd79f40bdfc089099c6991342_min.js"></script>
RoundProps Plugin
https://s0.2mdn.net/ads/studio/cached_libs/roundpropsplugin_1.20.0_72a1a2ac019ce4370da843429647ea84_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/roundpropsplugin_1.20.0_72a1a2ac019ce4370da843429647ea84_min.js"></script>
ScrollTo Plugin
https://s0.2mdn.net/ads/studio/cached_libs/scrolltoplugin_1.20.0_210a9bec8ed9d2cc5d0fc4720e716c64_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/scrolltoplugin_1.20.0_210a9bec8ed9d2cc5d0fc4720e716c64_min.js"></script>
Text Plugin
https://s0.2mdn.net/ads/studio/cached_libs/textplugin_1.20.0_8c879f1e03ddddb88357d560396c58e2_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/textplugin_1.20.0_8c879f1e03ddddb88357d560396c58e2_min.js"></script>
TimelineLite
https://s0.2mdn.net/ads/studio/cached_libs/timelinelite_1.20.0_69767b5d8acb5acac5f8545f23c35618_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/timelinelite_1.20.0_69767b5d8acb5acac5f8545f23c35618_min.js"></script>
TimelineMax
https://s0.2mdn.net/ads/studio/cached_libs/timelinemax_1.20.0_d82c0635e1c062329eb780229648d97f_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/timelinemax_1.20.0_d82c0635e1c062329eb780229648d97f_min.js"></script>

TweenLite


https://s0.2mdn.net/ads/studio/cached_libs/tweenlite_1.20.0_3393be0dce31ad0098cf6549eaa28a6c_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/tweenlite_1.20.0_3393be0dce31ad0098cf6549eaa28a6c_min.js"></script>
TweenMax
https://s0.2mdn.net/ads/studio/cached_libs/tweenmax_1.20.0_d360d9a082ccc13b1a1a9b153f86b378_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/tweenmax_1.20.0_d360d9a082ccc13b1a1a9b153f86b378_min.js"></script>
Was this article helpful?
How can we improve it?