The MVP Unity Developer Hub

Welcome to the MVP Unity developer hub. You'll find comprehensive guides and documentation to help you start working with MVP Unity as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    


Banners are rectangle ads appearing either at the top or bottom of the screen when the user interacts with your app. The user can view them but cannot dismiss them.

Banners are automatically refreshed by the FairBid SDK after a specified period of time.



The FairBid SDK refreshes banners automatically. To avoid discrepancies with Fyber's and 3rd-party network's reporting, any automatic or manual banner refresh settings on 3rd-party network SDKs must be disabled.

Making an Ad Request

Banner sizes must be configured before they are shown. Once you have set the required size, you must make a request to show the banner.

Implement the code below to make an Ad Request:

string placementId = "1234";

Providing banner position

You can show your banner at the top or bottom of your screen. By default, the banner will be placed at the bottom of the screen.
If you want to change this behavior, use the following code:

string placementId = "1234";
BannerOptions bannerOptions = new BannerOptions();
Banner.Show(placementId, bannerOptions);

Destroying the Banner

Once you have decided that you no longer want to use the banner, you must destroy it.

To destroy the banner, implement the code below:

string placementId = "1234";

Adding Callbacks

The callback code below is required for the SDK to properly track the activity of your ad:

public class MyBannerListener : BannerListener
    public void OnError(string placementId, string error)
        // Called when an error from placement 'placementId' arises when loading an ad

    public void OnLoad(string placementId)
        // Called when an ad from placement 'placementId' is loaded

    public void OnShow(string placementId, ImpressionData impressionData)
        // Called when banner from placement 'placementId' shows up
    public void OnClick(string placementId)
        // Called when banner from placement 'placementId' is clicked
    public void OnRequestStart(string placementId)
        // Called when a banner from placement 'placementId' is going to be requested

Banner.SetBannerListener(new MyBannerListener());

Updated 3 months ago


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.