Tutorial

Place Google Adsense or html/js code snippets as extra rows into View results

When it comes to monetizing traffic on your websites, placing the Google Adsense code snippets has always been easy. Usually, the process is simple: the ad's code snippet has to be put into content block and then placed anywhere on site, or just hardcoded directly into site's templates.

However, if you have a list of posts built with a regular view and you want to periodically show some ad between them, the task requires some coding. As for me, it has always been a case, because I could not find any suitable simple Drupal module that would resolve this task.

So after all, in order to get rid of routine coding, I created a module called Views Row Insert.