How to display native articles in infinite scroll

Conceptually there is no difference between teaser and article placements other than articles being a more complex type of creative. We use that fact to provide an "infinite" scroll solution, where a native article is loaded in the feed.

    .addTemplate('com.advisible.native.article', adk.template.config()

    .addContainer('native-scroll', adk.container.config()
            adapters: {
                'com.advisible.native.article': {
                    afterLoad: ({ err, item, elem }) => {
                        !err && item && adk.container.attach(elem)

    .addContainer('native-marking', adk.container.config()
        .provider(({ elem }) => {
            elem.innerHTML = '<div class="native-article__marking">ADVERTISEMENT</div>'

Scroll down