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.
Extends Protocol: | NSObject |
Declared in: | FBInterstitialAd.h |
interstitialAd:didFailWithError:
Sent when an FBInterstitialAd failes to load an ad.
参数 | 描述 |
---|---|
interstitialAd | An FBInterstitialAd object sending the message. |
error | An error object containing details of the error. |
- (void)
interstitialAd: | (FBInterstitialAd *)interstitialAd |
didFailWithError: | (NSError *)error; |
FBInterstitialAd.h
interstitialAdDidClick:
Sent after an ad in the FBInterstitialAd object is clicked. The appropriate app store view or app browser will be launched.
参数 | 描述 |
---|---|
interstitialAd | An FBInterstitialAd object sending the message. |
- (void)
interstitialAdDidClick:(FBInterstitialAd *)interstitialAd;
FBInterstitialAd.h
interstitialAdDidClose:
Sent after an FBInterstitialAd object has been dismissed from the screen, returning control to your application.
参数 | 描述 |
---|---|
interstitialAd | An FBInterstitialAd object sending the message. |
- (void)
interstitialAdDidClose:(FBInterstitialAd *)interstitialAd;
FBInterstitialAd.h
interstitialAdDidLoad:
Sent when an FBInterstitialAd successfully loads an ad.
参数 | 描述 |
---|---|
interstitialAd | An FBInterstitialAd object sending the message. |
- (void)
interstitialAdDidLoad:(FBInterstitialAd *)interstitialAd;
FBInterstitialAd.h
interstitialAdWillClose:
Sent immediately before an FBInterstitialAd object will be dismissed from the screen.
参数 | 描述 |
---|---|
interstitialAd | An FBInterstitialAd object sending the message. |
- (void)
interstitialAdWillClose:(FBInterstitialAd *)interstitialAd;
FBInterstitialAd.h
interstitialAdWillLogImpression:
Sent immediately before the impression of an FBInterstitialAd object will be logged.
参数 | 描述 |
---|---|
interstitialAd | An FBInterstitialAd object sending the message. |
- (void)
interstitialAdWillLogImpression:(FBInterstitialAd *)interstitialAd;
FBInterstitialAd.h