Google Adsense Embedding Help

I’ve pasted the code for a google ad in the site I’m making in the footer code section of the page settings and it doesn’t appear in the browser in either the preview mode or after you export the project. I also tried the code in the html widget even though it warns against javascript. Is there a setting I’m missing to make this work?
Thanks in advance.

Nevermind. it worked itself out.

The google ad code may only work once hosted on a server, so loading it locally may prevent the ad from loading.