iOS SDK Version
FBInterstitialAdDelegate
Objective-C
@protocolFBInterstitialAdDelegate<NSObject>
Swift
protocolFBInterstitialAdDelegate:NSObjectProtocol
The methods declared by the FBInterstitialAdDelegate protocol allow the adopting delegate to respond to messages from the FBInterstitialAd class and thus respond to operations such as whether the interstitial ad has been loaded, user has clicked or closed the interstitial.
- Sent after an ad in the FBInterstitialAd object is clicked. The appropriate app store view or app browser will be launched.
Declaration
Objective-C-(void)interstitialAdDidClick:(nonnullFBInterstitialAd*)interstitialAd;
SwiftoptionalfuncinterstitialAdDidClick(_interstitialAd:FBInterstitialAd)
Parameters
- Sent after an FBInterstitialAd object has been dismissed from the screen, returning control to your application.
Declaration
Objective-C-(void)interstitialAdDidClose:(nonnullFBInterstitialAd*)interstitialAd;
SwiftoptionalfuncinterstitialAdDidClose(_interstitialAd:FBInterstitialAd)
Parameters
- Sent immediately before an FBInterstitialAd object will be dismissed from the screen.
Declaration
Objective-C-(void)interstitialAdWillClose:(nonnullFBInterstitialAd*)interstitialAd;
SwiftoptionalfuncinterstitialAdWillClose(_interstitialAd:FBInterstitialAd)
Parameters
- Sent when an FBInterstitialAd successfully loads an ad.
Declaration
Objective-C-(void)interstitialAdDidLoad:(nonnullFBInterstitialAd*)interstitialAd;
SwiftoptionalfuncinterstitialAdDidLoad(_interstitialAd:FBInterstitialAd)
Parameters
- Sent when an FBInterstitialAd failes to load an ad.
Declaration
Objective-C-(void)interstitialAd:(nonnullFBInterstitialAd*)interstitialAddidFailWithError:(nonnullNSError*)error;
SwiftoptionalfuncinterstitialAd(_interstitialAd:FBInterstitialAd,didFailWithErrorerror:Error)
Parameters
- Sent immediately before the impression of an FBInterstitialAd object will be logged.
Declaration
Objective-C-(void)interstitialAdWillLogImpression:(nonnullFBInterstitialAd*)interstitialAd;
SwiftoptionalfuncinterstitialAdWillLogImpression(_interstitialAd:FBInterstitialAd)
Parameters