Inserting a custom script after Header

This is not for Google. As discussed earlier, this is for affiliate ad units that aren’t Google, amazon, etc. For Google, I already use the built-in Adsense plugin. My Google ads already work and adapt the subject of the ad to my visitors. In addition, I can control the genre of the ad through Adsense.

My question pertains to a static affiliate ad that will always be the same. Hence, I wanted to use House ads which is designed for that purpose. Yet, it limits me in terms of position to place that ad unit.

Currently, I’ve just used iframe and placed it at the footer of my theme html which works just fine. The only problem with this is that the iframe will display for all user groups even those with high trust level when before I could choose not to display the ad units to users with trust level 3 or greater through the ad manager in Discourse.