# Ad Banners

Hubs can be configured to support ad banners across various page templates.&#x20;

{% hint style="info" %}
Please [contact support](https://docs.wavecast.io/start-here#contact-support) if you require assistance with configuration.&#x20;
{% endhint %}

## Supported advertising banners

The following dimensions of ad banner are supported.

<table><thead><tr><th width="237">Name</th><th width="277">Position</th><th>Dimensions (pixel)</th></tr></thead><tbody><tr><td>Leaderboard (Header)</td><td>Above the header on any page. </td><td>728 x 90</td></tr><tr><td>Leaderboard (Footer)</td><td>Above the footer on any page. </td><td>728 x 90</td></tr><tr><td>Medium Rectangle</td><td>In the sidebar. </td><td>300 x 250</td></tr><tr><td>Large Skyscraper</td><td>In the sidebar. </td><td>300 x 600</td></tr></tbody></table>

## **Banner previews**

The red rectangle on the following screenshots indicates where banners appear.&#x20;

### **Leaderboard (Header)**&#x20;

Available on all pages above the header.&#x20;

<figure><img src="https://45522127-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS512VHdqGC4MSzdDrKgr%2Fuploads%2F1NKaLoUPpMJKefSsmGKL%2FScreenshot%202023-11-30%20at%2014.23.33.png?alt=media&#x26;token=c3c7ad56-0ec5-4cdd-9bc0-c38f2b91b45c" alt=""><figcaption></figcaption></figure>

### **Leaderboard (Footer)**

Available on all pages at the bottom of the page, above the footer

<figure><img src="https://45522127-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS512VHdqGC4MSzdDrKgr%2Fuploads%2FkBdcoy4mweLn7BA3skSG%2FScreenshot%202023-11-30%20at%2014.25.54.png?alt=media&#x26;token=c2df4b91-8d52-404a-82e4-535db12c7a52" alt=""><figcaption></figcaption></figure>

### **Medium Rectangle & Large Skyscraper**&#x20;

Only available on page templates that contain a sidebar.

<figure><img src="https://45522127-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS512VHdqGC4MSzdDrKgr%2Fuploads%2FT0e0oDt9PLVfnQ4YyDkg%2FScreenshot%202023-11-30%20at%2014.32.34.png?alt=media&#x26;token=19dc6685-bd28-4016-876d-7bb69456a5ed" alt=""><figcaption></figcaption></figure>

## Ad server code

A snippet of code is required to link the ad placements to your ad server.&#x20;

Here is a sample code of the code for the **Medium Rectangle (300x250 pixels) or Large Skyscraper (300x600 pixels)** ad unit.

```
<script async data-cookieconsent="necessary" src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>

<script data-cookieconsent="marketing">
  window.googletag = window.googletag || {cmd: []};
  googletag.cmd.push(function() {
    googletag.defineSlot('/5748/scm.main', [[300, 250], [300, 600]], 'r1301').setTargeting('adloc', ['r1301']).addService(googletag.pubads());
    googletag.pubads().enableSingleRequest();
    googletag.enableServices();
  });
</script>

<!-- /5748/scm.main -->
<div id='r1301'>
	<script>
	  googletag.cmd.push(function() { googletag.display('r1301'); });
	</script>
	</div>
```
