Skip to main content

Getting Started with Unity SDK

The Empower Mobile Ads SDK for Unity lets you monetize your Android and iOS game with a single C# API. Through intelligent mediation, the SDK automatically selects and serves the best ad from multiple premium networks.

The C# API is identical across platforms; the SDK bridges to the native Android and iOS SDKs under the hood.

Supported Ad Formats​

FormatDescription
BannerPersistent native overlays rendered on top of the Unity view (320x50, 320x100, 300x250, or custom).
InterstitialFull-screen ads shown at natural transition points.
RewardedFull-screen opt-in video ads that grant a reward on completion.
App OpenFull-screen ads shown when the user returns to your app.
PrerollVideo ads that play before your own video content.

Quick Start​

The minimum code to get ads running:

using UnityEngine;
using Empower.MobileAds;

public class QuickStart : MonoBehaviour
{
void Start()
{
// 1. Subscribe BEFORE Initialize so you don't miss early callbacks
EmpowerAds.OnSdkReady += () =>
{
Debug.Log("SDK ready — loading an interstitial...");
EmpowerAds.LoadInterstitialAd("YOUR_ZONE_ID");
};

EmpowerAds.OnInterstitialStatusChanged += (status, zoneId) =>
{
if (status == AdStatus.Ready)
Debug.Log("Interstitial loaded. Call ShowInterstitial() when needed.");
};

// 2. Initialize (separate identifiers for Android and iOS)
var config = new EmpowerAdsConfig(
android: "your_android_app_identifier",
iOS: "your_ios_app_identifier"
);
EmpowerAds.Initialize(config);
}

public void OnShowAdClicked()
{
EmpowerAds.ShowInterstitial("YOUR_ZONE_ID");
}
}

That is the entire flow: initialize the SDK, load an ad once the SDK is ready, and show it when appropriate.

Integration Workflow​

  1. Prerequisites — check your Unity, Android, and iOS versions.
  2. Integration — install the package and configure the native projects.
  3. Configuration — initialize the SDK, handle events and consent.
  4. Ad Types — implement Banner, Interstitial, Rewarded, App Open, and Preroll ads.

What You'll Need​

  • Your App Ad Identifier (per platform, from the Empower dashboard).
  • Zone IDs for each ad placement.

If you don't have these, contact our team to get started.