The advert mimicked a horror movie and was likely to scare youngsters, the ad authority says.