Do Google provide Adsense and Adwords API so that application can be designed to get data from these accounts in mannerly way.
I found this about the Secret AdSense API: There exists a private API in Adsense for retrieving ads via XML. This would allow a customer to completely customize the look of the ads and avoid the Ads by Goooogle appendage entirely. The API is RESTful, extremely lightweight and includes some very interesting options like returning only adult ads. If I try to use the API, it fails (Forbidden) because my host IP address does not have access. http://google.blognewschannel.com/index.php/archives/2005/10/18/secret-adsense-api/ Alex
You can find several http://www.dotnetspider.com/adsense/AdSenseAPISamples.aspx sample code for AdSense APIs and a sample website which demonstrates various AdSense API calls.
Google has an AdSense API. If you want to use it you must create a minimum of services though. You can't use it just to retrieve something. You need to register as beta tester to use it, though.
Google remoevd this restriction. Now anyone can participate in AdSense API integration. Only thing is you must submit your website for review after implementing all the required functionalities. You can see a clean implementation of AdSense API integration here - http://www.dotnetspider.com/adsense/