India has slapped a nationwide ban on television ads for condoms during prime time hours, citing rules prohibiting "vulgar" content and concerns over children viewing salacious material.