public ActiveCreative GetNonLinearCreative(VASTADInLine InlineAd, VASTADInLineCreativeNonLinearAds nonLinears, NonLinear_type nl, IAdSource AdSource)
 {
     var PayloadSource = new NonLinearSource(InlineAd, nonLinears, nl);
     //get the target. In this case because it is a nonlinear ad, it will aways be the player's main adcontainer
     IAdTarget target = VastAdHandler.FindTarget(AdSource, PayloadSource);
     if (target == null)
     {
         return null;
     }
     else
     {
         return GetNonLinearCreative(PayloadSource, target);
     }
 }
        public ActiveCreative GetNonLinearCreative(VASTADInLine InlineAd, VASTADInLineCreativeNonLinearAds nonLinears, NonLinear_type nl, IAdSource AdSource)
        {
            var PayloadSource = new NonLinearSource(InlineAd, nonLinears, nl);
            //get the target. In this case because it is a nonlinear ad, it will aways be the player's main adcontainer
            IAdTarget target = VastAdHandler.FindTarget(AdSource, PayloadSource);

            if (target == null)
            {
                return(null);
            }
            else
            {
                return(GetNonLinearCreative(PayloadSource, target));
            }
        }