how to invest in paid advertising