SASInterstitialBidderAdapterDelegate
Objective-C
@protocol SASInterstitialBidderAdapterDelegate <NSObject>Swift
protocol SASInterstitialBidderAdapterDelegate : NSObjectProtocolProtocol implemented by SASBidderAdapter’s delegate.
Use this protocol to provide information about the ad loading status or events of bidder SDK interstitials to the Smart Display SDK.
- 
                    
                    Notify the Smart Display SDK that an interstitial ad has been loaded successfully. DeclarationObjective-C - (void)interstitialBidderAdapterDidLoad: (nonnull id<SASBidderAdapterProtocol>)adapter;Swift func interstitialBidderAdapterDidLoad(_ adapter: any SASBidderAdapter)ParametersadapterThe bidder adapter. 
- 
                    
                    Notify the Smart Display SDK that an interstitial ad has failed to load. DeclarationObjective-C - (void)interstitialBidderAdapter:(nonnull id<SASBidderAdapterProtocol>)adapter didFailToLoadWithError:(nonnull NSError *)error;Swift func interstitialBidderAdapter(_ adapter: any SASBidderAdapter, didFailToLoadWithError error: any Error)ParametersadapterThe bidder adapter. errorThe error returned by the mediation SDK. 
- 
                    
                    Notify the Smart Display SDK that an interstitial ad has been displayed successfully. Warning You must call this method as soon as your ad is shown, no impression will be logged on Smart side if you don’t. DeclarationObjective-C - (void)interstitialBidderAdapterDidShow: (nonnull id<SASBidderAdapterProtocol>)adapter;Swift func interstitialBidderAdapterDidShow(_ adapter: any SASBidderAdapter)ParametersadapterThe bidder adapter. 
- 
                    
                    Notify the Smart Display SDK that an interstitial ad has failed to show. Note Since this error will always happen after a successful loading, calling this delegate will simply forward the error to the app. DeclarationObjective-C - (void)interstitialBidderAdapter:(nonnull id<SASBidderAdapterProtocol>)adapter didFailToShowWithError:(nonnull NSError *)error;Swift func interstitialBidderAdapter(_ adapter: any SASBidderAdapter, didFailToShowWithError error: any Error)ParametersadapterThe bidder adapter. errorThe error returned by the bidder SDK. 
- 
                    
                    Notify the Smart Display SDK that an interstitial ad will present a modal view, for instance after a click. DeclarationObjective-C - (void)interstitialBidderAdapterWillPresentModalView: (nonnull id<SASBidderAdapterProtocol>)adapter;Swift func interstitialBidderAdapterWillPresentModalView(_ adapter: any SASBidderAdapter)ParametersadapterThe bidder adapter. 
- 
                    
                    Notify the Smart Display SDK that an interstitial ad will dismiss a modal view, for instance a post click modal view that was open before. DeclarationObjective-C - (void)interstitialBidderAdapterWillDismissModalView: (nonnull id<SASBidderAdapterProtocol>)adapter;Swift func interstitialBidderAdapterWillDismissModalView(_ adapter: any SASBidderAdapter)ParametersadapterThe bidder adapter. 
- 
                    
                    Notify the Smart Display SDK that an interstitial has sent a click event. DeclarationObjective-C - (void)interstitialBidderAdapterDidReceiveAdClickedEvent: (nonnull id<SASBidderAdapterProtocol>)adapter;Swift func interstitialBidderAdapterDidReceiveAdClickedEvent(_ adapter: any SASBidderAdapter)ParametersadapterThe bidder adapter. 
- 
                    
                    Notify the Smart Display SDK that the currently displayed interstitial has been closed. DeclarationObjective-C - (void)interstitialBidderAdapterDidClose: (nonnull id<SASBidderAdapterProtocol>)adapter;Swift func interstitialBidderAdapterDidClose(_ adapter: any SASBidderAdapter)ParametersadapterThe bidder adapter. 
