sets up the main-ad-block