Skip to main content
tip
Beta SDK notice: this is a Unity Plugin 3.2.1-beta.1 version, which fully supports iAB TCFv2 and Google UMP according to Google requirements. Use this version only if you use Google Ads, otherwise use our stable version. The latest stable release is Unity Plugin 3.2.0. All changes you can check in the changelog.
Version: 3.2.1-beta.1

Event Subscription Options

Minimum Requirements:
  • Appodeal SDK 3.0.1+ UPM distribution

To further respond to your ad's behavior and track different Appodeal SDK events, you can either use our standard callbacks implementation (Interstitial, Rewarded Video, Banner, MREC, Consent Manager) or subscribe only to the necessary ones.

Compared to standard callback implementation, our new logic is simpler and more user-friendly.

You can use one of the three options below to subscribe to the desired event:

public void SomeMethod()
{
AppodealCallbacks.RewardedVideo.OnFinished += (sender, args) => { };
}
public void SomeMethod()
{
AppodealCallbacks.RewardedVideo.OnFinished += (sender, args) => OnRewardedVideoFinished(args.Amount, args.Currency);
}

private void OnRewardedVideoFinished(double amount, string currency) { }
public void SomeMethod()
{
AppodealCallbacks.RewardedVideo.OnFinished += OnRewardedVideoFinished;
}

private void OnRewardedVideoFinished(object sender, RewardedVideoFinishedEventArgs e) { }