Samples and Libraries

Often, the easiest way to learn how to use an API can be to look at sample code. This page provides links to samples and a number of convenient ways to access the Campaign Manager 360 API.

Note: See Get Started for Data Transfer v2.0 examples.

The Campaign Manager 360 API is built on HTTP and JSON, so any standard web stack can send requests to it and parse the responses.

However, instead of creating HTTP requests and parsing responses manually, you may want to use the Google APIs Client Libraries. The client libraries provide better language integration, improved security, and support for making calls that require user authorization.

In the tables below, the first column shows each library's stage of development; note that some are still in early stages. The second column links to the main page for each library.

The set of mature libraries includes:

Client library Documentation All client library samples
Google API Client Library for .NET Google API Client Library for .NET .NET samples
Google API Client Library for Java https://developers.google.com/api-client-library/java/ Java samples
Google API Client Library for JavaScript Google API Client Library for JavaScript JavaScript samples
Google API Client Library for Objective-C for REST https://github.com/google/google-api-objectivec-client-for-rest Objective-C samples
Google API Client Library for PHP () https://github.com/google/google-api-php-client PHP samples
Google API Client Library for Python Google API Client Library for Python Python samples

These early-stage libraries are also available:

Client library Documentation All client library samples
Google API Client Library for Go (alpha) https://github.com/google/google-api-go-client Go samples
Google API Client Library for Node.js (alpha) https://github.com/google/google-api-nodejs-client/ Node.js samples
Google API Client Library for Ruby (alpha) Google API Client Library for Ruby Ruby samples