Banner Ads
To load a banner, create a BIDBannerView
and add it as a subview of your view hierarchy.
You can create banners of either 320x50 or 300x250 size:
Implement BIDBannerViewDelegate
so that you are notified of when your ad is ready and of other ad-related events.
Stopping and Starting Auto-Refresh
There may be cases when you would like to stop auto-refresh, for instance, when you hide a banner ad or want to manually refresh.
Stop auto-refresh for a banner ad with the following code:
Start auto-refresh for a banner ad with the following code:
Manually refresh the contents with the following code. You must stop auto-refresh prior to calling refreshAd
.
Stopping and Starting Auto-Load
By default, banners preload ads before any refresh attempt. So it is possible for a banner to use already preloaded ads instead of loading new ads during refresh attempts. To disable this feature you need to call the following method:
Last updated
Was this helpful?