Created base dynamic ad class