ไลบรารีของไคลเอ็นต์ PHP
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ไลบรารีของไคลเอ็นต์ PHP โฮสต์อยู่ที่ https://github.com/googleads/google-ads-php และยัง
พร้อมใช้งานผ่านระบบการจัดการการขึ้นต่อกันด้วย
คุณตรวจสอบเวอร์ชัน PHP ขั้นต่ำที่ไลบรารีนี้รองรับได้ใน
composer.json
เวอร์ชันจะระบุเป็นค่าของ php
ของคีย์ require
video_library
คลังวิดีโอ: การเริ่มต้นใช้งานไลบรารีของไคลเอ็นต์ PHP
ดังที่ระบุไว้ใน composer.json
ไลบรารีขึ้นอยู่กับ gRPC โปรดดูการเริ่มต้นใช้งานและการใช้งานขั้นพื้นฐานก่อนใช้ไลบรารีนี้
หากต้องการตั้งค่าไลบรารีของไคลเอ็นต์ด้วย OAuth โปรดดูคำแนะนำต่อไปนี้
ดูคำแนะนำต่อไปนี้สำหรับฟีเจอร์และยูทิลิตีของไลบรารี
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-26 UTC
[null,null,["อัปเดตล่าสุด 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)"]]