What is the proper way to implement Inneractive Ads storyboard?

I’ve made a game which consists of mainly 4 lua files which is working on storyboard. Which are the usual _ main.lua, start.lua, game.lua and restart.lua _ .  I’ve already added the pluggin to the build.settings of my application. I’ve tried implementing the ads according to the documentation provided by Corona, but there is always a glitch in my code and it ends up freezing the app on where I put my show() and hide(). It would be really great if someone could help me out and specify where to write the inneractive.init(), inneractive.show(), inneractive.hide() and where to place the  listeners. I’m a newbie so, it would be really great if you could actually give me a sample for _ initializing the ad network and listeners _ as well.