Instance Property
shouldLoadAdItem
Callback that will be called once for every AdItem shortly before it would start loading. If true is returned, the AdItem will be scheduled for loading and playback. If false is returned, the AdItem will be discarded and removed from the ad schedule.
var shouldLoadAdItem: (AdItem) -> Bool
Discussion
Default is to load all ad items.
Relation to other Ad-Filtering callbacks
Together these three callbacks define the ad-filtering pipeline:
Load-time (shouldLoadAdItem)
Seek-time (shouldPlaySeekedOverAdItems)
Play-time (shouldPlayAdItem)