Skip to main content

Get Started

Static Badge

This page describes how to import and initialize BidOn Unity Plugin.

info

Here you can find our BidOn sample project.

Minimum Requirements:
  • Unity 2021.3.0+, 2022.3.0+, 6000.0.23+
  • Android API level 23 (Android OS 6.0) and above
  • iOS 12.0 or higher (iOS 12.4 if you use MyTarget, iOS 13.0 if you use DTExchange, IronSource, Moloco, Unity, Yandex)
  • Xcode 16.4 or higher
  • CocoaPods 1.12.0 or higher
  • Git must be installed on your device

Import Plugin​

  1. Download External Dependency Manager (.tgz one) v1.2.175 or newer from this website.

  2. Import EDM into your Unity project by adding downloaded archive via Unity Package Manager (Window -> Package Manager -> "+" -> Add package from tarball).

  3. Copy the link from below and install BidOn Unity Plugin via UPM (Window -> Package Manager -> "+" -> Add package from git URL).

https://github.com/bidon-io/bidon-unity-plugin.git#v0.12.0

Initialize SDK​

Get your APP_KEY from dashboard app settings.

Add BidOn namespace to your script.

using Bidon.Mediation;

We recommend to initialize BidOn SDK on app launch in Start() method.

private void Start()
{
BidonSdk.Instance.RegisterDefaultAdapters();

// Bidon's server can either be self-hosted or managed by a third-party service. Please contact us at hi@bidon.org for a list of recommended managed service providers.
BidonSdk.Instance.SetBaseUrl("https://[YOUR_BIDON_SERVER_DOMAIN.com]");

BidonSdk.Instance.OnInitializationFinished += (sender, args) =>
{
Debug.Log($"Is Initialized: {BidonSdk.Instance.IsInitialized()}");
};
BidonSdk.Instance.Initialize("APP_KEY");
}

Configure Ad Types​