I’ve got AdSense ads running great, but I’m trying to create a ‘House Ad’. I’ve input the ad code into the plug-in, and it has ‘replaced’ the AdSense code (at least the AdSense code has disappeared), but the House Ad isn’t appearing.
Any idea please? To add, I am looking to run House Ads only - to replace Google.
Are JavaScript & iFrame ad codes supported? Is one recommended over the other?
I’ve had this issue as well. I can tell from going to the developer console, that I can only see this:
Other than that, I had " DevTools failed to load SourceMap Could not load content for bla bla bla: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE" for several of my official plugins.
There’s nothing wrong with the script itself. It’s an affiliate ad and it will show up in any regular html site. Something from Discourse itself is blocking it.
In one of my testbeds, I forked the ads plugin, stripped out all the ad networks except for house and heavily modified to serve tags from our Revive ad server using all IFRAME tags.
I did not find it to be “useless” at all. For example, I used a lot of the code from the original plugin, modified it, and used all the plugin-hook locations (placements) as well.
In fact, it was the “house” part of the plugin which I used as the basis for the tags for our Revive ad server tags.
In summary, I thought the “house” part of the plugin code was very useful, @AntiMetaman and that code was the basis for my entire plugin modification to build a “Discourse ad server plugin for the Revive ad server”.
I see that it was not useless for you since you created your own “revive ad server”. However, I am finding it useless if I cannot display an affiliate ad unit using the House Ads which I believe for it to be its original purpose. You told me to use iframe instead and that worked. That’s why I said it was useless for me. I am sure others find it useful for other purposes like reverse engineering a new plugin.
As you have discovered, SCRIPT (javascript) tags will not render as “house ads” due to some Ember restrictions.
However, you should be able to display any IFRAME or HTML tag as a “house ad”; because “house ad” is simply a slot for running your own tags (as long as they are HTML or IFRAME tags).
Yes, putting the iframe as a ad unit in House Ads will work, but I have limited options. There is no option to put it at the bottom of my page. There’s only top of topic list or between.
In that case, you can easily do as you wish and just add an IFRAME tag to the bottom of the page; or you can modify the plugin to add another slot for “house ads”; per your own design for ad placements.
Anyway, glad the IFRAME tag, direct insertion, is working out for you. That’s what’s important.
Gibt es einen Konflikt zwischen den integrierten House Ads und dem Ad-Plugin, der dazu führt, dass House Ads in der Zone „Topic List Tops Ads“ nicht angezeigt werden, wenn sich eine DFP-Anzeigenzone an derselben Stelle befindet? Sollten nicht beide angezeigt werden – eine von House Ads und eine von DFP?
Ich habe den Google-iframe in der Themenliste bemerkt, indem ich F12 gedrückt habe – er scheint vorhanden zu sein, unabhängig davon, ob im DFP-Bereich des Ad-Plugins eine DFP-Publisher-ID eingegeben ist oder nicht.
Ich möchte DFP komplett einstellen und Anzeigen nur über House Ads verwalten.