• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

HTML5 from Flash CC wont work on Google Network...

Engaged ,
Oct 05, 2015 Oct 05, 2015

Copy link to clipboard

Copied

When I publish HTML5 and then add them to Google Adwords it wont go becouse Google doesnt allow downloading files from other servers, and Adobe decided to add these lines in each html file:

<script src="http://code.createjs.com/easeljs-0.8.1.min.js"></script>

<script src="http://code.createjs.com/tweenjs-0.6.1.min.js"></script>

<script src="http://code.createjs.com/movieclip-0.8.1.min.js"></script>

<script src="http://code.createjs.com/preloadjs-0.6.1.min.js"></script>

What to do now? When i uncheck hosted libraries, the libraries alone weight 165KB and google have 150KB limit for ad.

Im very close to giving up any hope for doing HTML5 in Flash CC.

Any advice?

Views

19.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Oct 23, 2015 Oct 23, 2015

I used js files from flash (these which you mentioned on the top) + some graphics and animation. 150kb is size of zipped file with all your stuff like graphics, js, html, so if you pack only flash js files it is about 47kb, you have another 100kb for your animation, graphics, html etc...

Votes

Translate

Translate
Enthusiast ,
Oct 05, 2015 Oct 05, 2015

Copy link to clipboard

Copied

Google does allow scripts from other sites, such as createjs, we use it all the time. The libraries themselevs arent very big and do not count towards your 150-200 kb space allocation.

I suggest following the HTML5 doubleClick studio walk through as a guide.

Rich Media Gallery | HTML5 Toolkit

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 05, 2015 Oct 05, 2015

Copy link to clipboard

Copied

How do they allow it, when they give me warning saying they dont allow it, and even quote that very line i posted here...

Furthermore even in specification they say:

"

Google restricts the following coded behaviors:

  • Extra calls: Ad code cannot make external server calls for additional JavaScript or other functionality. All functionality must be localized to the code itself."

And the libraries Flash CC publish when i uncheck "hosted libraries" weight ~165KB, and when you say they arent very big im not sure if you are talking about the same Flash CC html5 canvas as i do... But afaik there is only one Flash CC and i can check on m y harddrive how much these libraries weight >.<

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 05, 2015 Oct 05, 2015

Copy link to clipboard

Copied

ive uploaded html5 files before with this library reference and had them trafficked thru. I know that Ive even helped other members troubleshoot out of date createjs version references and it worked for them.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 05, 2015 Oct 05, 2015

Copy link to clipboard

Copied

Then how do you explain this? (message says what i already wrote in this thread (URl should be compatible with SSL protocole. Use URL without "http:", for example "//example.com")):

error.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 05, 2015 Oct 05, 2015

Copy link to clipboard

Copied

have you checked the most current easeljs version? 

This article may help you with Flash CC to HTML5  Flash Professional Help | Creating and publishing an HTML5 Canvas document

this may sound silly but your sure you marked the custom stage size and manually entered the specs 750x200 ? thats not a noraml ad size so youd have to specify it.

I'll keep diggin around to help out.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 05, 2015 Oct 05, 2015

Copy link to clipboard

Copied

its https://code.createjs.com/  you need "https"

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 05, 2015 Oct 05, 2015

Copy link to clipboard

Copied

Ad size doesnt matter. Made sure with other formats and its still all about those hosted libraries 😕

Tryied with https:// inseatd of http:// and still getting error - bit different:

On the right side: http://

On the left side: https://

("Your HTML5 ad is trying to reach resource that is not in ZIP file.... Only resources stored in ZIP file are allowed")

error2.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 05, 2015 Oct 05, 2015

Copy link to clipboard

Copied

is there a way you can make the files available to me to look at? Dropbox link perhaps?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 05, 2015 Oct 05, 2015

Copy link to clipboard

Copied

I would like to, but my NDAs wont allow me. However its the code on the top that adwords is picking as bad. Do you have the exact same code there (default flash CC html code) and adwords will take it?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 05, 2015 Oct 05, 2015

