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); } }
internal NonLinearVastCreative(NonLinear_type NonLinear, VASTADInLineCreative Creative, VastCreativeSet Parent) : base(Creative, Parent) { this.NonLinear = NonLinear; }
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)); } }