BuzzBanner
BuzzBanner is a non-rewarded ad product that increases inventory revenue while taking the user experience into account. You can integrate BuzzBanner below Feed and the ad participation instructions page, or at any other location you choose.

Integrate BuzzBanner
Integrate below Feed and ad participation instructions
You can easily integrate BuzzBanner below Feed and the ad participation instructions page without code changes. Contact your Buzzvil representative to integrate it.
Integrate BuzzBanner at a custom location
Follow these steps to integrate BuzzBanner wherever you choose.
- Choose a BuzzBanner size.
BuzzBanner sizes
| Size | Enum |
|---|---|
| Banner 320 x 50 | BZVBannerSize.w320h50 |
| Banner 320 x 100 | BZVBannerSize.w320h100 |
| Banner dynamic | BZVBannerSize.dynamic |
- Contact your Buzzvil representative to obtain a Placement ID and Banner Size for the integration.
| ID type | Description |
|---|---|
| Placement ID | A unique ID that identifies each ad placement. The banner size must match the Placement ID for ads to be allocated and displayed correctly. |
| Banner Size | Determines the size of the displayed BuzzBanner. |
- Add
BuzzBannerViewat the desired location.
import UIKit
import BuzzAdBenefit
final class ViewController: UIViewController {
private lazy var bannerView: BZVBannerView = {
let bannerView = BZVBannerView(frame: .zero)
bannerView.setBannerAd(rootVC: self, placementId: "PLACEMENT_ID", size: .w320h50)
bannerView.delegate = self
return bannerView
}()
override func viewDidLoad() {
super.viewDidLoad()
view.addSubview(bannerView)
// ...
}
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
bannerView.requestAd()
}
override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
bannerView.removeAd()
}
}
extension ViewController: BZVBannerDelegate {
func onBannerLoaded(apid: String) {
// Banner에 광고가 할당 되었을 때 호출 됩니다.
}
func onBannerFailed(apid: String, error: BuzzAdBenefitBase.BZVBannerError) {
// Banner에 광고 할당이 실패했을 때 호출 됩니다.
}
func onBannerClicked(apid: String) {
// Banner가 클릭되었을 때 호출 됩니다.
}
func onBannerRemoved(apid: String) {
// Banner가 제거되었을 떄 호출 됩니다.
}
}
@import BuzzAdBenefit;
@interface ViewController () <BZVBannerDelegate>
@property (nonatomic, strong, readonly) BZVBannerView *bannerView;
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
_bannerView = [[BZVBannerView alloc] initWithFrame:CGRectZero];
[_bannerView setBannerAdWithRootVC:self placementId:@"PLACEMENT_ID" size:BZVBannerSizeW320h50];
// ...
}
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[_bannerView requestAd];
}
- (void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
[_bannerView removeAd];
}
#pragma mark - BZVBannerDelegate
- (void)onBannerLoadedWithApid:(NSString * _Nonnull)apid {
// Banner에 광고가 할당 되었을 때 호출 됩니다.
}
- (void)onBannerFailedWithApid:(NSString * _Nonnull)apid error:(BZVBannerError * _Nonnull)error {
// Banner에 광고 할당이 실패했을 때 호출 됩니다.
}
- (void)onBannerClickedWithApid:(NSString * _Nonnull)apid {
// Banner가 클릭되었을 때 호출 됩니다.
}
- (void)onBannerRemovedWithApid:(NSString * _Nonnull)apid {
// Banner가 제거되었을 떄 호출 됩니다.
}
@end