Does anyone here know how to install propellerads without adsense in discourse? Adsense wont accept my submission and im looking forward with propellerads. Thankyou
AI-generated summary
The discussion revolves around installing PropellerAds on a Discourse platform without using AdSense. R_X is seeking help, as AdSense has rejected their submission, and they are interested in using PropellerAds instead. neounix suggests that using iframe tags would be the easiest way to run PropellerAds in Discourse, but notes that PropellerAds does not provide iframe tags.
simon offers a potential workaround, suggesting that the embed script might create an iframe tag. He recommends testing the embed script on a non-Ember site, such as WordPress, to see if it renders an iframe tag. If it does, the iframe src can be added to the Discourse allowed iframes site setting, and the iframe can be added to the House Ad HTML.
Hi @R_X
If propellerads will provide you iframe tags, you can run these as your “house ads” in the discourse ad plugin, or directly in your themes (or in a theme component).
The key is to get iframe tags because these are much easier to run than script tags in Ember applications.
FWIW,
I just did a quick search for you @R_X and it does seem (unless things have changed) that PropellerAds will NOT provide you iframe tags.
See for example:
If this is indeed the case, you will probably need a discourse plugin developer to help you because getting third-party script tags to work with Ember can be quite tricky.
It’s a bit of a hack, but I’ve come across quite a few cases where an embed script is just used to create an iframe tag. An easy way to test this is to add the embed script to a non-ember site, for example, try adding it to a WordPress site. You can then look at the HTML that is rendered by the script with your browser’s web inspector. If you see a that an iframe tag is rendered, try adding the value of the iframe’s src to your Discourse allowed iframes site setting.
You should be able to add <iframe src="<your_iframe_src>"></iframe> to your House Ad HTML. You’ll probably need to set height and width attributes on the iframe.