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 libraryDocumentationAll client library samples
Google API Client Library for .NETGoogle API Client Library for .NET.NET samples
Google API Client Library for Javahttps://developers.google.com/api-client-library/java/Java samples
Google API Client Library for JavaScriptGoogle API Client Library for JavaScriptJavaScript samples
Google API Client Library for Objective-C for RESThttps://.com/google/google-api-objectivec-client-for-restObjective-C samples
Google API Client Library for PHP ()https://.com/google/google-api-php-clientPHP samples
Google API Client Library for Python (v1/v2)Google API Client Library for Python (v1/v2)Python samples

These early-stage libraries are also available:

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