The Google API client libraries are the recommended way to use the Content API. The client libraries
eliminate the need to manually set up HTTP requests and parse the responses. They also provide
language integration, improved security, and support for calls that require user authorization.

## Use the client libraries

The easiest way to get started with the client libraries is to download the code examples from GitHub and run one of the sample files. If you are new to the Content API, be sure to also check out the [Get started](https://developers.google.com/shopping-content/guides/quickstart) guide. For additional information about setting up and using the client libraries, see [Google API Client Libraries](https://developers.google.com/api-client-library).

## Samples and libraries for Content API v2.1 (stable version)

| Client library | Code examples | Client library reference for Content API |
|:---|:---|:---|---|
| [Java](https://developers.google.com/api-client-library/java/apis/content/v2.1) | [View on GitHub](https://github.com/googleads/googleads-shopping-samples/tree/HEAD/java) | [Reference docs](https://googleapis.dev/java/google-api-services-content/latest/index.html) |
| [Python](https://developers.google.com/api-client-library/python/apis/content/v2.1) | [View on GitHub](https://github.com/googleads/googleads-shopping-samples/tree/HEAD/python) | [Reference docs](https://googleapis.github.io/google-api-python-client/docs/dyn/content_v2_1.html) |
| [.NET](https://www.nuget.org/packages/Google.Apis.ShoppingContent.v2_1) | [View on GitHub](https://github.com/googleads/googleads-shopping-samples/tree/HEAD/dotnet) | [Reference docs](https://googleapis.dev/dotnet/Google.Apis.ShoppingContent.v2_1/latest/api/Google.Apis.ShoppingContent.v2_1.html) |
| [PHP](https://developers.google.com/api-client-library/php) | [View on GitHub](https://github.com/googleads/googleads-shopping-samples/tree/HEAD/php) | [Reference docs](https://googleapis.github.io/google-api-php-client/main/) |
| [Go](https://github.com/google/google-api-go-client) | [View on GitHub](https://github.com/googleads/googleads-shopping-samples/tree/HEAD/golang) |   |
| [Ruby](https://developers.google.com/api-client-library/ruby/apis/content/v2.1) | [View on GitHub](https://github.com/googleads/googleads-shopping-samples/tree/HEAD/ruby) |   |
| [JavaScript](https://developers.google.com/api-client-library/javascript) |   |   |   |
| [Node.js](https://github.com/googleapis/google-api-nodejs-client/tree/master/src/apis/content) |   |   |
| [Objective-C](https://github.com/google/google-api-objectivec-client-for-rest) |   |   |