# Generate funding through CodeFund - now integrated into the discourse-adplugin

**URL:** https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406
**Category:** Feature
**Tags:** advertising
**Created:** [June 21, 2018, 4:08pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406 "2018-06-21T16:08:12Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![coderberry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coderberry/32/99652_2.png) [@coderberry](https://meta.discourse.org/u/coderberry)
#### Post date: [June 21, 2018, 4:08pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/1 "2018-06-21T16:08:12Z")

</div>

When you install or update the [discourse-adplugin](https://github.com/discourse/discourse-adplugin), you will see a new advertising option.

 ![05](https://global.discourse-cdn.com/meta/original/3X/e/f/effb80928753fd77b797797a3746b42eb459e96f.png)

**CodeFund** _(formerly Code Sponsor)_ is an **ethical advertising platform for the developer community**. What does this mean?

- Relevant, unobtrusive ads
- No cookies
- No remarketing
- No profiling
- [100% open source](https://github.com/gitcoinco/codefund)

We have always been huge fans of Discourse and recognize that their communities are often developer-based. We invite all developer-based installs of Discourse to sign up for CodeFund and try this plugin out. Together we can continue to help open source thrive.

You can register your Discourse community here: [https://codefund.io/register/publisher](https://codefund.io/register/publisher)

---

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [June 22, 2018, 6:04pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/2 "2018-06-22T18:04:26Z")

</div>

That sounds really interesting, I’ll definitely take a look at their site.

In the mean time, I’m using AdSense only, but the plugin is still making requests to the codefund website. Here’s what I see in my console:

![image](https://global.discourse-cdn.com/meta/optimized/3X/c/7/c704c17e99793e4906c104d1afdb9db3beda96f0_2_690x37.png)

Can you please investigate? Thanks!

---

<div class="post-metadata">

### Author: ![coderberry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coderberry/32/99652_2.png) [@coderberry](https://meta.discourse.org/u/coderberry)
#### Post date: [June 22, 2018, 8:16pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/3 "2018-06-22T20:16:39Z")

</div>

Thank you for sharing this. I submitted a PR for the fix (/cc @neil)

[https://github.com/discourse/discourse-adplugin/pull/66](https://github.com/discourse/discourse-adplugin/pull/66)

---

<div class="post-metadata">

### Author: ![coderberry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coderberry/32/99652_2.png) [@coderberry](https://meta.discourse.org/u/coderberry)
#### Post date: [June 22, 2018, 8:54pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/4 "2018-06-22T20:54:46Z")

</div>

This is now resolved. Thanks again for letting us know @bartv!

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [June 24, 2018, 12:21pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/5 "2018-06-24T12:21:51Z")

</div>

Thanks a bunch Eric & co. at CodeFund! I really hope to see this plugin enabled on a multitude of OSS forums!

> <https://twitter.com/discourse/status/1010859821736824840>

---

<div class="post-metadata">

### Author: ![barreeeiroo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barreeeiroo/32/165264_2.png) [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)
#### Post date: [January 14, 2019, 5:57pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/6 "2019-01-14T17:57:33Z")

</div>

I’m inputting my property id (`168`), but it sais:

> codefund\_property\_id: Value doesn’t match the required format.

What am I doing wrong?

![image](https://global.discourse-cdn.com/meta/original/3X/1/f/1f648c03e542184ddb4af5b9053e660e3125e3df.png)

* * *

@coderberry

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [January 14, 2019, 6:28pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/7 "2019-01-14T18:28:02Z")

</div>

Property ID looks like a UUID using hexa symbols:

> <https://github.com/discourse/discourse-adplugin/blob/main/config/settings.yml#L349>

---

<div class="post-metadata">

### Author: ![barreeeiroo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barreeeiroo/32/165264_2.png) [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)
#### Post date: [January 14, 2019, 7:37pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/8 "2019-01-14T19:37:19Z")

</div>

Yeah, I’ve already checked the file  
However, the property ID we got is just an integer

---

<div class="post-metadata">

### Author: ![coderberry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coderberry/32/99652_2.png) [@coderberry](https://meta.discourse.org/u/coderberry)
#### Post date: [January 14, 2019, 8:06pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/9 "2019-01-14T20:06:34Z")

</div>

We migrated it to use integers. I will submit a PR to this plugin.

---

<div class="post-metadata">

### Author: ![coderberry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coderberry/32/99652_2.png) [@coderberry](https://meta.discourse.org/u/coderberry)
#### Post date: [January 14, 2019, 8:23pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/10 "2019-01-14T20:23:28Z")

</div>

@barreeeiroo, I have submitted a PR to the project:

> <https://github.com/discourse/discourse-adplugin/pull/71>
>
> In January, we began supporting integer-based property IDs. We still support the… legacy UUID's as well.
> 
> This PR will allow for both.

---

<div class="post-metadata">

### Author: ![barreeeiroo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barreeeiroo/32/165264_2.png) [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)
#### Post date: [January 15, 2019, 9:56am UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/11 "2019-01-15T09:56:33Z")

</div>

@coderberry I have just updated the plugin  
However, I don’t think ads are working properly:

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/6/26bf381d000eba9b0ae1d446dffe437ca0aa9de7.png)

As you can see, there’s a big blank space there

---

<div class="post-metadata">

### Author: ![coderberry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coderberry/32/99652_2.png) [@coderberry](https://meta.discourse.org/u/coderberry)
#### Post date: [January 25, 2019, 4:55pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/12 "2019-01-25T16:55:41Z")

</div>

Hi Diego,

We are working on a fix for this which will be released next week.

Thanks!

Eric

---

<div class="post-metadata">

### Author: ![barreeeiroo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barreeeiroo/32/165264_2.png) [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)
#### Post date: [January 25, 2019, 10:00pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/13 "2019-01-25T22:00:07Z")

</div>

Perfect!  
Thank you so much 👍

---

<div class="post-metadata">

### Author: ![coderberry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coderberry/32/99652_2.png) [@coderberry](https://meta.discourse.org/u/coderberry)
#### Post date: [January 30, 2019, 4:41pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/14 "2019-01-30T16:41:23Z")

</div>

@barreeeiroo We submitted a PR that should solve these issues:

[https://github.com/discourse/discourse-adplugin/pull/72](https://github.com/discourse/discourse-adplugin/pull/72)

---

<div class="post-metadata">

### Author: ![barreeeiroo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barreeeiroo/32/165264_2.png) [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)
#### Post date: [January 30, 2019, 5:28pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/15 "2019-01-30T17:28:28Z")

</div>

Perfect, I’ll update it as soon as possible 👍

---

<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 18, 2019, 9:28pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/16 "2019-07-18T21:28:59Z")

</div>

@coderberry We’ve been showing CodeFund ads here on meta for a day now, but they always show ads for CodeFund.

 ![2019-07-18_17-25](https://global.discourse-cdn.com/meta/original/3X/b/4/b40d4c3525ddad4f9258ea261e7b5947579ead29.png)

Will we start seeing other ads soon?

Also the [instructions in the ad plugin README](https://github.com/discourse/discourse-adplugin#codefund-embed-tag-to-discourses-site-settings) don’t match what I’m seeing in the CodeFund instructions. I don’t have a long hex number like the example. Mine is only 3 digits, so I entered that into the “codefund property id” field.

---

<div class="post-metadata">

### Author: ![coderberry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coderberry/32/99652_2.png) [@coderberry](https://meta.discourse.org/u/coderberry)
#### Post date: [July 19, 2019, 4:54am UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/17 "2019-07-19T04:54:09Z")

</div>

Hi @neil, I’m excited you added it to meta! I have set the property to active. All traffic should be generating revenue for you.

We will update the bad instructions on the README. You used the correct ID.

Please reach out to me anytime

---

<div class="post-metadata">

### Author: ![nexo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nexo/32/106384_2.png) [@nexo](https://meta.discourse.org/u/nexo)
#### Post date: [July 19, 2019, 5:42am UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/18 "2019-07-19T05:42:06Z")

</div>

How do you earn money from CodeFund? Pay per click? Pay per view/1000 views?

---

<div class="post-metadata">

### Author: ![coderberry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coderberry/32/99652_2.png) [@coderberry](https://meta.discourse.org/u/coderberry)
#### Post date: [July 21, 2019, 6:44pm UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/19 "2019-07-21T18:44:11Z")

</div>

Hi @nexo, the money is earned via eCPM. Every impression will earn the publisher some funds.

We are [open source](https://github.com/gitcoinco/code_fund_ads). Please feel free to dig into the code. The parts where we determine the % of earnings is handled [here](https://github.com/gitcoinco/code_fund_ads/blob/master/app/models/impression.rb#L234-L244).

We pay out monthly with a $20 minimum amount. Each month the funds roll over.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [July 31, 2019, 3:45am UTC](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406/20 "2019-07-31T03:45:43Z")

</div>

I keep getting this ad over and over again:

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/6/06134e02077c492186c741917fa4fc98ac9f19be.png)

If I reload `https://meta.discourse.org/t/events-plugin-calendar/69776/500` 10 out of 10 times I get this ad.

I am in Australia. Is there anything we can do to get a bit less blockchain and a bit more ad diversity here?

[Next page](https://meta.discourse.org/t/generate-funding-through-codefund-now-integrated-into-the-discourse-adplugin/90406.md?page=2)
