Introduction

If you had Ads enabled in your CocoonJS project you can migrate them using any of the new Cocoon cloud available plugins for Ads. We have removed two MoPub adapters (Yume and Brightroll) in the new Cloud but you have support for three native networks and several adapter:

  • MoPub SDK
    • AdColony adapter
    • Chartboost adapter
    • Greystripe adapter
    • InMobi adapter
    • MillenialMedia adapter
    • AdMob adapter
    • Chartboost adapter
  • AdMob SDK
    • AdColonya dapter
  • Chartboost SDK (with support for rewarded videos)

Installation

The Ads plugins will be migrated along with your application configuration when your projects are automatically migrated to the new Cocoon cloud so you should have all the plugins installed in the new Cocoon cloud already. To check if everything is correct go to the old CocoonJS cloud and check which ads plugins did you had enabled.

Screen Shot 2016-01-19 at 12.42.11

Now go to the new Cloud and check that all the plugins and adapter have been correctly migrated to the new Cocoon configuration.

Screen Shot 2016-01-19 at 12.46.42

If the plugins that you had in the old CocoonJS configuration are installed, the application is ready to be compiled. Before compiling an APK or a Developer app check your integration in the following step.

Parameters

Now the Ads plugins accept parameters directly in the code so yo don’t need to setup any parameter in the cloud UI. You can also use all the different native plugins at the same time (MoPub, AdMob, Chartboost).

You can find your Ad keys in the old CocoonJS cloud here:

Screen Shot 2016-01-19 at 12.43.52

Read the Ads plugins guides below to know how to setup the parameters for each one of them.

Integration

The old CocoonJS Ads plugins have been recoded in the the new Cocoon so the API is not exactly the same but we really think it is for good. We have tried to make a simpler and easier to integrate API so the changes in your application code shouldn’t be difficult to implement.

Check the Ads  plugins guides to see what modifications you should made in your code to get the new Cocoon Ads plugins working:

mopub_buttonadmob_button chartboost_button