हमारे प्रॉडक्ट के बारे में चर्चा करने और सुझाव देने के लिए, Google विज्ञापन और मेज़रमेंट कम्यूनिटी सर्वर में Google Ads के आधिकारिक Discord चैनल से जुड़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Perl क्लाइंट लाइब्रेरी को GitHub पर होस्ट किया जाता है. साथ ही, यह पैकेज CPAN पर उपलब्ध है.
यह लाइब्रेरी, Perl के 5.28.1 या इसके बाद के वर्शन के साथ काम करती है. इस लाइब्रेरी का इस्तेमाल करने के लिए, पहले ज़रूरी शर्तें पूरी करें.
REST API प्रोटोकॉल
Perl क्लाइंट लाइब्रेरी में, सेवा, संसाधन, सूची, और गड़बड़ी जैसी क्लास इकाइयां, प्रोटोकॉल बफ़र की परिभाषाओं को पार्स करके जनरेट की जाती हैं.
स्ट्रक्चर्ड डेटा को सीरियलाइज़ करने के तरीके के बारे में ज़्यादा जानने के लिए, प्रोटोकॉल बफ़र दस्तावेज़ देखें.
Google Ads API से कनेक्ट करने के लिए, क्लाइंट लाइब्रेरी JSON में एचटीटीपी अनुरोध बनाती है. इसके बाद, उसे एचटीटीपी 1.1 के ज़रिए REST एंडपॉइंट पर भेजती है. साथ ही, जवाब को JSON ऑब्जेक्ट के तौर पर डीसीरियलाइज़ करती है और नतीजों का विश्लेषण करती है.
[null,null,["आखिरी बार 2025-08-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe Perl client library for the Google Ads API is available on GitHub and CPAN, supporting Perl version 5.28.1 or greater.\u003c/p\u003e\n"],["\u003cp\u003eThis library uses the JSON REST protocol over HTTP 1.1 since gRPC is not supported with Perl.\u003c/p\u003e\n"],["\u003cp\u003eClient library classes are generated from protocol buffer definitions, enabling structured data serialization.\u003c/p\u003e\n"],["\u003cp\u003eUsage instructions and OAuth2 authentication guides are available in the provided links for various application flows.\u003c/p\u003e\n"]]],[],null,["# The Perl Client Library\n\nThe Perl client library is hosted on [GitHub](https://github.com/googleads/google-ads-perl), and the package is\navailable on [CPAN](//metacpan.org/release/Google-Ads-GoogleAds-Client).\n\nThe library supports Perl version 5.28.1 or greater. To use this library, first\ncomplete the [prerequisites](/google-ads/api/docs/get-started/introduction).\n\nREST API protocol\n-----------------\n\n| **Note:** The Google Ads API exposes both standard JSON REST endpoints and a high-performance [gRPC](//grpc.io) interface. Since Perl is not a [supported\n| language](//grpc.io/docs) in the gRPC stack, this client library is implemented on the JSON REST protocol over HTTP 1.1.\n\nClass entities---such as service, resource, enum, and error---in the\nPerl client library are generated by parsing the [protocol buffer\ndefinitions](//github.com/googleapis/googleapis/tree/master/google/ads/googleads).\nTo learn more about how structured data is serialized, refer to the [protocol\nbuffer documentation](/protocol-buffers/docs/overview).\n\nTo connect with the Google Ads API, the client library creates an HTTP request in\n[JSON](//www.json.org/json-en.html), sends it to the REST endpoint over HTTP\n1.1, deserializes the response as a JSON object, and interprets the results.\n\nUsage\n-----\n\nSee [Getting\nstarted](https://github.com/googleads/google-ads-perl/blob/HEAD/README.md#getting-started) and [Basic\nusage](https://github.com/googleads/google-ads-perl/blob/HEAD/README.md#basic-usage) to start using this\nlibrary.\n\nTo get OAuth2 refresh tokens, refer to the following guides:\n\n- [OAuth desktop application flow](/google-ads/api/docs/client-libs/perl/oauth-desktop)\n- [OAuth web application flow](/google-ads/api/docs/client-libs/perl/oauth-web)\n\nTo make API calls using OAuth2 service accounts, see the [OAuth service\naccount flow](/google-ads/api/docs/client-libs/perl/oauth-service) guide."]]