Chartboost Mediation Unity SDK
Summary
Chartboost Mediation Unity SDK provides support for Unity based games to easily integrate the Chartboost Mediation for Android & iOS platforms. This guide will contain step by step instructions on how to integrate the SDK, as well as recommended practices to make best use of all the features offered by the Chartboost Mediation SDK.
Minimum Supporter Development Tools
Software | Version |
---|---|
XCode | 14.1 |
Android Studio | 2020.3.1+ |
iOS | 10.0+ |
Minimum Android API Level | 5.0+ (API level 21) |
Target Android API Level | 12.0+ (API level 31) |
Minimum Unity Version | 2020.3.27f1 |
CHANGELOG
Visit the CHANGELOG to reference changes to each version of the Chartboost Mediation Unity SDK.
Integrating the Chartboost Mediation Unity SDK
Chartboost Mediation Unity SDK is distributed using the public npm registry as such it is compatible with the Unity Package Manager (UPM). In order to add the Chartboost Mediation Unity SDK to your project, just add the following to your Unity Project's manifest.json file. The scoped registry section is required in order to fetch packages from the NpmJS registry.
"dependencies": {
"com.chartboost.mediation": "4.0.0",
...
},
"scopedRegistries": [
{
"name": "NpmJS",
"url": "https://registry.npmjs.org",
"scopes": [
"com.chartboost"
]
}
]
In order to better understand the Chartboost Mediation Unity SDK, documentation has been split between Setup and Integration Steps:
Setup
- Ad Network Adapters
- Android Manifest
- Google External Dependency Manager (EDM)
- Multidex
- Chartboost Mediation Integration Checker
- Enabling SKAdNetwork
Integration
- Initialization
- Configure Chartboost Mediation
- Loading Ads
- Showing Ads
- Delegate Usage
- Error Codes
- Unit Testing