Client Libraries & Example Code
Stay organized with collections
Save and categorize content based on your preferences.
The Google Ad Manager client libraries offer wrapper functions and features that make it easier to develop client applications.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 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) |"]]