After you export your web based game, it will give you index.html.
Add your adsense code to that and poof. Ads in your game.
You can even write javascript functions in this index.html and call those functions from inside C3.
Problem is every export you have to patch together your index.html -- so a bat/sh script can help.