It would be more amazing if we can put an email of the advertiser with the specific banner or link and to send him weekly or monthly reports for the performance, like views and clicks.
I’m guessing that’s a bit outside the simple solution this is meant to provide. Sounds like you want a full-fledged advertising solution.
However, having said that, I wouldn’t be surprised if those metrics are actually tracked in the DB, and perhaps you could pull them out with Data Explorer and process them into emails outside of Discourse.
We are trying to pull ads from our rails server where we already have a custom ad server built, but unfortunately there is no easy way to do this without having desktop / mobile versions of the ad slots available. We would be tracking the ad serve / impression on the rails side so need to know which ad we’re displaying on the rails side (can’t rely on media queries on discourse side). We’re trying to avoid hacking the ember code … does anyone have any ideas?
Hello Abram,
Is your ad server open source ? We are looking into similar implementation too.
Thanks
No it isn’t, and it’s extremely basic… We just load up images for particular slots on our site based on an advertiser model with nested advertisements, where each advertisement has a type (string) like “Large Rectangle” that we can request from the slot. All our ads are sponsored so we have been able to keep things simple and do reporting with ahoy.
Great. I am planning to use revive ad server https://www.revive-adserver.net/
Dear Neil,
Any way we can change the sequence of the ads ?
The ads show under the first posts mandatory then we can change the number of after how many posts.
for example quora, the system shows ads after each first post then after 4 or 5 posts you see another ad banner.
Can we achieve this and how ?
目前广告插件无法实现此功能。此前已有相关请求,因此或许可以添加一个复选框设置,用于在首篇帖子后显示广告,之后每隔 N 篇帖子再显示一次。
为什么普通的 src JavaScript 代码无法作为房屋广告运行?即使添加内容安全策略也无济于事。是什么导致了这个问题?
它在插件标签页上。
谢谢!我似乎还处在学习曲线的起步阶段……
我也花了些时间才找到!这是因为需要为界面创建广告留出空间……
这方面有什么新消息吗?已经过去一段时间了,但我似乎找不到类别选项。这个插件还在维护吗?
这是一个官方插件,并且正在维护中。
我通过为每个类别创建带有专属 CSS 标签的广告,然后在除目标类别外的所有类别中隐藏它们,解决了外部类别的问题。虽然有点繁琐,但确实有效。
这很接地气,但很棒
不过,我很希望能看到一个官方的按类别划分的版本。某些领域可以设为“高级”,或者某些广告可以根据类别设置不同类型的定向,这样会更直观、更相关。
好的,如果您只想在特定分类下展示您的站内广告,这里有一个解决方案。
将以下代码添加到您主题 CSS 设置中:
.house-creative.house-post-bottom a.between-posts-ad {
display: none;
}
.category-_______ .house-creative.house-post-bottom a.between-posts-ad {
display: block;
}
请将 .category-_______ 中的下划线替换为您的分类标识(slug),您可以在分类设置中找到该标识。
有趣的问题

