- Added overloading of
Build(Action<bool, IReadOnlyList<string>> initializationFinished)
method with the ability to get the current status of Appodeal SDK initialization (in case of failed initialization a detailed list of errors is displayed),
public void Init()
{
var adConfigWithCallback = new AdConfigAdapter.Builder(androidKey, AD_TYPES)
.WithTestMode()
.WithSafeArea()
.WithMuteVideoAd()
.Build((isSuccess, errorMessages) =>
{
Debug.Log($"[SMAI Appodeal] Appodeal SDK initialization finished with status: {isSuccess}");
if (isSuccess)
{
//Do something
}
});
}
- Added ability to disable ad networks before plugin initialization using
WithDisableAdNetwork(AppodealAdNetworks adNetwork)
and WithDisableAdNetwork(string networkName)
methods - for single disablement, and for bulk disablement you will need these methods: WithDisableAdNetwork(AppodealAdNetworks[] adNetworks)
and WithDisableAdNetwork(string[] networksNames)
,
- Added the ability to activate autocaching for all banner types using the
Cache()
method, which is also used for video ads,
- Added the ability to track the current eCPM value for each ad type using the
double GetPredictedEcpm()
method,
- Extended the capabilities of the
IVideoAdWithReward
interface by copying the functionality of the IVideoAd
interface (caching, getting the current eCPM and so on are now available).