# Preroll Ads

Preroll ads are video ads that play before media video starts.

## How To

Configure demo preroll ads (see examples):

    var player = TOP.createAndInitPlayer({
        config : {
            ads : {
                serverBaseUrl : "//demo.v.fwmrm.net/ad/g/1",
                networkId     : 96749,
                assetId       : "DemoVideoGroup.01",
                section       : "DemoSiteGroup.01",
                profile       : "global-js"
            }
        }
    });