Who had the idea to build the great wall of china?

Shi Huangdi, "the First Emperor"

Qin Dynasty

Roughly 220 BCE to 200 BCE

*** Just started, many dynasties continued