# Integrate adbutler / Java script with the adplugin

**URL:** https://meta.discourse.org/t/integrate-adbutler-java-script-with-the-adplugin/123490
**Category:** Marketplace
**Created:** [July 20, 2019, 8:05am UTC](https://meta.discourse.org/t/integrate-adbutler-java-script-with-the-adplugin/123490 "2019-07-20T08:05:45Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Jeremie\_Leroy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeremie_leroy/32/84427_2.png) [@Jeremie\_Leroy](https://meta.discourse.org/u/Jeremie_Leroy)
#### Post date: [July 20, 2019, 8:05am UTC](https://meta.discourse.org/t/integrate-adbutler-java-script-with-the-adplugin/123490/1 "2019-07-20T08:05:45Z")

</div>

**What would you like done?**  
I would like to integrate js in the way that i could add the ad server js with the adplugin → [GitHub - discourse/discourse-adplugin: Official Discourse Advertising Plugin. Install & Start Serving Ads on Your Discourse Forum · GitHub](https://github.com/discourse/discourse-adplugin)

**When do you need it done?**  
Not so much in a hurry, but the sooner the better

**What is your budget, in $ USD that you can offer for this task?**  
£200 ( negotiable )

---

<div class="post-metadata">

### Author: ![sfoster](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@sfoster](https://meta.discourse.org/u/sfoster)
#### Post date: [July 29, 2019, 4:52pm UTC](https://meta.discourse.org/t/integrate-adbutler-java-script-with-the-adplugin/123490/3 "2019-07-29T16:52:34Z")

</div>

We also have an urgent need for this type of plugin, and would pay for it. We also use Adbutler. The regular advertising plugin doesn’t allow for custom javascript for ad platforms other than Google. It would be great if the Official Plugin simply added a choice to serve custom javascript for ads from any custom service. Thanks.

---

<div class="post-metadata">

### Author: ![Jeremie\_Leroy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeremie_leroy/32/84427_2.png) [@Jeremie\_Leroy](https://meta.discourse.org/u/Jeremie_Leroy)
#### Post date: [July 29, 2019, 5:22pm UTC](https://meta.discourse.org/t/integrate-adbutler-java-script-with-the-adplugin/123490/4 "2019-07-29T17:22:56Z")

</div>

Hi @neil is this on your road map guys ? Many thanks,

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [July 29, 2019, 5:26pm UTC](https://meta.discourse.org/t/integrate-adbutler-java-script-with-the-adplugin/123490/5 "2019-07-29T17:26:43Z")

</div>

No, Ad Butler is not on our roadmap.

---

<div class="post-metadata">

### Author: ![Jeremie\_Leroy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeremie_leroy/32/84427_2.png) [@Jeremie\_Leroy](https://meta.discourse.org/u/Jeremie_Leroy)
#### Post date: [July 29, 2019, 5:28pm UTC](https://meta.discourse.org/t/integrate-adbutler-java-script-with-the-adplugin/123490/6 "2019-07-29T17:28:36Z")

</div>

and the possibility of adding Javascript ?

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [July 29, 2019, 7:23pm UTC](https://meta.discourse.org/t/integrate-adbutler-java-script-with-the-adplugin/123490/7 "2019-07-29T19:23:00Z")

</div>

Can you give details about how this would look and how it would work? Mock-ups of a UI? What solution would cover all arbitrary ad network javascript?

---

<div class="post-metadata">

### Author: ![sfoster](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@sfoster](https://meta.discourse.org/u/sfoster)
#### Post date: [July 29, 2019, 7:29pm UTC](https://meta.discourse.org/t/integrate-adbutler-java-script-with-the-adplugin/123490/8 "2019-07-29T19:29:38Z")

</div>

The issue appears to be that the House ads only accepts HTML. If it would also accept JS it would work with nearly all ad networks. jS in house ads, Seems to be mentioned as a possibility on the repo, but not implemented yet. This would be a very useful feature.

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [July 29, 2019, 7:31pm UTC](https://meta.discourse.org/t/integrate-adbutler-java-script-with-the-adplugin/123490/9 "2019-07-29T19:31:41Z")

</div>

> [@sfoster](#):
>
> If it would also accept JS it would work with nearly all ad networks.

[Already been discussed](https://meta.discourse.org/t/house-ads-in-the-official-ad-plugin/116715/86). Very unlikely that the ad networks’ js covers single-page apps correctly. Otherwise you don’t need the ad plugin at all. [Just use theme components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648).

---

<div class="post-metadata">

### Author: ![sfoster](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@sfoster](https://meta.discourse.org/u/sfoster)
#### Post date: [July 29, 2019, 7:36pm UTC](https://meta.discourse.org/t/integrate-adbutler-java-script-with-the-adplugin/123490/10 "2019-07-29T19:36:08Z")

</div>

The ad plugin contains functionality not available in theme components, that is very useful. Just using theme components would not work. Dropping JS from our ad partner in the HTML box for house ads would certainly display the ads correctly in the application. It’s just that the box only accepts Html

---

<div class="post-metadata">

### Author: ![sfoster](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@sfoster](https://meta.discourse.org/u/sfoster)
#### Post date: [July 29, 2019, 8:00pm UTC](https://meta.discourse.org/t/integrate-adbutler-java-script-with-the-adplugin/123490/11 "2019-07-29T20:00:40Z")

</div>

Sorry missed your link above. I think I see how this can be done with components. Thanks for quick response

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 28, 2019, 8:00pm UTC](https://meta.discourse.org/t/integrate-adbutler-java-script-with-the-adplugin/123490/12 "2019-08-28T20:00:50Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
