Report banners in news feed (ajax) in Using Revive Adserver Posted June 14, 2016 Hi, In my newsfeed which is implemented with infinite scrolling, I like to alternate news with some banners. In the news-feed (which is loaded by ajax) there are some banner elements like: <ins data-revive-zoneid="229" data-revive-block="1" data-revive-id="5b3abbc94f96a0b5d375d85178a9a021"></ins> That element has to be filled by Revive adserver. Because asyncjs.php works only once, I do: reviveAsync = null; $.getScript('//delivery.ads.myserver.tld/www/delivery/asyncjs.php'); But that issn't nice code, and the history of the banners is not saved in the dom. Any solution?
banners in news feed (ajax)
in Using Revive Adserver
Posted
Hi,
In my newsfeed which is implemented with infinite scrolling, I like to alternate news with some banners.
In the news-feed (which is loaded by ajax) there are some banner elements like:
<ins data-revive-zoneid="229" data-revive-block="1" data-revive-id="5b3abbc94f96a0b5d375d85178a9a021"></ins>
That element has to be filled by Revive adserver.
Because asyncjs.php works only once, I do:
reviveAsync = null;
$.getScript('//delivery.ads.myserver.tld/www/delivery/asyncjs.php');
But that issn't nice code, and the history of the banners is not saved in the dom.
Any solution?