The dashed box is a normal element. AppMintAds.banner.attach('#top-banner') overlays the real banner on it and it follows the page as you scroll.
Finishing a level is a natural break, so an interstitial may show there. Never on every tap. If no ad is ready the game just continues.
Optional bonus. The tap is the user's opt-in; coins are granted only when earned comes back true. No popup, no Skip button of our own.
A 300×250 slot (needs the medium-rectangle unit) and the switch that pauses the app-open ad while someone is mid-task.
Every request's life arrives on one event, appmint:ad. This is what you would send to your analytics.