Skip to main content
Version: SDK 6.0.x

Integrate with Unity Ads

If you use Unity Ads, you can automatically track Advertisement revenue from Impressions with justtrack SDK.

Before you begin

Please review the following compatibility matrix to make sure you're using compatible versions:

justtrack SDKUnity Ads SDK
6.0.0+4.x

Integrate with Unity Ads

  1. In the Unity Editor, navigate to the justtrack SDK configuration prefab.
  2. In the Android and/or iOS sections, enable Add Unity Ads Adapter. This adds the Unity Ads adapter to your project for the respective platforms.
  3. Call the integration method in your code:
using JustTrack;

// Call this after SDK initialization
JustTrackSDK.IntegrateWithUnityAds(
pOnSuccess: () => {
Debug.Log("Unity Ads integration successful");
},
pOnFailure: (error) => {
Debug.LogError($"Unity Ads integration failed: {error}");
}
);