v1.4 of the AdSense Management API is now deprecated. This version will stop returning data on October 12, 2021. Please migrate to v2 as soon as possible.

Samples and Libraries

The AdSense Management 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 Browse Example Code -
PHP Downloads Browse Example Code -
Python Downloads Browse Example Code -
Ruby Downloads Browse Example Code -