Skip to content

Enable Admob

Enable AdMob Ads

GreedyGame SDK can source Ads from GreedyGame directly or it can also fetch demand from Admob also.

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

  let greedyGameAgent = GreedyGameAgent.Builder()
                        .setGameId(GAME_ID_CREATED) //e.g 00100100
                        .addUnit(ADUNIT_CREATED) //e.g unit-1000
                        ---"other builder methods"---
  Builder *builder = [[Builder alloc]init];
  [builder setGameId:GAME_ID_CREATED]; //e.g 00100100
  [builder addUnit:ADUNIT_CREATED]; //e.g unit-1000
  [builder enableAdmob:YES];
  ---"other builder methods"---
  self.greedyGameAgent =;

  [self.greedyGameAgent initialize];