Appearance
Banner delegation
Conform to the RingierAdBannerViewDelegate protocol to receive notifications about the ad's lifecycle. This is essential for handling successful loads, errors, and empty responses.
Ad Loaded Successfully:
swift
func bannerViewAdLoaded(_ view: RingierAdBannerView) {
print("Banner view has finished loading ad successfully")
}No Fill:
swift
func bannerViewAdEmpty(_ view: RingierAdBannerView, willWaterfall: Bool, willRefresh: Bool) {
print("Banner view has finished loading ad with no fill")
}Ad Loading Failed:
swift
func bannerViewAdFailed(_ view: RingierAdBannerView, error: Error, willWaterfall: Bool, willRefresh: Bool) {
print("Banner view has finished loading ad with error: \(error)")
}
