Logo of RobustHost, developer of high quality webmaster tools.
Home About Us Contact Us Support Download Products
DynAds Basic banner ad rotation and tracking script

DynAds DHTML DAG API Demo

Dynamic Ad Loading

Sometimes it may be too expensive to load all of the ads in an ad group to the browser while loading the page. For an ad group having hundreds of ads to rotate, it would take too much time to load to the browser at once (depending on the network speed). Then it would be very convenient to load an ad from the server, when it is needed. DynAds delivery engine and DAG API provide you necessary tools to load ads dynamically to the browser. In the example below, a banner is loaded from the server at every 15 seconds through cookies. The banner selection method is sequential in forward direction. Thus, the page loads much faster (no pre-loading of ads) and still displays the ads dynamically. Cookies must be enabled on your browser to see the demo running.

Of course, any ad content could be retrieved and displayed, not just banners.

This technique potentially can be used to deliver real-time content without refreshing the browser. For example, news headlines, weather reports, stock quotes... Surely you can refresh ads in more than one location. Below, there is another dynamic ad refresh example. Text ads are retrieved from the server one by one randomly at every 20 seconds.




Copyright © 2003, RobustHost.com. All Rights Reserved.