Biblioteki klienta i przykładowy kod
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Biblioteki klienta Google Ad Managera oferują funkcje kodu i funkcje ułatwiające tworzenie aplikacji klienckich.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-21 UTC.
[null,null,["Ostatnia aktualizacja: 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) |"]]