# מודעות בית באפליקציית הפרסום הרשמית

**URL:** https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715
**Category:** Announcements
**Tags:** advertising
**Created:** [2 במאי,‏ 2019,‏ 8:30pm UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715 "2019-05-02T20:30:39Z")
**Posts on this page:** 18
**Page:** 8

<div class="post-metadata">

### Author: ![Alaa](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@Alaa](https://meta.discourse.org/u/Alaa)
#### Post date: [21 ביולי,‏ 2022,‏ 6:41am UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/170 "2022-07-21T06:41:41Z")

</div>

Can we have a section in house ads for showing ads on the sidebar inside topics?

---

<div class="post-metadata">

### Author: ![markersocial](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markersocial/32/170136_2.png) [@markersocial](https://meta.discourse.org/u/markersocial)
#### Post date: [29 בספטמבר,‏ 2022,‏ 7:36am UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/171 "2022-09-29T07:36:14Z")

</div>

Just a heads up, it seems that the ad rotations aren’t evenly rotated. The first four ads (and particularly the first two) seem to consistently get significantly more impressions. With ad five and onward getting a fairly even split.

Ad 1 will get double the impressions of ad 5. Ad 5 and onward will get impressions evenly.

So for example, say you add 10 banners to all house ad slots. The first 4 assigned to the empty slot will get more impressions than any additional banners. Second slot seems to get ~75% of slot 1. Slot 3 gets ~65%, slot 4 gets ~60% and slot 5 and onward get roughly 50% of slot 1.

---

<div class="post-metadata">

### Author: ![Graham\_Anderson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/graham_anderson/32/197530_2.png) [@Graham\_Anderson](https://meta.discourse.org/u/Graham_Anderson)
#### Post date: [29 בספטמבר,‏ 2022,‏ 11:23am UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/172 "2022-09-29T11:23:28Z")

</div>

Ads.txt operates at the domain level. If you are running Discourse on a subdomain - e.g. [forum.example.com](http://forum.example.com) - and you have a main website [example.com](http://example.com) / [www.example.com](http://www.example.com), ads.txt for the entire domain should be at [example.com/ads.txt](http://example.com/ads.txt)

I think you would only need a subdomain specific ads.txt file if the content would be different to to the main one.

---

<div class="post-metadata">

### Author: ![hoangphuctran93](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hoangphuctran93/32/290976_2.png) [@hoangphuctran93](https://meta.discourse.org/u/hoangphuctran93)
#### Post date: [1 באפריל,‏ 2023,‏ 6:42am UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/176 "2023-04-01T06:42:34Z")

</div>

I have a suggestion about adding a similar “above header” display position.

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/f/9/ef913ec6f4935898a14dd7338bbb9e420e0e876e.jpeg)

---

<div class="post-metadata">

### Author: ![Jim\_Starkweather](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jim_starkweather/32/181916_2.png) [@Jim\_Starkweather](https://meta.discourse.org/u/Jim_Starkweather)
#### Post date: [18 בנובמבר,‏ 2023,‏ 9:30pm UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/180 "2023-11-18T21:30:08Z")

</div>

It’s really a shame that this feature has no scripting support to work with other non-Google/Enterprise level adserver type software or programs out there. I have been running an independent ad server for 20 years on my sites, and this has really made it almost impossible for me to monetize my forums other than with Google ads. And there is seemingly no way to get it to work via the custom CSS/HTML options for Discourse as well because you have taken it upon yourselves to parse out all potentially harmful scripting from these custom fields. Just FYI some of us are developers as well, perhaps not Ruby, etc. but we still know how to implement 3rd party scripting from other servers/instances we manage and control the content on. Sorry but just frustrated because after 3 years and many updates of the current Ad server software I am using (AdAdmin) there is apparently still no version of the ad script call that will work within your code limitations. ☹

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [18 בנובמבר,‏ 2023,‏ 9:46pm UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/181 "2023-11-18T21:46:19Z")

</div>

Maybe you just need your own theme component or plugin?

What code do you need to insert where?

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [18 בנובמבר,‏ 2023,‏ 11:28pm UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/182 "2023-11-18T23:28:12Z")

</div>

