Click here to see your recently viewed pages and most viewed pages.
Hide
DoubleClick Ad Exchange Buyer REST API

Libraries and Samples

The Google API client libraries, which are available in a number of popular programming languages, make it easy to use the Ad Exchange Buyer REST API and offer benefits including 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 libraries include:

Client library Documentation All client library samples Examples
Google API Client Library for .NET Google API Client Library for .NET .NET Samples ListAccounts.cs
InsertCreative.cs
ListDirectDeals.cs
InsertPretargetingConfig.cs
Google API Client Library for Java Google API Client Library for Java Java samples GetAllAccounts.java
SubmitCreative.java
GetAllDirectDeals.java
InsertPretargetingConfig.java
Google API Client Library for JavaScript (beta) Google API Client Library for JavaScript
Google API Client Library for Objective-C Google API Client Library for Objective-C
Google API Client Library for PHP (beta) Google API Client Library for PHP PHP samples GetAllAccounts.php
SubmitCreative.php
GetDirectDeals.php
InsertPretargetingConfig.php
Google API Client Library for Python Google API Client Library for Python Python samples list_accounts.py
insert_creative.py
list_direct_deals.py
insert_pretargeting_config.py
Google API Client Library for Ruby (alpha) Google API Client Library for Ruby Ruby samples list_accounts.rb
insert_creative.rb
list_direct_deals.rb
insert_pretargeting_config.rb

Things to keep in mind when working with the sample code:

  • The Ad Exchange Buyer REST API is built on HTTP and JSON, and any standard web stack can read data from it.
  • All operations through this API require authorization. The Google APIs client libraries described above make this easy to achieve.

Snippet status report generator

You can use the Snippet Status Report Generator to generate Snippet Status Reports.