Monetize with Chartboost

I’ve recently switched from using Admob in my games to Chartboost.  This switch made sense because most of the ads that were filling with Admob were not relevant to gaming.  For example, many of the ads Turbo Prop was receiving were dating and real-estate related.  This resulted in very poor eCPM.

The following is a great (and quick) way to get Chartboost ads for iOS and Android in your Unity3D 4.3+ game.

Start by downloading the latest Chartboost SDK from the official website.  Extract the archive and import the package by going Assets -> Import Package -> Custom Package -> CBUnityPlugin.*.unitypackage.  When prompted, choose to import everything.

By default, Android is not configured to use Chartboost.  In order to use the Chartboost SDK for Android you must alter the ApplicationManifest.xml and import the Google Play Services library into your project.  Luckily this can be done without effort by choosing Chartboost -> Android Setup from the toolbar.  However, make sure you have the Android SDK installed and configured on your computer first.

The above code is responsible for initializing Chartboost for Android and iOS, as well as showing an interstitial advertisement (graphical popup).  Attach this script to a GameObject on your scene in addition to attaching CBManager.cs to a different GameObject.  CBManager will make it possible for you to use the SDK on your scene.

Download a working example here

By adding Chartboost to your Unity3D game you will get better targeted ads with higher eCPM in comparison to Admob.

To quickly view your Chartboost analytics, I’ve gone ahead and created a nifty mobile app called Admate for Chartboost.  Please rate it 5 stars if you download it.


Nic Raboy

Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand.

  • ArmandCloud .

    Hello Nic,

    Its a old post but could you share some statistics about chartboost. If its possible.
    You can actually block admob ads from your settings, to get more releated ads.


    • See the attached screenshot I took from my Chartboost dashboard for the past 12 months.

      I’ve made a total of $26.37 between my two applications, “Turbo Prop” and “Floppy Clone”. It isn’t much, but then again I stopped all marketing for the two games because I had other priorities.

      Had I made a more popular set of games or continued to market, I believe my revenue would still continue to grow.

      Does this answer your questions?


      • ArmandCloud .

        Thank you for sharing data Nic. It answers my questions.

  • Shubham Singh

    You should really consider Updating your tutorial.

  • Jack

    Nic please update this tutorial, new SDK out