Publishers that are not using a 3rd party ad server (such as DFP) can have ServerBid call a unified auction, and serve the winning ad. This is achieved with a block of code that calls the auction in the 'head' section of the page, and a 'div' that loads the winning ad in the 'body' section of the page.

1. Provide Your Placement Info

Provide the parameters for the placements and demand partners you wish to access through ServerBid by entering them into our UI.

2. Paste Auction Code into Header

Once we have processed your placements, we will provide you with a block of code to place in the <head> section of the site, on the pages where you want ads to render. The code will look something like:


HTML
<script type="text/javascript">
 var protocol = document.location.protocol == "https:" ? "https" : "http";
 var z = document.createElement("script");
 z.type = "text/javascript";
 z.src = protocol + "://static.adzerk.net/ados.js";
 z.async = true;
 var s = document.getElementsByTagName("script")[0];
 s.parentNode.insertBefore(z,s);
</script>
<script type="text/javascript">
 var ados = ados || {};
 ados.run = ados.run || [];
 ados.run.push(function() {
     /* load placement for account: serverbid, site: Example Site, size: 160x600 - Wide Skyscraper, zone: Example_160*600 */
     ados_add_placement(9969, 1014456, "azk45606", 6).setZone(187788);
     /* load placement for account: serverbid, site: Example Site, size: 300x250 - Medium Rectangle, zone: Example_300*250 */
     ados_add_placement(9969, 1014456, "azk65371", 5).setZone(183768);
  ados_load();
 });
</script>

3. Paste Ad Divs into Body

Use 'divs' to identify where you want the winning ad units from your auction code to render on the page. Name the 'div' with the corresponding ad placement name (starts with 'azk**') as follows:


HTML
<div id="azk65371"></div>