Copy link to clipboard

Copied

without seeing any code there is no way I can compare what I have to what you need.

I dont know if its something in your Flash file, the html code, the js code or other.

Would really like to help out but without seeing anything theres not much more I can do.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 06, 2015 Oct 06, 2015

Copy link to clipboard

Copied

Hi Mariusz,

The first issue should be fixed by using https:// instead of http:// for all the external js files files imported via script tag.

For the second error, you perhaps need to submit your exported HTML5 Canvas project after zipping it. See Below:

How to prepare HTML5 assets for DCM - DoubleClick Campaign Manager Help

-Nipun

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 06, 2015 Oct 06, 2015

Copy link to clipboard

Copied

1. If https:// is the proper beginnign of the URL why Flash CC publish http:// by default?

2. Changing it to https:// didnt help

3. Cant find anything usefull about this case in there.

4. The message im getting from google error is that you cant use anything else but what is in ZIP file.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 06, 2015 Oct 06, 2015

Copy link to clipboard

Copied

how many files are you uploading to DCM? I believe there is a limit of ten files per creative.

I know you have a NDA in place but no one can help without seeing the file your having trouble with if you truly want this solved send it over I dont see another way to get it all sorted out for you.

Have you made sure your reference libraries are using the correct version?

Can you post any code your using?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 07, 2015 Oct 07, 2015

Copy link to clipboard

Copied

Ok, i have made flash and static substitutes and they are on, so the stupid NDA is no longer in place. Here is the zip with source files. And there is a zip within the zip - the one ready for being published on Adwords. There are 2 pngs in the folder just to overwrite the bigger ones Flash is publishing in images folder (making png24 from png8). Feel free to test yourself if you can add them to adwords campaign.

Adobe Creative Cloud

Please let me know how does it work for you.

edit: Colin, yes i have tryied even that. When i do that, their error message changes to "your ad is trying to reach resource that is not in your zip file. Only resource in your zip file can be accessed".

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 07, 2015 Oct 07, 2015

Copy link to clipboard

Copied

it appears that AdWords will only accept html5 files built within Google Web Designer as of this summer. I'm guessing this may be the issue why you are getting alerts. I tried the file inside of DCM as a normal html5 banner and it worked.

Important

  • Only HTML5 ads created with Google Web Designer are supported.
  • Assets in the ZIP file can be any combination of the supported file types. See the “File types” section in this table.
  • All images used in HTML5 ads must be local images, not referenced images, and should be part of the assets that comprise the ZIP file.
  • Only tap components are supported. Videos and maps are not supported.
  • Only Google web fonts are supported. Other web fonts are not supported.
  • For environment target actions, timer and multiple exits are not supported.
  • Expandable ads are not supported.
  • Local storage methods cannot be used in HTML5 ads.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 06, 2015 Oct 06, 2015

Copy link to clipboard

Copied

Have you tried changing the hosted library address to be:

<script src="//code.createjs.com/easeljs-0.8.1.min.js"></script>

<script src="//code.createjs.com/tweenjs-0.6.1.min.js"></script>

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

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


You won't be able to test it locally. That's what the error dialog seems to be suggesting to try.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 22, 2015 Oct 22, 2015

Copy link to clipboard

Copied

Adwords accept html5 ads made in Flash CC 2015. I made 3 campaigns last week using flash cc 2015 but:

1. if you use adwords.com interface - All js scripts libraries must be included in zip file. Only DoubleClick allow external scripts.

2. You have to put: <meta name="ad.size" content="width=300,height=250"> where width and height are your ad size maually to html file generated from flash

3. Your ad must stop after 30sec. - I recommend little shorter time for ex. 28sec. - when i set 30sec in my ad google reject my ads - maybe they count load time also...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 23, 2015 Oct 23, 2015

Copy link to clipboard

Copied

And you made these html5 with no graphics whatsoever or no animation whatsoever? Becouse when you do any animation in Flash CC canvas, then the javascripts alone weight close to 150KB if you uncheck "hosted libraries" - the ad size limit in adwords (leaving you with little to none KB for graphics). So i wonder how did you manage that?

