An ad on a phone box by a school, and another aired during a Mr Bean cartoon have been criticised.