Pre-Roll Advertising Support

Ziggeo supports pre-roll advertising with Google Adsense and VAST.

Pre-Roll via Google Adsense Supported

  • Ziggeo supports pre-roll advertising with Google Adsense
  • Complete integration with Google Adsense
  • Simply add Google AdSense credentials for integration
  • Default mode: no advertising is shown; advertising must be first enabled for advertising to be shown.

Sample Code

First, set up your AdSense account:
var adsense = new ZiggeoApi.V2.Ads.AdSenseVideoAdProvider({
    adTagUrl: 'https://pubads.g.doubleclick.net/gampad/ads?' +
    'sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&' +
    'impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&' +
    'cust_params=deployment%3Ddevsite%26sample_ct%3Dlinear&correlator='
});
adsense.register("adsense");
Second, add your AdSense account to a player instance:
<ziggeoplayer ziggeo-video='token'
	ziggeo-adprovider='adsense'
	ziggeo-preroll>
</ziggeoplayer>

Pre-Roll via VAST Supported

  • Ziggeo is an approved add-on to Heroku (meaning Ziggeo went through a rigorous testing process)
  • Complete integration with VAST
  • Simply add VAST credentials for integration
  • Default mode: no advertising is shown; advertising must be first enabled for advertising to be shown.

Sample Code

First, set up your VAST account:
var vast = new ZiggeoApi.V2.Ads.VastVideoAdProvider({
     provider: 'adProviderName',
     adServer: 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dskippablelinear&correlator=',
     schedule : 'postRoll',
     skipAfter: 5,
     muted: true
});
vast.register("vast");
Second, add your AdSense account to a player instance:
<ziggeoplayer ziggeo-video='token'
	ziggeo-adprovider='adsense'
	ziggeo-preroll>
</ziggeoplayer>

Frequently Asked Questions

Do you support all VAST versions?
We support the most common - VAST 3.0 version at this time.
Will you be adding support for additional ad serving solutions?
We are always interested in extending our system with features that would be beneficial to our customers. Consider creating a feature request to let others upvote it and for our team to be able to see it and add it to our system.