Studio hosted JavaScript libraries

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

Studio 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
Studio hosted URL
HTML script tag

CreateJS


https://s0.2mdn.net/ads/studio/cached_libs/createjs_2019.11.15_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/createjs_2019.11.15_min.js"></script>

EaselJS


https://s0.2mdn.net/ads/studio/cached_libs/easeljs_1.0.0_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/easeljs_1.0.0_min.js"></script>

PreloadJS


https://s0.2mdn.net/ads/studio/cached_libs/preloadjs_1.0.0_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/preloadjs_1.0.0_min.js"></script>

SoundJS


https://s0.2mdn.net/ads/studio/cached_libs/soundjs_1.0.0_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/soundjs_1.0.0_min.js"></script>

TweenJS


https://s0.2mdn.net/ads/studio/cached_libs/tweenjs_1.0.0_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/tweenjs_1.0.0_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 Studio 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 Studio hosted library.

 

Last updated:  November 11, 2019

Library
Studio hosted URL
Attr Plugin– Included in GSAP core
CSS Plugin– Included in GSAP core
CSS Rule Plugin
https://s0.2mdn.net/ads/studio/cached_libs/cssruleplugin_3.0.1_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/cssruleplugin_3.0.1_min.js"></script>
Draggable
https://s0.2mdn.net/ads/studio/cached_libs/draggable_3.0.1_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/draggable_3.0.1_min.js"></script>
Easel Plugin
https://s0.2mdn.net/ads/studio/cached_libs/easelplugin_3.0.1_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/easelplugin_3.0.1_min.js"></script>
EasePack
https://s0.2mdn.net/ads/studio/cached_libs/easepack_3.0.1_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/easepack_3.0.1_min.js"></script>
GSAP
https://s0.2mdn.net/ads/studio/cached_libs/gsap_3.0.1_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/gsap_3.0.1_min.js"></script>
MotionPath Plugin
https://s0.2mdn.net/ads/studio/cached_libs/motionpathplugin_3.0.1_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/motionpathplugin_3.0.1_min.js"></script>
Modifiers Plugin– Included in GSAP core
Pixi Plugin
https://s0.2mdn.net/ads/studio/cached_libs/pixiplugin_3.0.1_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/pixiplugin_3.0.1_min.js"></script>
ScrollTo Plugin
https://s0.2mdn.net/ads/studio/cached_libs/scrolltoplugin_3.0.1_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/scrolltoplugin_3.0.1_min.js"></script>
Snap Plugin– Included in GSAP core
Text Plugin
https://s0.2mdn.net/ads/studio/cached_libs/textplugin_3.0.1_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/textplugin_3.0.1_min.js"></script>
Was this helpful?
How can we improve it?