I am incorporating ads inside my games and have run into a problem. For non-fullscreen games, it's easy enough to drop the script companies like Leadbolt provide onto the bottom of the <body> section of the html file. However, many of my games are fullscreen. I have designed my fullscreen games with ads in mind, so there is a space for a banner to appear in my UI but I cannot seem to get the scripts to load.
The ad scripts looks like this:
I have tried a couple methods, though I am not sure if I've reached the bottom of the well on any of them. The first attempt was made through Pode's HTML Div plugin. However I am not 100% clear on how this works, so I cannot be sure if I was just doing something wrong. Can a script like this be called in a div? Is the plugin just lacking some functionality?
The iframe plugin would work but is a no-go for ad companies' terms of service. It's much too easy for developers to generate views that way.
I also think C2's SDK might be of use, but since it is a deep deep hole I'd rather not follow that rabbit unless I'm sure it will be helpful.
Any ideas, suggestions, or experience?