Samples and Libraries

The AdSense Host API is built on HTTP and JSON, so any standard HTTP client can send requests to it and parse the responses.

However, the Google APIs client libraries provide better language integration, improved security, and support for making calls that require user authorization. The client libraries are available in a number of programming languages; by using them you can avoid the need to manually set up HTTP requests and parse the responses.

Client Library Distribution Code Examples Documentation
Java tar.gz Browse Example Code JavaDoc
.NET NuGet, zip, tar.gz Browse Example Code -
PHP Downloads Browse Example Code -
Python Downloads Browse Example Code -
Ruby Downloads - -