> For the complete documentation index, see [llms.txt](https://docs.wavecast.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wavecast.io/publishing/ad-banners.md).

# Ad Banners

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

{% hint style="info" %}
Please [contact support](/start-here.md#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="/files/LGbxh386tRrjTVuAMRvo" alt=""><figcaption></figcaption></figure>

### **Leaderboard (Footer)**

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

<figure><img src="/files/uzUim1Pxce3rBnu7CCSJ" alt=""><figcaption></figcaption></figure>

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

Only available on page templates that contain a sidebar.

<figure><img src="/files/LuphmP00NN8QPM2QHrUt" 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>
```
