AI-generated Key Takeaways
-
This page offers resources for learning how to use the Campaign Manager 360 API, primarily through sample code and client libraries.
-
The Campaign Manager 360 API is built on HTTP and JSON, making it accessible to any standard web stack.
-
Google provides client libraries in various programming languages (like Python, Java, .NET) to simplify API interaction and enhance security.
-
These client libraries offer different levels of maturity, with some in early stages of development but still usable by adapting existing samples.
-
Sample code is provided for most client libraries and can be accessed through the links in the tables on this page.
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 td> |
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 (v1/v2) | Google API Client Library for Python (v1/v2) | Python samples |
These early-stage libraries are also available:
Client library | Documentation | All client library samples |
---|---|---|
Google API Client Library for Go | 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 td> |
Google API Client Library for Ruby (alpha) | Google API Client Library for Ruby | Ruby samples |