I would start with a simple payment platform like Paddle or Gumroad and simply manually copy-pasting the add for the given amount of time (e.g. one month).
Unless you plan of having hundreds of avertisers on your site, it should work fine. Or are you trying to build some sort of AdSense/BuySellAds competitor?