I don't mean spending time on marketing as in advertising, I mean market research, segmentation, positioning... The things you should do before you write any production code if possible.
I hear Blue Ocean Strategy is a good book to help find a vacant position.