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:  May 12, 2023

Library
Studio hosted URL
HTML script tag
CSSRule Plugin
https://s0.2mdn.net/ads/studio/cached_libs/cssruleplugin_3.11.5_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/cssruleplugin_3.11.5_min.js"></script>
CustomEase
https://s0.2mdn.net/ads/studio/cached_libs/customease_3.11.5_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/customease_3.11.5_min.js"></script>
Draggable
https://s0.2mdn.net/ads/studio/cached_libs/draggable_3.11.5_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/draggable_3.11.5_min.js"></script>
Easel Plugin
https://s0.2mdn.net/ads/studio/cached_libs/easelplugin_3.11.5_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/easelplugin_3.11.5_min.js"></script>
EasePack
https://s0.2mdn.net/ads/studio/cached_libs/easepack_3.11.5_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/easepack_3.11.5_min.js"></script>
Flip
https://s0.2mdn.net/ads/studio/cached_libs/flip_3.11.5_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/flip_3.11.5_min.js"></script>
GSAP
https://s0.2mdn.net/ads/studio/cached_libs/gsap_3.11.5_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/gsap_3.11.5_min.js"></script>
MotionPath Plugin
https://s0.2mdn.net/ads/studio/cached_libs/motionpathplugin_3.11.5_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/motionpathplugin_3.11.5_min.js"></script>
Observer
https://s0.2mdn.net/ads/studio/cached_libs/observer_3.11.5_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/observer_3.11.5_min.js"></script>
Pixi Plugin
https://s0.2mdn.net/ads/studio/cached_libs/pixiplugin_3.11.5_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/pixiplugin_3.11.5_min.js"></script>
ScrollTo Plugin
https://s0.2mdn.net/ads/studio/cached_libs/scrolltoplugin_3.11.5_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/scrolltoplugin_3.11.5_min.js"></script>
ScrollTrigger 
https://s0.2mdn.net/ads/studio/cached_libs/scrolltrigger_3.11.5_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/scrolltrigger_3.11.5_min.js"></script>
Text Plugin
https://s0.2mdn.net/ads/studio/cached_libs/textplugin_3.11.5_min.js
<script src="https://s0.2mdn.net/ads/studio/cached_libs/textplugin_3.11.5_min.js"></script>

All GreenSock libraries

<script src="https://s0.2mdn.net/ads/studio/cached_libs/cssruleplugin_3.11.5_min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/cached_libs/customease_3.11.5_min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/cached_libs/draggable_3.11.5_min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/cached_libs/easelplugin_3.11.5_min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/cached_libs/easepack_3.11.5_min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/cached_libs/flip_3.11.5_min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/cached_libs/gsap_3.11.5_min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/cached_libs/motionpathplugin_3.11.5_min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/cached_libs/observer_3.11.5_min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/cached_libs/pixiplugin_3.11.5_min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/cached_libs/scrolltoplugin_3.11.5_min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/cached_libs/scrolltrigger_3.11.5_min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/cached_libs/textplugin_3.11.5_min.js"></script>

ThreeJS

Library
Studio hosted URL
HTML script tag

ThreeJS


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

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

Search
Clear search
Close search
Google apps
Main menu
6405678053522993436
true
Search Help Center
true
true
true
true
true
74220
false
false