how to calculate guaranteed profit for your ads