9.0.0 API Changes

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

APIs removed from 9.0.0 for iOS

Init

Legacy – deprecated New
Class IronSource LevelPlay
API initWithAppKey initWithRequest
setUserID Should be set as part of LPMInitRequestBuilder
Callback onInitializationComplete completion
Listener InitializationListener LevelPlayInitListener

 

Rewarded 

Legacy – deprecated New (Ad Unit Level LPMRewardedAd) 
Class LevelPlayRewardedVideoDelegate
LevelPlayRewardedVideoManualDelegate
LevelPlayRewardedVideoBaseDelegate
Listener setLevelPlayRewardedVideoDelegate setDelegate
setLevelPlayRewardedVideoManualDelegate setDelegate
API showRewardedVideoWithViewController showAdWithViewController
hasRewardedVideo isAdReady
isRewardedVideoCappedForPlacement isPlacementCapped
loadRewardedVideo loadAd

 

Interstitial 

Legacy – deprecated New (Ad Unit Level LevelPlayInterstitialAd)
Listener LevelPlayInterstitialDelegate LPMInterstitialAdDelegate
Callback
API setLevelPlayInterstitialDelegate setDelegate
loadInterstitial loadAd
showInterstitialWithViewController showAdWithViewController
hasInterstitial isAdReady
isInterstitialCappedForPlacement isPlacementCapped

 

Banners 

Legacy – deprecated New (Ad Unit Level LPMBannerAdView)
Banner Ad View ISBannerView LPMBannerAdView
Delegate LevelPlayBannerDelegate LPMBannerAdViewDelegate
Events didLoad didLoadAdWithAdInfo
didFailToLoadWithError didFailToLoadAdWithAdUnitId
didClickWithAdInfo didClickAdWithAdInfo
didPresentScreenWithAdInfo didExpandAdWithAdInfo
didDismissScreenWithAdInfo didCollapseAdWithAdInfo
didLeaveApplicationWithAdInfo didLeaveAppWithAdInfo
API setLevelPlayBannerDelegate setDelegate
loadBannerWithViewController loadAdWithViewController
destroyBanner destroy
ISBannerSize

 

Legacy Ad Unit (new) Dimensions in dp
ISBannerSize LPMAdSize (Width X Height)
ISBannerSize_BANNER bannerSize 320 x 50
ISBannerSize_LARGE largeSize 320 x 90
ISBannerSize_RECTANGLE mediumRectangleSize 300 x 250
ISBannerSize_SMART Replaced by Adaptive Ad Size (see below) Automatically renders ads to adjust size and orientation for mobile & tablets

 

Settings

Legacy – deprecated New
API IronSource.setConsent LevelPlay.setConsent
IronSource.launchTestSuite LevelPlay.launchTestSuite
IronSource.setWaterfallConfiguration

LPMBannerAdView initWithAdUnitId:config:

LPMInterstitialAd initWithAdUnitId:config:

LPMRewardedAd initWithAdUnitId:config:

IronSource.validateIntegration LevelPlay.validateIntegration
IronSource.sdkVersion LevelPlay.sdkVersion
IronSource.setAdaptersDebug LevelPlay.setAdaptersDebug
IronSource.setDynamicUserId LevelPlay.setDynamicUserId
IronSource.setSegment LevelPlay.setSegment
IronSource.setMetaDataWithKey LevelPlay.setMetaDataWithKey
IronSource.setNetworkDataWithNetworkKey LevelPlay.setNetworkDataWithNetworkKey
IronSource.shouldTrackReachability
IronSource.advertiserId
IronSource.setSegmentDelegate
IronSource.rewardedVideoPlacementInfo
IronSource.setRewardedVideoServerParameters
IronSource.clearRewardedVideoServerParameters
IronSource.isBannerCappedForPlacement
IronSource.setLogDelegate
IronSource.setConsentViewWithDelegate
IronSource.loadConsentViewWithType
IronSource.showConsentViewWithViewController
IronSource.getConversionValue
ISSupersonicAdsConfiguration.setUseClientSideCallbacks
Class ISSegment
ISWaterfallConfiguration
ISImpressionData
ISSegmentDelegate
ISPlacementInfo
ISLogDelegate
ISConsentViewDelegate
ISAdUnit
ISContainerParams
ISEventsReporting
SupersonicLogManager
Listener IronSource.addImpressionDataDelegate LevelPlay.addImpressionDataDelegate
IronSource.removeImpressionDataDelegate LevelPlay.removeImpressionDataDelegate
ISImpressionDataDelegate LevelPlay.addImpressionDataDelegate
ISInitializationDelegate