Or do you use some alternative javascript files that weight less and the html5 banner published in flash cc will work with them?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 23, 2015 Oct 23, 2015

Copy link to clipboard

Copied

I used js files from flash (these which you mentioned on the top) + some graphics and animation. 150kb is size of zipped file with all your stuff like graphics, js, html, so if you pack only flash js files it is about 47kb, you have another 100kb for your animation, graphics, html etc...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 23, 2015 Oct 23, 2015

Copy link to clipboard

Copied

Wow, its actually true. Didnt think it could decrease its size by so much! 48 out of 160 Dzięki!

P.S.

Krzysztof, actually it seems they removed the 30sec condition for html5. It was a condition for flash ads, but in html5 requirements there is not a word about animation time limit. And i have just uploaded banner that loops indefinitely with no stopping before 30th second. Its working.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 25, 2015 Oct 25, 2015

Copy link to clipboard

Copied

I thought the same because there is no info about 30 seconds limitation in their html5 specification but they reject my ads with infinite loop with: "Unacceptable length of image animation" comment.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 26, 2015 Oct 26, 2015

Copy link to clipboard

Copied

I had this bookmarked when first learning to build out html5 banners. Image ads - Advertising Policies Help

30 sec.s is max length run time on any banner, as well althougth not specified in the document there is a max 3 loop animation that can be run. This seems to be a carryover of Flash days.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 15, 2015 Dec 15, 2015

Copy link to clipboard

Copied

Falrinth wrote:

When I publish HTML5 and then add them to Google Adwords it wont go becouse Google doesnt allow downloading files from other servers, and Adobe decided to add these lines in each html file:

<script src="http://code.createjs.com/easeljs-0.8.1.min.js"></script>

<script src="http://code.createjs.com/tweenjs-0.6.1.min.js"></script>

<script src="http://code.createjs.com/movieclip-0.8.1.min.js"></script>

<script src="http://code.createjs.com/preloadjs-0.6.1.min.js"></script>

The issue is google has multiple ad platforms, one of which AdWords HAD the most stringent rules. No external links other than Google fonts. AdWords are so inexpensive an advertiser only pays per click. No impression fees.

That was THEN, I am pleased to report, this is NOW. Google is hosting the createJS files on their CDN in addition to GSAP. I am sure AdOps people were very frustrated by all the AdWords QA fails.

DoubleClick hosted JavaScript libraries - DoubleClick Creative Solutions Help

Jack Doyle of Greensock wrote: "

We just received confirmation from AdWords that GSAP is now officially supported and exempt from file size calculations! This is pretty huge news, of course, and our hat's off to Google for making this happen.

Conveniently, they're using the same CDN URLs as DoubleClick which means even better caching.

https://support.goog.../answer/6307288

At this point, every major network that we're aware of not only supports GSAP but also exempts it from file size calculations and hosts it on their CDN. This should make it a lot easier for GSAP users to build an ad once and deploy it almost anywhere."

These are the Google CDN links for createJS

//EaselJS

https://s0.2mdn.net/ads/studio/cached_libs/easeljs_0.8.1_58add2e69ca7fbe25e8f82a2b5f6a510_min.js

//Movieclip

https://s0.2mdn.net/ads/studio/cached_libs/movieclip_0.8.1_927f07f1635e6a2a1aa76e79f9decf86_min.js

//PreloadJS

https://s0.2mdn.net/ads/studio/cached_libs/preloadjs_0.6.1_ab03d7dc94f6d4fae428f99662cd5819_min.js

//TweenJS

https://s0.2mdn.net/ads/studio/cached_libs/tweenjs_0.6.1_40840f08e9fb382ae9e4a337da542ed5_min.js

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 15, 2015 Dec 15, 2015

Copy link to clipboard

Copied

I tried to upload ad with google cdn creatJS links to adwords but it seems that they still has problem with external libraries even if thay are on their CDN.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines