POBBannerViewDelegate Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | POBBannerView.h |
Overview
Protocol for interaction with the POBBannerView instance.
All messages are guaranteed to occur on the main thread.
Methods
– bannerViewPresentationController
required method
Asks the delegate for a view controller instance to use for presenting modal views as a result of user interaction on an ad. Usual implementation may simply return self, if it is a view controller class.
- (UIViewController *)bannerViewPresentationControllerDeclared In
POBBannerView.h
– bannerViewDidReceiveAd:
Notifies the delegate that an ad has been successfully loaded and rendered..
- (void)bannerViewDidReceiveAd:(POBBannerView *)bannerViewParameters
bannerView |
The POBBannerView instance sending the message. |
|---|
Declared In
POBBannerView.h
– bannerView:didFailToReceiveAdWithError:
Notifies the delegate of an error encountered while loading or rendering an ad.
- (void)bannerView:(POBBannerView *)bannerView didFailToReceiveAdWithError:(NSError *)errorParameters
bannerView |
The POBBannerView instance sending the message. |
|---|---|
error |
The error encountered while attempting to receive or render the ad. |
Declared In
POBBannerView.h
– bannerViewWillLeaveApplication:
Notifies the delegate whenever current app goes in the background due to user click.
- (void)bannerViewWillLeaveApplication:(POBBannerView *)bannerViewParameters
bannerView |
The POBBannerView instance sending the message. |
|---|
Declared In
POBBannerView.h
– bannerViewWillPresentModal:
Notifies delegate that the banner view will launch a modal on top of the current view controller, as a result of user interaction.
- (void)bannerViewWillPresentModal:(POBBannerView *)bannerViewParameters
bannerView |
The POBBannerView instance sending the message. |
|---|
Declared In
POBBannerView.h
– bannerViewDidDismissModal:
Notifies delegate that the banner view has dismissed the modal on top of the current view controller.
- (void)bannerViewDidDismissModal:(POBBannerView *)bannerViewParameters
bannerView |
The POBBannerView instance sending the message. |
|---|
Declared In
POBBannerView.h
– bannerViewDidClickAd:
Notifies the delegate that the banner view was clicked.
- (void)bannerViewDidClickAd:(POBBannerView *)bannerViewParameters
bannerView |
The POBBannerView instance sending the message. |
|---|
Declared In
POBBannerView.h
– bannerViewDidRecordImpression:
Notifies the delegate that the banner ad has recorded the impression.
- (void)bannerViewDidRecordImpression:(POBBannerView *)bannerViewParameters
bannerView |
The POBBannerView instance sending the message. |
|---|
Declared In
POBBannerView.h
– bannerView:willChangeAdSizeTo:
Notifies the delegate that the banner view is about to change the rendered ad size. This will only happen in case of GAM header bidding and This API will be available from OpenWrapSDK version 4.10.0
- (void)bannerView:(POBBannerView *)bannerView willChangeAdSizeTo:(POBAdSize *)sizeParameters
bannerView |
The POBBannerView instance sending the message. |
|---|---|
size |
The new ad size that the banner will adopt. |
Discussion
Notifies the delegate that the banner view is about to change the rendered ad size. This will only happen in case of GAM header bidding and This API will be available from OpenWrapSDK version 4.10.0
Declared In
POBBannerView.h