Google AdWords API today has announced the integration of code samples directly into the developer guide.
"In the guide, for methods that have corresponding code samples, we've added a new "Samples" section. When you expand the plus box next to these sections, you will see":
- examples of a method's usage in multiple (programming) languages,
- syntax highlighting and line numbers,
- easy navigation, and
- a link to a full sample.