How can I insert a block into each page of a view if the page is loaded via ajax? I am trying to insert a SimpleAds block for each page of a View. But pages are loaded via AJAX using infinite pager. How can I insert a SimpleAds block into each dynamically loaded page of results?
You want to add a javascript such one below to either your custom module or theme (would recommend module). This will react on a view that has a class view-infinitestack, so replace it to match yours view.

Where the debugging code is (console.log) you can add whatever JQuery you need. Eg. ajax call to fetch new content and inject it in another div, sidebar, or anywhere else on the page just by using JQuery, etc...

(function($) {
  Drupal.behaviors.events = {
    attach: function(context, settings) {
      $('.view-infinitestack', context).ajaxSuccess(function(){
        // add your js here to refresh a block
        console.log('success');
      });
    }
  };
})(jQuery);