Digital marketing professional does not need to know to code. But the knowledge of programming languages is a value addition.