You rock man. I had a copypasta moment and didn’t strip the closing div from one of the adverts, as you say the one with id of “5”. That broke everything else and caused me no end of troubleshooting in the template.
Now it only displays 20 at a time, but I have more than that… is this random or weighted or ? can I guarantee equal amount of viewership is given to the list? I’d want it to be random as to which ads get displayed in which order.