Version 2.8.1
Dependencies
Features
- Added new property
AdMetaData.creativeIdentifier
to get the creative id tied to the ad, if available.You can report creative issues to our Ad review team using this id.
- Added new property
AdMetaData.identifier
to get internal demand source name in CAS database. - Added feature to link your CAS app to Google Analytics to automatic measurement of ad revenue. Read more on our wiki page.(beta)
- Added new
AdError.Configuration
when configuration error has been detected in one of the mediation ad networks. - Added new
CAS.MobileAds.BuildManager().WithUserID(userID)
to set user id. The userID is a unique identifier supplied by your application and must be static for each user across sessions. - Improved initialization performance.
- [Android] All events from the native CAS SDK are called on a Background Thread instead of the Android UI Thread to avoid ANRs on unity reflection.
Use the
MobileAds.settings.isExecuteEventsOnUnityThread
for all events orEventExecutor.Add()
for each event to switch to the Unity Thread. - [Android] The Banner position inside the container now depends on the selected
AdPosition
, if the actual ad size is different.
Android Proguard issue
If the Proguard is active, then you have NoSuchMethodError
on device. Fix it by following steps:
- Enable Custom Proguard file in Player Settings window.
- Add keep line to the file:
-keep interface com.cleversolutions.ads.android.CAS$ManagerBuilder { *; }
Changes
⚠️ [iOS] Updated minimum supported Xcode version to 13.2.1.- [Android] Removed option to disable
ExoPlayer
. AppLovin added the dependency on ExoPlayer so that it is always used. - Migration from
CASInitSettings
class toIManagerBuilder
interface.
Update Cross promotion
- Added feature to get the
creativeIdentifier
. - Clicking on ad analytics event will be fired once per impression.
- Clicking on ad skips the video ad.
- Improved banner ads to promote non-app ad.
- [Android] Fixed video restart feature.