Skip to content

Enable Admob

Enable AdMob Ads

GreedyGame SDK sources Ads from multiple Ad Demand Partners using GreedyGame's Mediation Platform directly which requires no additional setup.

But to serve Admob ads, GreedyGame requires you to enble Admob in the initialization script.

To enable Admob Ads call enableAdmob(true) on the GreedyGameAgent.Builder instance.

GreedyGameAgent greedyGameAgent = new GreedyGameAgent.Builder(activity)
    .setGameId(GAME_ID_CREATED) //e.g 00100100
    .addUnitId(ADUNIT_CREATED) //e.g slot-1000
     ---"other builder methods"---