Doesn't happen often in software, of course.
You spend $100K in advertising. You get an additional $1000K in revenue, on which you make a 9% profit. You bank $90K profit from this.
You're $10K worse off for having done that advertising.
Doesn't happen often in software, of course.