How to display Google AdSense ads in Vaadin page?

Ignoring the problem of dynamic content generation on a Vaadin app, how should I go about injecting the AdSense javascript code so that it runs and shows ads? Anyone been through that?

I myself don’t really know what Adsense is but you can:
1: If it’s a Javascript Component you can integrate it using
or maybe even
2: If it’s just plain Js Code you can use JavaScript.getCurrent().execute(“…”);
3: If you need to load a JS source file when the app starts you can add it for example by modifying the bootstrap