My favorites | English | Sign in

AdSense Host API

Sample Code and Client Libraries

Google provides the following sample code for clients that use the AdSense Host API. This code is provided for educational purposes only. Although we have tested all sample code, we cannot provide guarantees or support for it.

Version 3 Standalone Sample Code

Sample code for AdSense Host API v3 is provided as a series of projects on Google Code:

Python

Recommended SOAP tookit: SOAPpy

Java

Recommended SOAP toolkit: Apache Axis2 v1.4

Project Home and stub instructions

C#

Project Home and stub instructions

XML

PHP

Recommended SOAP tookit: SoapClient

Version 3 Client Libraries

This lists the client libraries available for AdSense Host API v3, with direct links to samples.

PHP

APIlity

Deprecated. Please use standalone code samples above.