Skip to content
:docs

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.

  1. Choose a BuzzBanner size.

BuzzBanner sizes

SizeEnum
Banner 320 x 50BuzzBannerSize.w320h50
Banner 320 x 100BuzzBannerSize.w320h100
Banner dynamicBuzzBannerSize.dynamic
Banner 300 x 250BuzzBannerSize.w300h250
  1. Contact your Buzzvil representative to obtain a Placement ID and Banner Size for the integration.
ID typeDescription
Placement IdA unique ID that identifies each ad placement. The banner size must match the PlacementId for ads to be allocated and displayed correctly.
Banner SizeDetermines the size of the displayed BuzzBanner.
  1. Add BuzzBannerView at the desired location.
Swift
import UIKit
import BuzzvilSDK

final class ViewController: UIViewController {
  private lazy var bannerView: BuzzBannerView = {
    let bannerView = BuzzBannerView(frame: .zero)
    bannerView.delegate = self
    return bannerView
  }()

  override func viewDidLoad() {
    super.viewDidLoad()

    let config = BuzzBannerConfig.Builder(placementId: "YOUR_PLACEMENT_ID")
      .setSize(.w320h50)
      .build()
    bannerView.setConfig(rootViewController: self, config: config)

    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: BuzzBannerViewDelegate {
  func bannerView(_ bannerView: BuzzBannerView, didLoadApid: String) {
    // Banner에 광고가 할당 되었을 때 호출 됩니다.
  }
  
  func bannerView(_ bannerView: BuzzBannerView, didFailApid: String, error: Error) {
    // Banner에 광고 할당이 실패했을 때 호출 됩니다.
  }
  
  func bannerView(_ bannerView: BuzzBannerView, didClickApid: String) {
    // Banner가 클릭되었을 때 호출 됩니다.
  }
  
  func bannerView(_ bannerView: BuzzBannerView, didRemoveApid: String) {
    // Banner가 제거되었을 떄 호출 됩니다.
  }
}

Integrate additional ADNs to increase BuzzBanner revenue

This section explains how to integrate additional ad networks to maximize BuzzBanner revenue.

AdFit (Kakao)

  1. Download the Adapter and add the files in the adfit directory to your application project.

  2. Add the AdFit dependency to Podfile.

Code
pod 'AdFitSDK', '= 3.18.3'
  1. No separate initialization code is required.

GAM (Google AdMob)

  1. Download the Adapter and add the files in the admob directory to your application project.

  2. Add the GAM SDK dependency to Podfile.

Code
pod 'Google-Mobile-Ads-SDK', '= 12.14.0'
  1. Call the initialization code below.
Swift
import GoogleMobileAds

GADMobileAds.sharedInstance().start(completionHandler: nil)

AppLovin

  1. Download the Adapter and add the files in the applovin directory to your application project.

  2. Add the AppLovin SDK dependency to Podfile.

Code
pod 'AppLovinSDK', '= 13.5.1'
  1. Contact your Buzzvil representative at help@buzzvil.com to obtain an integration key.

  2. Call the initialization code below.

Swift
import AppLovinSDK

let initConfig = ALSdkInitializationConfiguration(sdkKey: "YOUR_APPLOVIN_SDK_KEY") { builder in
  builder.mediationProvider = ALMediationProviderMAX
}
ALSdk.shared().initialize(with: initConfig) { sdkConfig in }

Cauly

  1. Download the Adapter and add CaulyAdapter.h and CaulyAdapter.m from the cauly directory to your application project.

  2. Add the Cauly SDK dependency to Podfile.

Code
pod 'CaulySDK', :git => 'https://github.com/cauly/CaulySDK_iOS.git', :tag => '3.1.22'
  1. Contact your Buzzvil representative at help@buzzvil.com to obtain an integration key.

  2. Call the initialization code below.

Swift
import CaulySDK

if let adSetting = CaulyAdSetting.global() {
  CaulyAdSetting.setLogLevel(CaulyLogLevelInfo)
  adSetting.appId = "YOUR_CAULY_APP_ID"
  adSetting.appCode = "YOUR_CAULY_APP_CODE"
  adSetting.animType = CaulyAnimNone
  adSetting.closeOnLanding = true
} else {
  print("Cauly failed")
}

FAN (Facebook Audience Network)

  1. Download the Adapter and add the files in the facebook directory to your application project.

  2. Add the FAN SDK dependency to Podfile.

Code
pod 'FBAudienceNetwork', '= 6.21.0'
  1. No separate initialization code is required.

Pangle

  1. Download the Adapter and add the files in the pangle directory to your application project.

  2. Add the Pangle SDK dependency to Podfile.

Code
pod 'Ads-Global', '= 7.8.0.3'
  1. Contact your Buzzvil representative at help@buzzvil.com to obtain an integration key.

  2. Call the initialization code below.

Swift
import PAGAdSDK

let config = PAGConfig.share()
config.appID = "YOUR_PANGLE_APP_ID"
PAGSdk.start(with: config) { success, error in
  if success {
    print("Pangle succeed")
  }
}

UnityAds

  1. Download the Adapter and add the files in the unityads directory to your application project.

  2. Add the UnityAds SDK dependency to Podfile.

Code
pod 'UnityAds', '= 4.16.4'
  1. No separate initialization code is required.

Vungle

  1. Download the Adapter and add the files in the vungle directory to your application project.

  2. Add the Vungle SDK dependency to Podfile.

Code
pod 'VungleAds', '= 7.6.2'
  1. Contact your Buzzvil representative at help@buzzvil.com to obtain an integration key.

  2. Call the initialization code below.

Swift
import VungleAdsSDK

VungleAds.initWithAppId("YOUR_VUNGLE_APP_ID") { error in
  if let error = error {
    print("Vungle failed")
  } else {
    print("Vungle succeed")
  }
}