Which of the stages of advertising research is most important?

Which of the stages of advertising research is most important? Is it the research conducted before the ad is produced, the research during the production of the ad, or the research after the ad is made? Explain your answer.