void player_AdLinearChanged(object sender, object e)
        {
            var  vp           = sender as IVpaid;
            var  activeAdUnit = activeAds[vp];
            bool isLinear;

            try
            {
                isLinear = vp.AdLinear;
            }
            catch (Exception ex)
            {
                OnLog(new ActiveAdUnitLogEventArgs(activeAdUnit, "VPAID.AdLinear Exception: " + ex.Message));
                return;
            }
            var args = new ActiveAdUnitEventArgs(activeAdUnit);

            if (isLinear)
            {
                if (AdIsLinear != null)
                {
                    AdIsLinear(this, args);
                }
            }
            else
            {
                if (AdIsNotLinear != null)
                {
                    AdIsNotLinear(this, args);
                }
            }
        }
 void VpaidController_AdFailed(object sender, ActiveAdUnitEventArgs e)
 {
     var ad = e.ActiveAdUnit.CreativeConcept as Ad;
     if (ad != null)
     {
         foreach (var error in ad.Errors)
         {
             VpaidController.TrackErrorUrl(error, Microsoft.Media.Advertising.VpaidController.Error_Vpaid, e.ActiveAdUnit.CreativeSource);
         }
     }
 }
        void VpaidController_AdFailed(object sender, ActiveAdUnitEventArgs e)
        {
            var ad = e.ActiveAdUnit.CreativeConcept as Ad;

            if (ad != null)
            {
                foreach (var error in ad.Errors)
                {
                    VpaidController.TrackErrorUrl(error, Microsoft.Media.Advertising.VpaidController.Error_Vpaid, e.ActiveAdUnit.CreativeSource);
                }
            }
        }