Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

HELP! Error Google Ads

Recommended Posts

I've create in Animation 2020 some HTML banners for google Ads.
Than when I do the upload it it doesnt work.

How can I fiz it?


Screenshot 2020-07-13 at 17.45.40.png

Link to post
Share on other sites

Hey Ricardo and welcome to the GreenSock forums. CreateJS is not a GreenSock tool and we don't support it here. But even so, there's no way that we can help using the information that you've provided. If you'd like help, please provide a way for us to recreate the error.

Link to post
Share on other sites

Ah ok. soory I didin't knew ...


I have my animation file and the html and js file in one folder.
and when I upload the zip file to google ads the message said that : 

Your HTML5 ad is trying to reference a resource external to the .ZIP file: https://code.createjs.com/1.0.0/createjs.min.js. Only internal file references are allowed (for example, "path / to / asset / in-zip.png").

<meta name="ad.size" content="width=120,height=600">
<meta name="authoring-tool" content="Adobe_Animate_CC">
<!-- write your code here -->
<script src="https://code.createjs.com/1.0.0/createjs.min.js"></script>
<script src="index.js"></script>
var canvas, stage, exportRoot, anim_container, dom_overlay_container, fnStartAnimation;
function init() {
    canvas = document.getElementById("canvas");
    anim_container = document.getElementById("animation_container");
    dom_overlay_container = document.getElementById("dom_overlay_container");
    var comp=AdobeAn.getComposition("2CD73DF3FC134BF0913FBBFE2DD86EC6");
    var lib=comp.getLibrary();
    var loader = new createjs.LoadQueue(false);
    loader.addEventListener("fileload", function(evt){handleFileLoad(evt,comp)});
    loader.addEventListener("complete", function(evt){handleComplete(evt,comp)});
    var lib=comp.getLibrary();

Can you help me?


Link to post
Share on other sites

Try using Google's CDN instead >

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

...and if that doesn't work, you can always embed the createjs library into the HTML (just copy and paste all of the javascript code from that link  into its own <script> tag.

  • Like 1
Link to post
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.