Google have just released AdWords API beta :

Google’s free AdWords API service lets developers engineer computer programs that interact directly with the AdWords server. With the applications created, advertisers and third parties can more efficiently – and creatively – manage their large AdWords accounts and campaigns.

There is a blog also dedicated for the AdWords API : http://adwordsapi.blogspot.com/

Source : Inside AdWords