Integrate Google Adword in website

How to integrate google adword in my web site ?
I want to manage my compaign from my web site which are on google Adword i found google's api for that but don't know how to use it.
I found their code also from here

But it is not easily understable, so can any body provide me some easy code to call google adword API ?