Running for president is a classic way to get press, to maybe later actually get elected to a lower office like senator, or maybe to launch a news network that includes your name.
One problem with the above is that sometimes the electorial college does stupid things and actually elects attention seekers and abject fucking maniacs to office instead.