Jump to content

TerrenceLP

Approved members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by TerrenceLP

  1. I too went through all of this and then I figured out it was the VAST version incompatibility with the Google IMA sdk.
    Install a VAST 2.0 compliant plugin and all works again with all the popular ad networks.

    I'm using latest VideoJs and IMA VAST plugin https://github.com/googleads/videojs-ima 

    Below is how I load up my advertisers, adtagurl would be your revive server if you can serve VAST 2.0 compliant ads.

    var player = videojs('content_video');
     
    var options = {
    id: 'content_video',
    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%3Dskippablelinear&correlator='
    };
     
    player.ima(options);
    // On mobile devices, you must call initializeAdDisplayContainer as the result
    // of a user action (e.g. button click). If you do not make this call, the SDK
    // will make it for you, but not as the result of a user action. For more info
    // see our examples, all of which are set up to work on mobile devices.
    // player.ima.initializeAdDisplayContainer();
×
×
  • Create New...