We recommend using a [Google API client library](https://developers.google.com/api-client-library) and the
following code samples to support your implementation. Client libraries support
authorization and increased security.

The Authorized Buyers APIs are JSON REST APIs, and any standard web
stack can read data from them. All operations through the Authorized Buyers APIs
require authorization.

You can also view samples for individual operations in our [developer
documentation](https://developers.google.com/authorized-buyers/apis/guides/start).

The following samples are available for Authorized Buyers APIs:

## Marketplace

Code samples are available for the [Marketplace API](https://developers.google.com/authorized-buyers/apis/guides/marketplace/overview)
in [Java](https://github.com/googleads/authorized-buyers-marketplace-api-samples/tree/main/java).

## Real-time Bidding

[Code samples](https://github.com/googleads/authorized-buyers-rtb-api-samples) are
available for the [Real-time Bidding
API](https://developers.google.com/authorized-buyers/apis/guides/rtb-api/overview) in the following
languages:

|---|---|---|---|---|
| [C#](https://github.com/googleads/authorized-buyers-rtb-api-samples/tree/main/CSharp) | [Java](https://github.com/googleads/authorized-buyers-rtb-api-samples/tree/main/java) | [PHP](https://github.com/googleads/authorized-buyers-rtb-api-samples/tree/main/php) | [Python](https://github.com/googleads/authorized-buyers-rtb-api-samples/tree/main/python) | [Ruby](https://github.com/googleads/authorized-buyers-rtb-api-samples/tree/main/ruby) |

## Ad Exchange Buyer II

> [!WARNING]
> **Deprecated:** Ad Exchange Buyer API II is deprecated. All resources other than those used for [RTB Troubleshooting](https://developers.google.com/authorized-buyers/apis/guides/v2/rtb-troubleshooting) have been sunset as of September 29th, 2023.

[Code samples](https://github.com/googleads/googleads-adxbuyer-examples) are
available for the [Ad Exchange Buyer II
API](https://developers.google.com/authorized-buyers/apis/guides/rtb-api/overview) in the following
languages:

|---|---|---|---|---|
| [C#](https://github.com/googleads/googleads-adxbuyer-examples/tree/main/CSharp) | [Java](https://github.com/googleads/googleads-adxbuyer-examples/tree/main/java) | [PHP](https://github.com/googleads/googleads-adxbuyer-examples/tree/main/php) | [Python](https://github.com/googleads/googleads-adxbuyer-examples/tree/main/python) | [Ruby](https:///github.com/googleads/googleads-adxbuyer-examples/tree/main/ruby) |