Biblioteka klienta PHP
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Biblioteka klienta PHP jest hostowana na stronie https://github.com/googleads/google-ads-php i jest też dostępna w systemach zarządzania zależnościami:
Minimalną wersję PHP obsługiwaną przez tę bibliotekę możesz sprawdzić w composer.json
. Wersja jest określana jako wartość parametru php
klucza require
.
video_library
Biblioteka filmów: wprowadzenie do biblioteki klienta PHP
Jak widać w composer.json
, biblioteka jest zależna od gRPC. Przed użyciem tej biblioteki zapoznaj się z sekcjami Getting started (Wprowadzenie) i Basic usage (Podstawowe użycie).
Aby skonfigurować bibliotekę klienta za pomocą OAuth, zapoznaj się z tymi przewodnikami:
Zapoznaj się z tymi przewodnikami, aby poznać funkcje i narzędzia biblioteki:
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-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-26 UTC."],[[["\u003cp\u003eThe Google Ads PHP client library is available on GitHub and through dependency management systems like Composer and Packagist.\u003c/p\u003e\n"],["\u003cp\u003eThe library depends on gRPC and has minimum PHP version requirements specified in its \u003ccode\u003ecomposer.json\u003c/code\u003e file.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can find getting started guides, basic usage instructions, and OAuth setup guides for various application flows within the documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe library offers features such as configuration, logging, Docker support, and utilities for transport, Protobuf, proxy configuration, and more.\u003c/p\u003e\n"],["\u003cp\u003eComprehensive guides cover advanced topics like FieldMasks, ResourceNames, performance optimization, and timeout handling for the PHP client library.\u003c/p\u003e\n"]]],[],null,["# The PHP Client Library\n\nThe PHP client library is hosted at \u003chttps://github.com/googleads/google-ads-php\u003e, and is also\navailable through dependency management systems:\n\n- [Composer](//getcomposer.org/)\n- [Packagist](//packagist.org/packages/googleads/google-ads-php)\n\nYou can check the minimum PHP version that this library supports in\n[`composer.json`](https://github.com/googleads/google-ads-php/blob/HEAD/composer.json). The version is specified\nas a value of `php` of the `require` key.\n\n\nvideo_library\n[Video library: Getting started with the PHP client library](https://www.youtube.com/playlist?list=PLKByxjzUC-N-qL2fhpv3Vug608cRWgHPN)\n\nAs indicated in `composer.json`, the library depends on [gRPC](//grpc.io/docs/quickstart/php.html). Check out [Getting\nstarted](https://github.com/googleads/google-ads-php/blob/HEAD/README.md#getting-started) and [Basic\nusage](https://github.com/googleads/google-ads-php/blob/HEAD/README.md#basic-usage) before using this library.\n\nTo set up the client library with OAuth, see the following guides:\n\n- [OAuth desktop application flow](/google-ads/api/docs/client-libs/php/oauth-desktop)\n- [OAuth web application flow](/google-ads/api/docs/client-libs/php/oauth-web)\n- [OAuth service account flow](/google-ads/api/docs/client-libs/php/oauth-service)\n\nCheck out the following guides for the library's features and utilities:\n\n- [Configuration](/google-ads/api/docs/client-libs/php/configuration)\n- [Logging](/google-ads/api/docs/client-libs/php/logging)\n- [Running in a Docker container](/google-ads/api/docs/client-libs/php/docker)\n- [Transport](/google-ads/api/docs/client-libs/php/transport)\n- [Protobuf](/google-ads/api/docs/client-libs/php/protobuf)\n- [Proxy Configuration](/google-ads/api/docs/client-libs/php/proxy)\n- [FieldMasks](/google-ads/api/docs/client-libs/php/fieldmasks)\n- [ResourceNames](/google-ads/api/docs/client-libs/php/resourcenames)\n- [Performance](/google-ads/api/docs/client-libs/php/performance)\n- [Timeout](/google-ads/api/docs/client-libs/php/timeout)"]]