1 Like
This is an in-house solution that we created for use with our Revive adserver. Here’s a super simplified version:
<script type="text/discourse-plugin" version="0.8">
api.decorateWidget('topic-timeline-container:before', helper => {
return helper.h('div.side-block', [
helper.rawHtml('<div id="friends"><iframe id="a059a1e0" name="a059a1e0" src="(ad url)" frameborder="0" scrolling="no" width="300" height="180"></iframe></div>'),
])
});
</script>
7 Likes
Great ! thank you for your response!
Do you have any example on how to do the same for a google adsense display ad?
please check my question here. @bartv How can i show a floating sticky 300x250 Adsense Ad on right side bar of topic page?. @olex1216
Sorry, I have no experience with that. I suppose you could look at the official ad plugin and borrow some code from there?