7.3.0 Integration and API Changes

As part of 7.3.0 we removed some APIs and deprecated some of our existing listeners and callbacks. You can find the detailed list of changes below:

Integration Changes when mediating ironSource network

Before 7.3.0

import com.ironsource.mediationsdk.ISDemandOnlyBannerLayout;
import com.ironsource.mediationsdk.sdk.ISDemandOnlyBannerListener;
import com.ironsource.mediationsdk.sdk.ISDemandOnlyInterstitialListener;
import com.ironsource.mediationsdk.sdk.ISDemandOnlyRewardedVideoListener;

7.3.0+

import com.ironsource.mediationsdk.demandOnly.ISDemandOnlyBannerLayout;
import com.ironsource.mediationsdk.demandOnly.ISDemandOnlyBannerListener;
import com.ironsource.mediationsdk.demandOnly.ISDemandOnlyInterstitialListener;
import com.ironsource.mediationsdk.demandOnly.ISDemandOnlyRewardedVideoListener;

API Removed from 7.3.0 APIs

Android

Deprecated class
public static void initISDemandOnly(Activity activity, String appKey, AD_UNIT… adUnits)
public static void setMediationSegment(String segment)
public static synchronized String getISDemandOnlyBiddingData()
public static void loadISDemandOnlyRewardedVideo(String instanceId)
public static void loadISDemandOnlyRewardedVideoWithAdm(String instanceId, String adm)
public static void loadISDemandOnlyInterstitial(String instanceId)
public static void loadISDemandOnlyInterstitialWithAdm(String instanceId, String adm)
public static void setImpressionDataListener(final @NotNull ImpressionDataListener listener)

iOS

Deprecated class
(void)setMediationSegment:(NSString *)segment
(void)setImpressionDataDelegate:(id<ISImpressionDataDelegate>)

Unity

Deprecated class
public void setMediationSegment(string segment)
public void loadManualRewardedVideo()

APIs to deprecate as part of 7.3.0

Android

Deprecated class New classes
RewardedVideoListener LevelPlayRewardedVideoListener
RewardedVideoManualListener LevelPlayRewardedVideoManualListener
InterstitialListener LevelPlayInterstitialListener
BannerListener LevelPlayBannerListener
Note:

When updating your listener implementation from RewardedVideoListener to LevelPlayRewardedVideoListener, use the callbacks onAdAvailable and onAdUnavailable, instead of using onRewardedVideoAvailabilityChanged.

iOS

Deprecated class New classes
ISRewardedVideoDelegate LevelPlayRewardedVideoDelegate
ISRewardedVideoManualDelegate LevelPlayRewardedVideoManualDelegate
ISInterstitialDelegate LevelPlayInterstitialDelegate
ISBannerDelegate LevelPlayBannerDelegate

Note: When updating your listener implementation from ISRewardedVideoDelegate to LevelPlayRewardedVideoDelegate, use the callbacks hasAdAvailableWithAdInfo and hasNoAvailableAd, instead of using rewardedVideoHasChangedAvailability.

Unity

Deprecated Events

IronSourceEvents.onRewardedVideoAdOpenedEvent
IronSourceEvents.onRewardedVideoAdClickedEvent
IronSourceEvents.onRewardedVideoAdClosedEvent
IronSourceEvents.onRewardedVideoAvailabilityChangedEvent
IronSourceEvents.onRewardedVideoAdStartedEvent
IronSourceEvents.onRewardedVideoAdEndedEvent
IronSourceEvents.onRewardedVideoAdRewardedEvent
IronSourceEvents.onRewardedVideoAdShowFailedEvent
IronSourceEvents.onRewardedVideoAdReadyEvent
IronSourceEvents.onRewardedVideoAdLoadFailedEvent
IronSourceEvents.onInterstitialAdReadyEvent
IronSourceEvents.onInterstitialAdLoadFailedEvent
IronSourceEvents.onInterstitialAdShowSucceededEvent
IronSourceEvents.onInterstitialAdShowFailedEvent
IronSourceEvents.onInterstitialAdClickedEvent
IronSourceEvents.onInterstitialAdOpenedEvent
IronSourceEvents.onInterstitialAdClosedEvent
IronSourceEvents.onBannerAdLoadedEvent
IronSourceEvents.onBannerAdLoadFailedEvent
IronSourceEvents.onBannerAdClickedEvent
IronSourceEvents.onBannerAdScreenPresentedEvent
IronSourceEvents.onBannerAdScreenDismissedEvent
IronSourceEvents.onBannerAdLeftApplicationEvent
Note: When updating your event implementation to IronSourceRewardedVideoEvents, use the events  onAdAvailableEvent and onAdUnavailableEvent , instead of using IronSourceEvents.onRewardedVideoAvailabilityChangedEvent.

Xamarin iOS

