Cartoon figures and young stars will be banned from many adverts in a bid to protect children.