House Ads in the official Ad Plugin

Not for my website. And even on bowsers where I don’t have AdBlock, there also I cannot see House Ads option.

1개의 좋아요

@thegurjyot just build app again. I don’t know if that is the right way but it worked for me.

./launcher rebuild app

3개의 좋아요

Is Houseads compatible with all kinds of code?
Can I use JS code to place the ad?
(I’m planning to place affiliate ads and they supplied me JS code)

Example:

<script type="text/javascript" language="javascript">
  var size='160x600';
  var pubname = 'abcd';
  var src='302';
</script>
<script type="text/javascript" language="javascript" src="abc.js"></script>

OR

should we place just basic html code

example:

<a href="ad.html">Click here to shop</a>
1개의 좋아요

I do not think JS is on the table but @neil can clarify.

1개의 좋아요

I did rebuild the website with putty and it worked for me. Now the option for House ads is available.

2개의 좋아요

You can put the <script> parts in a customization in the </body> and your link as a house ad.

4개의 좋아요

Could you please provide me the steps?
This could be a life saver for me.

Step1:
I should paste the entire <script> parts in </body>

Step2:
I’m confused here.
Could you please tell me what should be step2?

1개의 좋아요

Yes.

Create a new house ad with this content

<a href="ad.html">Click here to shop</a>

And add it to one of the 4 sections.

3개의 좋아요

@zogstrip
But I’m not seeing any link between step1 and step2?
Or am I not getting it?

Step2: is just creating a hyperlink - it doesn’t do anything else.

I’m trying to place ads by pasting JS code.
The JS code that I pasted in </body> isn’t making any difference.

Please correct me if I’m wrong.

1개의 좋아요

My bad, I misread. I thought you needed both steps… I missed the “OR:see_no_evil:

Yeah, I don’t think <script> tags are going to work in House Ad. You should only put “bare” html (often a link with/out an image).

3개의 좋아요

Hi Neil,

I created a house ad and used the site setting ‘no ads for groups’ to exclude certain groups from seeing ads, but they still do. Is this a bug or does this setting affect non-house ads only? Thanks!

1개의 좋아요

Even if it worked, it may only populate the ad unit once. We built the ad plugin to deal with refreshing ads for you when users navigate, which requires calling the ad network’s API whenever the page changes. Trying to put an ad network’s javascript into the house ads input fields isn’t going to work.

5개의 좋아요

I fixed an issue that sounds like that. Have you updated the plugin recently?

6개의 좋아요

Yes, it works fine now. Thanks for that!

5개의 좋아요

So we’ve implemented House Ads on our site, and we’ve realized an issue. If you’re using ads from a 3rd party provider, you normally need to provide a file /ads.txt (similar to robots.txt) in the root of the site. Is that something that’s easy to do? We can upload it manually, but perhaps it’s better to include an option to paste it in in the ads plugin.

3개의 좋아요

You should have a textarea field in your site settings where you can paste the contents of your /ads.txt file. It should look like this:

8개의 좋아요

It’s a shame that it’s called “adsense ads text” since it isn’t specific to adsense. Renaming it now will be annoying.

8개의 좋아요

That’s my mistake, sorry. I can take a look at renaming.

5개의 좋아요

As of this commit, the setting has been renamed to “ads txt” and moved to the Ad Plugin group:

10개의 좋아요

Hi, just curious, so the “Topic above suggested” ad will appear only for logged-in users and not others? I recently faced this issue on both the desktop and mobile version. Thoughts, please?

1개의 좋아요