ad styles and additional error checks for ads