I am going to develop a site that allow advertisers to post their products/services. Each product/service will have a link back to the advertiser's site. I plan to implement a pay-per-click business model.
Is there a Google API I can use to keep track of the clicks to the advertiser's listings? I'm interested in a solution that already captures all sort of metrics, detect click frauds, etc. I also want to provide advertisers reports about their ads.
One possible solution, I think, is to use Google Analytics. Since I will store in my database the link back to the advertiser's site, I suppose I could use the "exit" information from Analytics to determine how many users clicked on the advertiser's link. Is this a good solution or is there a better one?