GoAdserver
Live demo

Infinite content feed: more as you scroll

A feed of cards under an article keeps loading as you scroll. Our own blog posts and native ads take turns, and each ad only counts once it is really on screen.

This is a live zone on a demo account with 15 made-up advertisers. The articles are real; the ads are not.

DEMO 1

An infinite feed under an article

Under the article, a feed of cards that keeps loading as the reader scrolls: a page of ads, mixed with the site's own articles from its RSS feed, then another page when the end comes near. Here the articles are the real posts of our blog (a snapshot of the latest 20) and the ads come from the demo account's native campaigns. The feed stops after six pages. Every page asks the ad server again and tells it which ads this feed already showed, so each page brings advertisers the reader has not seen yet instead of the same top bidders.

Zone #12512621 · native zone · 2 ads per page · Infinite content feed on · 2 of our articles before each ad · 6 pages at most

Blog

What happens when a page asks for an ad

An ad zone is the spot on your page where ads appear. Every zone has a type that decides what it shows and how: a banner of a fixed size, a block of native cards, a video player, a pop-under, a push subscription prompt. You create the zone once, paste its code into your page and from then on the ad server decides, on every page view, which campaign fills it.

That decision is made in a few milliseconds. The ad server looks at the visitor (country, device, browser, language), at the page (the site, the zone, its keywords and categories) and at every campaign that is allowed to run there. Campaigns that do not target this visitor drop out, capped ones wait their turn, and from what is left the one that earns the most for this impression wins.

Native zones work the same way but show cards instead of a banner: an image, a headline, a line of text and the advertiser's address, styled to match your site. Because they read like your own content, readers look at them instead of skipping past. The infinite feed below is a native zone too, with one difference: it never runs out.

↓ Keep scrolling: the feed loads more as you reach its end

Show the code
<!-- once per page, in <head> -->
<script src="https://g2.gsrv.dev/ctrl/19460.js"></script>
<!-- where it goes -->
<div id="id_12512621"></div>
<script>
goCtrl.add({"plugin":"feed","fn":"init","fn_params":{
	"sid":12512621,
	"display":"id_12512621",
	"rss":"/demo/content-feed/feed.xml",
	"ad_every":2,
	"max_pages":6,
	"label":"Sponsored",
	"title":"More from the GoAdserver blog"
}});
</script>
SET UP

How to set one up

Create a native zone, switch on Infinite content feed in the zone settings and copy the zone code again: it now loads the feed plugin instead of the plain native one. Put the code where the feed should start, usually right under the article. Your RSS feed is where your own articles come from (a path such as /feed/ on your site; leave it empty for ads only), Your articles before each ad sets the mix and Pages at most how often it loads more. The zone's rows × columns set how many ads one page asks for.

Impressions are counted per ad card, only when at least half of the card is on screen — a card the reader never scrolls to is never counted

About the format: Infinite content feed ads · Publisher manual: Native ad zones · All formats: Ad formats · More demos: all live demos

Run these formats on your own network

Every format on this page is part of the GoAdserver ad server. Talk to us about your platform.

Contact us