- Modified: April 7, 2017
- Unity Plugin Version: 3.1.0
- iOS SDK Version: 3.1.1
- Android SDK Version: 3.1.2
Increase your revenue with the advertising SDK trusted by the world’s top publishers. AdColony delivers high-definition Instant-Play™ video ads that can be displayed anywhere within your application. AdColony contains V4VC™, a secure system for rewarding users of your app with virtual currency upon the completion of video plays.
The AdColony SDK Unity Plugin combines the native iOS and Android SDKs into an easy to use package for Unity applications.
For detailed information about the AdColony SDK, see our Unity Plugin documentation, iOS SDK documentation, or Android SDK documentation.
Note: The AdColony Compass™ early access program has ended, and we are no longer accepting new partners. Publishers who are currently using those services should email compass@adcolony.com for more details.
- In the Unity Editor, select "Assets"->"Import Package"->"Custom Package". Navigate to the location of the AdColony SDK Unity Plugin and select "AdColony.unitypackage".
- Select "Import" to import all the assets into your project.
- The AdColony SDK Unity Plugin includes Google's PlayServicesResolver to automatically pull in necessary Google Play Services libraries. If there are conflicts with this, the
play-services-adslibrary is the only required. You can choose to ignore this PlayServicesResolver installation, remove theAdColony/Editor/ADCDependencies.csfile, and include theplay-services-adsin another way. - The Plugins/Android/AdColony/AndroidManifest.xml file is automatically generated. To update manually, select "Tools"->"AdColony"->"Update AndroidManifest.xml".
In order to support thin/fat Android builds, we moved the native .so files from the Plugins/Android/AdColony/libs folder to the Plugins/Android/libs folder. Removing the Plugins/Android/AdColony folder before importing AdColony SDK Unity Plugin 3.1.0 is recommended. Otherwise, simply remove the Plugins/Android/AdColony/libs/armeabi-v7a and Plugins/Android/AdColony/libs/x86 folders.
Please note that updating from our 2.x Unity Plugin is not a drag and drop update, but rather includes breaking API and process changes. In order to take advantage of the 3.x Unity Plugin, a complete re-integration is necessary. Please review our documentation to get a better idea on what changes will be necessary in your app.
The basics of using the AdColony SDK to serve ads to your users are:
- Configure the service
- Request an ad (We recommend requesting a new ad when an ad expires)
- Show the ad
For example:
AdColony.InterstitialAd _ad = null;
void ConfigureAds() {
AdColony.Ads.Configure("app_id", null, "zone_id_1", "zone_id_2");
AdColony.Ads.OnRequestInterstitial += (AdColony.InterstitialAd ad) => {
_ad = ad;
};
}
void RequestAd() {
AdColony.Ads.RequestInterstitialAd("zone_id_1", null);
}
void PlayAd() {
if (_ad != null) {
AdColony.Ads.ShowAd(_ad);
}
}For detailed information about the AdColony SDK, see our Unity Plugin documentation.
By downloading the AdColony SDK, you are granted a limited, non-commercial license to use and review the SDK solely for evaluation purposes. If you wish to integrate the SDK into any commercial applications, you must register an account with AdColony and accept the terms and conditions on the AdColony website.
Note that U.S. based companies will need to complete the W-9 form and send it to us before publisher payments can be issued.
For more information, please visit AdColony.com. For questions or assistance, please email us at support@adcolony.com.