Adsense In Layout Blocks

I am wanting to ad adsense advertising to my website. I have tried creating an html block and then adding the adsense javascript using the default editor of “No editor”. I've tried it while also using a wysiwyg editor. Neither way allows the adsense ads to display on the site.

I gave the html block a title, and that title is showing up in the correct place on my homepage, but the block is empty.

Does anyone know how to get a javascript such as adsense to display in cscart using block layout?

Please provide us with the example of your code.

And do not forget to add data-no-defer parameter to the script tag