How to calculate ad revenue of an app