> [@Jim\_Starkweather](#):
>
> the current Ad server software I am using (AdAdmin)

Assuming the script code looks something like this:

```plaintext
<div id="ABC"></div><script src="https://www.barattalo.it/adserve.php?t=ABC&f=4">/*300x250*/</script>

```

there’s a good chance that `<div id="ABC"></div>` is the target that the script at `<script src="https://www.barattalo.it/adserve.php?t=ABC&f=4"></script>` injects the ad into.

I’m guessing a bit here, but it’s likely that the exact same script tag is generated for all ads served from your adserver. If that’s the case, the approach outlined here might work for you: [Is there a plugin for revive-adserver for discourse? - #3 by simon](https://meta.discourse.org/t/is-there-a-plugin-for-revive-adserver-for-discourse/190483/3).

To test it out, create a theme component from the the Admin / Customize / Themes section of your site and add the script you’re seeing in the embed code to the `head` section of the theme component. Then include that theme component on all you site’s themes. After having done that, just add the embed code’s target `div` element to your house ads. For example `<div id="ABC">`.

If this doesn’t work, check your web inspector’s console for any errors. One thing to note is that there can be some unexpected issues with disabled ad blockers: [Chrome adblock extension house ads issue](https://meta.discourse.org/t/chrome-adblock-extension-house-ads-issue/284097).

---

<div class="post-metadata">

### Author: ![Jim\_Starkweather](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jim_starkweather/32/181916_2.png) [@Jim\_Starkweather](https://meta.discourse.org/u/Jim_Starkweather)
#### Post date: [18 בנובמבר,‏ 2023,‏ 11:50pm UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/183 "2023-11-18T23:50:04Z")

</div>

I will try that. Thanks!

---

<div class="post-metadata">

### Author: ![Jim\_Starkweather](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jim_starkweather/32/181916_2.png) [@Jim\_Starkweather](https://meta.discourse.org/u/Jim_Starkweather)
#### Post date: [19 בנובמבר,‏ 2023,‏ 9:53pm UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/184 "2023-11-19T21:53:32Z")

</div>

Hmm… that suggestion didn’t work for me. The best I can seem to do with his newest version of AdAdmin is the fallback single script call which if put in the HEAD section of my theme does plop an ad from that zone at the very top of the site. With no formatting or sizing unfortunately. Try as I might by adding the DIV id to the url string it would not place the ad in the div assigned. Not sure why it would pass the id of the ad zone, but not the id of the div unless he just doesn’t have that part coded for this particular script request.

This is the call that worked in the HEAD section:  
`<script src="https://ads.kitmaker.net/ser.php?f=29"></script>`

As I said I tried to add “&t=AADIV29” to the string and then the `<div id="AADIV29"></div>` to the top of the “AFTER HEADER” section but no joy.

This is the full Script call that I assume Ember.js kills the crap out of if attempted.

`<div id="AADIV29"></div><script>/* Leaderboard resp. */ var k=decodeURIComponent(document.cookie),ca=k.split(';'),psc="";for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' ') c=c.substring(1);if (c.indexOf("adcapban")==0)psc+=(psc==""?"":",")+c.replace("adcapban","").replace("=",",");}var s = document.createElement("script");s.src = "https://ads.kitmaker.net/ser.php?m=v"+String.fromCharCode(38)+"tm=0"+String.fromCharCode(38)+"tr=p+a%2C+nav+a%2C+h2+a"+String.fromCharCode(38)+"f=29"+String.fromCharCode(38)+"psc=" + psc;document.head.appendChild(s);</script>`

---

<div class="post-metadata">

### Author: ![vmumo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vmumo/32/296906_2.png) [@vmumo](https://meta.discourse.org/u/vmumo)
#### Post date: [30 בנובמבר,‏ 2023,‏ 11:34pm UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/185 "2023-11-30T23:34:52Z")

</div>

Well, in my case the ads display well on the initial page load but if you navigate into another topic/category the ads do not display at all unless you manually refresh the page. How can this be fixed?

---

<div class="post-metadata">

### Author: ![Gonerdot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gonerdot/32/366307_2.png) [@Gonerdot](https://meta.discourse.org/u/Gonerdot)
#### Post date: [9 בפברואר,‏ 2024,‏ 12:34pm UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/186 "2024-02-09T12:34:36Z")

</div>

Do I understand correctly that House Ads does not support script execution?

```plaintext
<div id="yandex_rtb_R-A-5895524-1"></div>
<script>
window.yaContextCb.push(()=>{
	Ya.Context.AdvManager.render({
		"blockId": "R-A-5895524-1",
		"renderTo": "yandex_rtb_R-A-5895524-1"
	})
})
</script>

```

I have the code, but it’s not showing up. Can this be fixed somehow?

---

<div class="post-metadata">

### Author: ![SouperC](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/souperc/32/62875_2.png) [@SouperC](https://meta.discourse.org/u/SouperC)
#### Post date: [17 ביולי,‏ 2024,‏ 4:34pm UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/187 "2024-07-17T16:34:31Z")

</div>

I’m looking to implement House Ads to replace our Google ads. It’s possible I’m being dense.. but I’m not seeing House Ads in the left sidebar under plugin settings. However I do have some options for house ads . Ad blocker is turned off…

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/6/2/a62370a1fd1e63275aaa814d28b52bea6aed769c.png)

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [17 ביולי,‏ 2024,‏ 4:39pm UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/188 "2024-07-17T16:39:40Z")

</div>

I dont know, but at `no ads` is enough to use `trust_level_1` (or 0 if it’s there too) 😏 Lower trustlevel covers highers too — easier to read.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [17 ביולי,‏ 2024,‏ 4:42pm UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/189 "2024-07-17T16:42:40Z")

</div>

Can you access YOURSITE/admin/plugins/pluginad/house\_creatives directly?

---

<div class="post-metadata">

### Author: ![SouperC](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/souperc/32/62875_2.png) [@SouperC](https://meta.discourse.org/u/SouperC)
#### Post date: [17 ביולי,‏ 2024,‏ 5:02pm UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/190 "2024-07-17T17:02:49Z")

</div>

> [@Moin](#):
>
> /admin/plugins/pluginad/house\_creatives

That worked thanks! I

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/9/0/390e1588c2de70e36c3f9d0171891b98ee61dd40.png)

should have mentioned I did a rebuild about two weeks ago.. but I can’t recall if the house ads menu item was there or not.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [13 במאי,‏ 2025,‏ 12:34am UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/192 "2025-05-13T00:34:20Z")

</div>

2 הודעות נשברו לקטגוריה חדשה: [האם מודעות יכולות להיות מוגבלות לקטגוריות?](https://meta.discourse.org/t/can-ads-be-limited-to-categories/365813)

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [13 במאי,‏ 2025,‏ 12:32am UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/195 "2025-05-13T00:32:32Z")

</div>

שני הודעות חולקו לנושא חדש: [שאלה לגבי פרסום בתים](https://meta.discourse.org/t/question-about-house-ads/365812)

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [13 במאי,‏ 2025,‏ 12:33am UTC](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/196 "2025-05-13T00:33:12Z")

</div>



[Previous page](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715.md?page=7)
