Skip to main content
Participant
February 10, 2016
Answered

Animate CC Create JS libraries for Adwords

  • February 10, 2016
  • 12 replies
  • 18032 views

How can I use in the new Animate CC the google hosted libraries? Animate CC exports 1 file now ( createjs-2015.11.26.min.js )  --> 186kb

With the last flash pro I only needed to send 2 files ( movieclip-0.8.1.min.js and preloadjs-0.6.1.min.js )  --> 59.2kb

Any comments welcomed.

Thanks,

Rodrigo

Google-hosted CreateJS

This topic has been closed for replies.
Correct answer Mohanaraj

Hi,

You can still refer only the libs that you need by updating the HTML file once published from Animate and downloading the required libs from CreateJS | CDN

Thanks!

Mohan

12 replies

Inspiring
April 9, 2017

Combine Files let you close banners fast and easy for many publisher.

* Compresses the banner to ZIP for Google Ads

* Adds the JavaScript code from the JS files into the HTML file

* Selects the CDN server for the campaign

* Adds META to the HTML file for Google Ads

* Creates a new folder that includes all the files that you need for your campaign

Show the tutorial:

https://www.youtube.com/embed/rQ30WfPTZic

The site:

http://www.closeapp.co.il/apps/combineFiles/

Download it:

https://gumroad.com/l/ztoTS

pixelen
Participant
November 4, 2016

Hi everyone. I'm having the same issues as above, except that my issue isn't solved when I link to the Google-hosted CreateJS. With the create.js file included, the file size is too big, but when I link to the google-hosted version my HTML file no longer works and comes up blank. Can anyone tell me what I'm doing wrong?

https://www.dropbox.com/s/7y9ku6t16bjh8ua/Bachtrack.zip?dl=0

Known Participant
November 4, 2016

Hi Pixelen, works fine for me with regard to seeing your ad... BTW i've found some browsers don't like sprite sheets FYI. This could be an issue... Did you try running it though the google HMTL validator? Also to save some file size, make your gradient and button in Flash rather than having them as bitmap elements, this will drop your file size considerably.

pixelen
Participant
November 4, 2016

Hi Joe, oh great - must be that browser's don't display it, though it runs fine when put through Google Adwords as it's linking to hosted js? Good note regarding the spritesheets, I have run the ad through the HTML validator and it said it was fine, but I will keep that in mind for the future.

Mohanaraj
Adobe Employee
Adobe Employee
May 4, 2016

Yes, Createjs libraries are now part of both Google double click and adwords!

Thanks!

Mohan

Known Participant
March 31, 2016

Hi, I'm very new to coding html5, so please can someone please talk me through the following? (in baby steps!)

Ok so when i publish my ad, Animate creates this link in the HTML file for creatjs:

<script src="https://code.createjs.com/createjs-2015.11.26.min.js"></script>

This is what adwords doesn't like.

I downloaded the creatjs to run it locally but this makes the banner way too big, but adwords approves it.

Here are my files - www.fishdna.co.uk/work/html5/Archive.zip

I then read the above and tried to implement this into the HTML to use googles createjs:

replacing - <script src="https://code.createjs.com/createjs-2015.11.26.min.js"></script>

with

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

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

But when i went to preview this the ad stops working. Am i missing something fundemental?

Any help much appreciated, as i desperately need to move away from the proverbial nail in the foot to work flow that is GWD and start using Flash again, sorry Animate... ; )

Inspiring
March 31, 2016

you are missing 2 files.

you have

<script src="libs/easeljs-0.8.1.min.js"></script>

<script src="libs/tweenjs-0.6.1.min.js"></script>

missing

<script src="libs/movieclip-0.8.1.min.js"></script>

<script src="libs/preloadjs-0.6.1.min.js"></script>

Participant
April 8, 2016

Thank you!

---

<snip>

<!--<script src="https://code.createjs.com/createjs-2015.11.26.min.js"></script>-->

<script src="//s0.2mdn.net/ads/studio/cached_libs/tweenjs_0.6.1_40840f08e9fb382ae9e4a337da542ed5_min.js"></script>

<script src="//s0.2mdn.net/ads/studio/cached_libs/easeljs_0.8.1_58add2e69ca7fbe25e8f82a2b5f6a510_min.js"></script>

<script src="movieclip-0.8.1.min.js"></script>

<script src="preloadjs-0.6.1.min.js"></script>

</snip>

The tween/easel-js aren't enough for Animate-produced H5-Banner - you have to download 2 additional createJS-subscripts:

- https://code.createjs.com/preloadjs-0.6.1.min.js

- https://code.createjs.com/movieclip-0.8.1.min.js

- Bundled and single libraries: http://code.createjs.com/

Zipped, the 2 shrink to 17KB, leaving you with 133KB (zipped) to work with on your banner.

Inspiring
March 22, 2016
Participant
March 18, 2016

Cool, Adwords must be coming soon ?!

Inspiring
March 15, 2016

AdWords is the best, they have biggest max file size 150kb. 140kb with using 2 libs and adding 2 libs.

And all you must change in exported html is adding ad format size meta tag within the <head> tag. For example: <meta name="ad.size" content="width=300,height=250">


And you don't include any clicktag, ads are entire ad clickable by default.

Inspiring
March 15, 2016

I dont see big problem now. Zipped CreateJS lib is around 50kb and then you have 100kb zipped for banner. Using 2 libs and adding 2 libs you can have 140kb.

Inspiring
March 15, 2016

Nothing new so far. I send them again request yesterday.

You can see anytime on Image ads - Advertising Policies Help HTML5 ads > All other HTML5 ads > Upload requirements > Google-hosted CreateJS

Participating Frequently
March 15, 2016

Any updates on this?