Bibliothèques clientes - Exemple de code
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Les bibliothèques clientes Google Ad Manager offrent des fonctions et des fonctionnalités qui facilitent le développement d'applications clientes.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/21 (UTC).
[null,null,["Dernière mise à jour le 2025/08/21 (UTC)."],[[["\u003cp\u003eGoogle Ad Manager client libraries simplify the development of client applications by providing wrapper functions and helpful features.\u003c/p\u003e\n"],["\u003cp\u003eLibraries are available for Java, .NET, PHP, Python, and Ruby, and each offers various distribution options like Maven, NuGet, Composer, PyPI, and gem.\u003c/p\u003e\n"],["\u003cp\u003eComprehensive documentation and code examples are readily accessible for each client library to guide developers through implementation.\u003c/p\u003e\n"]]],["Google Ad Manager offers client libraries in Java, .NET, PHP, Python, and Ruby to simplify client application development. Each library is distributed via platforms like Maven, NuGet, Composer, PyPI, or as compressed files. Developers can access code examples through GitHub links and find documentation within the respective GitHub repositories. The libraries provide wrapper functions and various features to facilitate the process of creating client applications.\n"],null,["# Client Libraries & Example Code\n\nThe Google Ad Manager client libraries offer wrapper functions and features that make it easier to develop client applications.\n\n| Client Library | Distribution | Code Examples | Documentation |\n|:---------------|:---------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------|\n| **Java** | [Maven](https://github.com/googleads/googleads-java-lib#maven-artifacts), [tar.gz](https://github.com/googleads/googleads-java-lib/releases) | [Browse Example Code](https://github.com/googleads/googleads-java-lib/tree/main/examples/admanager_axis/src/main/java/admanager/axis) | [Java Docs](//github.com/googleads/googleads-java-lib#google-ads-apis-client-library-for-java) |\n| **.NET** | [NuGet](https://www.nuget.org/packages/Google.Dfp/), [zip, tar.gz](//github.com/googleads/googleads-dotnet-lib/releases) | [Browse Example Code](//github.com/googleads/googleads-dotnet-lib/tree/main/examples/AdManager/CSharp) | [.NET Docs](//github.com/googleads/googleads-dotnet-lib#google-ads-api-net-client-library) |\n| **PHP** | [Composer](https://packagist.org/packages/googleads/googleads-php-lib), [tar.gz](https://github.com/googleads/googleads-php-lib/releases) | [Browse Example Code](https://github.com/googleads/googleads-php-lib/tree/HEAD/examples/AdManager) | [PHP Docs](//github.com/googleads/googleads-php-lib#google-ads-api-php-client-library) |\n| **Python** | [PyPI](//pypi.python.org/pypi/googleads), [tar.gz](https://github.com/googleads/googleads-python-lib/releases) | [Browse Example Code](https://github.com/googleads/googleads-python-lib/tree/main/examples/ad_manager) | [Python Docs](//github.com/googleads/googleads-python-lib#the-googleads-python-client-library) |\n| **Ruby** | [gem, zip, tar.gz](https://github.com/googleads/google-api-ads-ruby/releases) | [Browse Example Code](https://github.com/googleads/google-api-ads-ruby/tree/HEAD/ad_manager_api/examples) | [Ruby Docs](//github.com/googleads/google-api-ads-ruby#ads-api-client-libraries-for-ruby) |"]]