Jump to content
Search Community

Moving from TweenMax to TweenLite for Adwords

MindGamer test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I'm trying to scale an ad down to the 150k filesize restriction that AdWords enforces, and I think my best bet is to move from TweenMax to TweenLite on a couple of creatives.

 

I've actually never really used TweenLite as filesize hasn't been a major issue for me until now.

 

Is there a concise feature-comparison chart showing what features I will need to pull from my TweenMax tweens in order to make them work with TweenLite?

 

Thanks.

Link to comment
Share on other sites

  • 4 weeks later...

I would suggest to use CDN version of TweenMax or TweenLite.

Here's the CDN for Robust version (TweenMax)

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenMax.min.js"></script> 

Here's the CDN for Lightweight version (TweenLite)

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/plugins/CSSPlugin.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/easing/EasePack.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenLite.min.js"></script> 

For comparison about TweenMax and TweenLite there's no difference in performance they are good to use the only difference is that their size here's the great answer from Carl!
 

Link: http://greensock.com/forums/topic/10136-difference-between-tweenmax-tweenlite-based-on-gc-speed/

  • Like 2
Link to comment
Share on other sites

I would suggest to use CDN version of TweenMax or TweenLite.

Here's the CDN for Robust version (TweenMax)

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenMax.min.js"></script> 

Here's the CDN for Lightweight version (TweenLite)

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/plugins/CSSPlugin.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/easing/EasePack.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenLite.min.js"></script> 

For comparison about TweenMax and TweenLite there's no difference in performance they are good to use the only difference is that their size here's the great answer from Carl!

 

Link: http://greensock.com/forums/topic/10136-difference-between-tweenmax-tweenlite-based-on-gc-speed/

Adwords does not accept external references like cloudflare.  They only allow the Google-hosted libraries, as mentioned by Oliver and Joe.

  • Like 1
Link to comment
Share on other sites

Adwords does not accept external references like cloudflare.  They only allow the Google-hosted libraries, as mentioned by Oliver and Joe.

 

Thank you for your support buddy! Again here's the finalized solution!

 

You can use this CDN from google!

<script src="https://s0.2mdn.net/ads/studio/cached_libs/tweenmax_1.19.0_643d6911392a3398cb1607993edabfa7_min.js"></script>

Then if you prefer to use TweenLite there you go!

 

<script src="https://s0.2mdn.net/ads/studio/cached_libs/tweenlite_1.19.0_422f021fad4c20f20cf3640a06ac39e9_min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/cached_libs/cssplugin_1.19.0_cfbff7d208ccfdbe176b9855af1eb1fa_min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/cached_libs/easepack_1.19.0_be87087c08fcec83e2b64c70571fe91f_min.js"></script>

I hope this is clear now! For more info go here: http://greensock.com/forums/topic/12701-google-doubleclick-hosts-gsap-on-their-cdn/

For more Google CDN version of GSAP kindly visit this link: https://support.google.com/richmedia/answer/6307288

 

Don't forget to hit like button! Thanks all!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...