Advertising Plugin for Discourse - Serve Ads on your Discourse Forum (Official Endorsed)

faq-material
official

#148

yikes… so, it’s almost completely outside of your control… ewwwwwwww.


(Anil Gupta) #149

Yep.
But, the good thing is that even when you have switched ON the AUTO-ADS, you can still place separate AD codes wherever you like.

The AUTO-ADS automatically detect the presence of other Adsense ADS (that you may have explicitly added) and maintain the ‘number of ads on a single page’ requirement and then places its own set of ads.

So, it is pretty accommodating.
In a nutshell, both adsense ads through discourse plugin and auto ads can co-exist.


(Guy Fawkes) #150

From my point of view the best way to advertise on a website without annoying users is to be able to customise your ads like quora does :


I know that google dont support this kind of thnigs is there any other ads company that can allows us to do that or if there is anyway to do it


#151

Hi there,

I just added

  • our amazon affiliate id
  • sizes
  • N=5

And although I do get a new element in our threads, it’s not an Amazon advertisement but it’s our site’s header instead.

Does anyone have a clue what’s happening here?

See this topic:

Thanks for looking into it,

Roy


(Neil Lalonde) #152

@Roy_ILGM It looks like your amazon_post_bottom_src_code value is ilovegrowingm-20 but it should be a complete URL.


#153

Hi Neil, thanks for the advice.

I’ve been trying basically every link I can create within the amazon affiliate+advertisement environement. Both with and without dimensions pre-set and can’t seem to figure out what needs to go in there.

Can you specify what complete URL I need and where I can find it?

Kind regards,
Roy


(Vaping Community) #154

Am I right in thinking this auto adds the <script> to /head or do I need to add that manually?


(Neil Lalonde) #155

It will be something starting with http or https. It will load in the iframe of the ad, so it needs to be a full URL.

The AdSense and DFP scripts will be added by the plugin, so you don’t need to add it yourself.


(Neil Lalonde) #156

I lied. It’s starts with //.

@Roy_ILGM Here’s how to use Amazon affiliate links.

Find the ad unit you want to use in the Amazon Affiliate website. I’ll use a banner.

You’ll need three values from it. The src, width, and height. Put those values in you Amazon settings in Discourse.

Reload your browser and go to wherever you added the Amazon ad unit.


#157

Hi @neil

thanks for checking in. The problem seems to be in the adBlock extension.

  • Just excluding the site from AdBlock does not help, the ads still get blocked.
  • Just pausing AdBlock for the forum site does not help, the ads still get blocked. It does display on Amazon and when entering just the ad link.
  • I had to pause AdBlock for all sites for it to be displayed on the forum.

Perhaps something for the devs to look into, though I understand this must be a cat and mouse game.

I use this extension:
image


(Vaping Community) #158

I made a huge mistake and deleted all the adsense <script> from /head can someone post the original please.


(Neil Lalonde) #159

That would be for the AdBlock devs to look into, not us. :wink: If you set a rule that it shouldn’t run for a site, but it does, then that’s a bug in AdBlock.

The plugin adds the script for you. What did you delete?


(Vaping Community) #160

Hmmm are you saying it doesn’t show it in the theme customisation under /head ?

It was this:

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

#161

Hi there, we’ve had top of topic amazon banners and amazon advertisements every 20 posts. People have been complaining about jerky scroll behaviour on phone since those were turned on. The jerky behaviour went away after turning the ads off again. Does anyone experience the same complaints?


(Jay Pfaffman) #162

It sounds like it’s waiting to get the new ad before polling for the next batch of messages.


(Anton) #163

No 404 or 400 error with AdSense, yet no advertising is shown, what might be the issue?

Example URL:

Объявления - двойники и неправдивая информация о продаже коз, козлят, козлов - Козий рынок - Козоводство в Украине, России, СНГ: форум, хозяйства, рынок

(find advert above the “similar topics” list):

The size of ad unit matches the size in Adsense settings in Discourse.


#164

I do see an ad there:

Are you using an ad blocker?

I’ve noticed that AdBlocker Plus has a bug that will intermittently block ads even when the site is whitelisted. (In Chrome for Mac in my case.)


(Neil Lalonde) #165

If you see the ad code when you inspect the page, then the plugin has done its job.


(Anton) #166

I do, but I turned the plugin off and re-tested — didn’t help :frowning:

Yep, the code is there. Not blaming the plugin, just asking if anyone has any ideas about possbile causes of this issue.


(Anton) #167

Ad language question

Will Adsense adverts be shown in the user’s browser default language? Is it on auto by Google or configurable?