Additional load of ads

Additional load of ads is available when user arrives the lower part of website and read extra feed (UI) on feed-typed website.

  • Include designating element of ad position, which is the same as initial state on DOM inserted when reading extra feed.
<div data-rfp-adspot-id="MjQzOjIw" style="display:none"></div>
  • Call for RFP.InFeed.Default.reloadAds() method of SDK after reading extra feed. Acquire and display ads cases after calling.
// Example of function called after reading extra feed
function onAdditionalFeedLoaded() {
  // ...

  // Call for “reloadAds” method of SDK
    RFP.InFeed.Default.reloadAds();
}