I have a client project where users register to post news and articles. But the site owners want to run google ads in articles pages and in return give the users a percentage of the AdSense returns, either for the month or week as the case maybe. I have designed the frontend end cruds but the AdSense part is where I got stuck. I need suggestions on how to code that part of the project.
You can implement the AdSense API from Google for this. I looked around, but I didn't see any updated packages for it. I think you have to build this from scratch in the end.