Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Web Designer has a very long load time

I'm creating an html5 banner using Google Web Designer. I've created the banner and published it. When I view the published version I noticed that it takes sometime to load.

Someone else on my team is also creating HTML5 banners. The banner that he creates loads instantly even though its a larger file size. We compared our files and other than the actual assets, the way the banner was created and published is the same.

Does anyone have any ideas why this might be happening?

like image 595
michelle Avatar asked Dec 05 '22 02:12

michelle


2 Answers

GWD add this code at the end of the banner and animation show up immediately:

<script data-exports-type="dclk-quick-preview">studio.Enabler.setRushSimulatedLocalEvents(true);</script>
like image 64
Ollatair Avatar answered Dec 25 '22 18:12

Ollatair


Which environment are you using? When creating a new project in GWD you are able to select an environment. By default is DoubleClick.

This adds additional file (in the case of DoubleClick, the Enabler library). If you open your Chrome console, while running the banner, you will see that the banner is not initialized until the enabler is available. You will also see how much time it takes to load the enabler.

If your colleague is creating a banner without that library, or without correctly listening to the event Enabler.initialized, this may be the main reason for the discrepancy.

If you don't want to include this additional library (that is used to integrate your banner in DoubleClick Studio), just select Generic from the environments dropdown.

There is also another reason that may cause the delay, and is the PoliteLoader.

You can select to politeLoad the banner from the Publish menu. If the PoliteLoader is selected this cause the banner to be initialized only after the page is fully loaded. This may cause delays compared to a non polite loaded ads.

like image 32
Snick Avatar answered Dec 25 '22 20:12

Snick