Ad revenue disbursement system

I am going to have my games be open source and free as long as you don’t tinker with the ad delivery system, so I can keep improving the game and paying my animators coders etc, is there any easy way to set up a % share on a google ads account? Does anyone have any experience with this?