Deprecated class New classes
ISRewardedVideoDelegate LevelPlayRewardedVideoDelegate
ISInterstitialDelegate LevelPlayInterstitialDelegate
ISBannerDelegate LevelPlayBannerDelegate

APIs to deprecate as part of 7.3.0.1

Unity

Deprecated APIs
initISDemandOnly
showISDemandOnlyRewardedVideo
loadISDemandOnlyRewardedVideo
isISDemandOnlyRewardedVideoAvailable
loadISDemandOnlyInterstitial
showISDemandOnlyInterstitial
isISDemandOnlyInterstitialReady

Deprecated Events

IronSourceEvents.onRewardedVideoAdOpenedDemandOnlyEvent
IronSourceEvents.onRewardedVideoAdClosedDemandOnlyEvent
IronSourceEvents.onRewardedVideoAdLoadedDemandOnlyEvent
IronSourceEvents.onRewardedVideoAdRewardedDemandOnlyEvent
IronSourceEvents.onRewardedVideoAdShowFailedDemandOnlyEvent
IronSourceEvents.onRewardedVideoAdClickedDemandOnlyEvent
IronSourceEvents.onRewardedVideoAdLoadFailedDemandOnlyEvent
IronSourceEvents.onInterstitialAdReadyDemandOnlyEvent
IronSourceEvents.onInterstitialAdLoadFailedDemandOnlyEvent
IronSourceEvents.onInterstitialAdShowFailedDemandOnlyEvent
IronSourceEvents.onInterstitialAdClickedDemandOnlyEvent
IronSourceEvents.onInterstitialAdOpenedDemandOnlyEvent
IronSourceEvents.onInterstitialAdClosedDemandOnlyEvent

Xamarin Android

Deprecated class New classes
RewardedVideoListener LevelPlayRewardedVideoListener
InterstitialListener LevelPlayInterstitialListener
BannerListener LevelPlayBannerListener

Xamarin iOS

Deprecated class New classes
RewardedVideoDelegate LevelPlayRewardedVideoDelegate
InterstitialDelegate LevelPlayInterstitialDelegate
BannerDelegate LevelPlayBannerDelegate

Flutter

Deprecated class New classes
RVListener LevelPlayRewardedVideoListener
ISListener LevelPlayInterstitialListener
BNListener LevelPlayBannerListener

Adobe Air

Deprecated API

   IronSource.instance.addEventListener("onRewardedVideoAdOpened", onRewardedVideoAdOpened);
        IronSource.instance.addEventListener("onRewardedVideoAdClosed", onRewardedVideoAdClosed);
        IronSource.instance.addEventListener("onRewardedVideoAvailabilityChanged", onRewardedVideoAvailabilityChanged);
        IronSource.instance.addEventListener("onRewardedVideoAdStarted", onRewardedVideoAdStarted);
        IronSource.instance.addEventListener("onRewardedVideoAdEnded", onRewardedVideoAdEnded);
        IronSource.instance.addEventListener("onRewardedVideoAdRewarded", onRewardedVideoAdRewarded);
        IronSource.instance.addEventListener("onRewardedVideoAdShowFailed", onRewardedVideoAdShowFailed);
        IronSource.instance.addEventListener("onRewardedVideoAdClicked", onRewardedVideoAdClicked);
    IronSource.instance.addEventListener("onInterstitialAdReady", onInterstitialAdReady);
        IronSource.instance.addEventListener("onInterstitialAdLoadFailed", onInterstitialAdLoadFailed);
        IronSource.instance.addEventListener("onInterstitialAdOpened", onInterstitialAdOpened);
        IronSource.instance.addEventListener("onInterstitialAdClosed", onInterstitialAdClosed);
        IronSource.instance.addEventListener("onInterstitialAdShowSucceeded", onInterstitialAdShowSucceeded);
        IronSource.instance.addEventListener("onInterstitialAdShowFailed", onInterstitialAdShowFailed);
        IronSource.instance.addEventListener("onInterstitialAdClicked", onInterstitialAdClicked);
      IronSource.instance.addEventListener("onBannerAdLoaded", onBannerAdLoaded);
        IronSource.instance.addEventListener("onBannerAdLoadFailed", onBannerAdLoadFailed);
        IronSource.instance.addEventListener("onBannerAdClicked", onBannerAdClicked);
        IronSource.instance.addEventListener("onBannerAdScreenPresented", onBannerAdScreenPresented);
        IronSource.instance.addEventListener("onBannerAdScreenDismissed", onBannerAdScreenDismissed);
        IronSource.instance.addEventListener("onBannerAdLeftApplication", onBannerAdLeftApplication);
Deprecated APIs
showOfferwall
isOfferwallAvailable
getOfferwallCredits
setIronSourceOfferwallCustomParams

React Native

Deprecated New
RewardedVideoEvents LevelPlayRewardedVideoEvents
InterstitialEvents LevelPlayInterstitialEvents
BannerEvents LevelPlayBannerEvents