如需查看有关如何使用客户端库的示例,请参阅快速入门指南。
客户端库参考文档
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThis page provides resources for using the Marketing Platform Admin API client libraries in various programming languages, including Java, PHP, Python, Node.js, .NET, and Ruby.\u003c/p\u003e\n"],["\u003cp\u003eEach language section offers links to installation guides, reference documentation, public artifacts, client library source code, and code samples.\u003c/p\u003e\n"],["\u003cp\u003eThe quick start guide offers examples for using the client libraries in all of the listed programming languages.\u003c/p\u003e\n"],["\u003cp\u003eUsers can access detailed information about the libraries and how to integrate them into their projects via the provided resources.\u003c/p\u003e\n"],["\u003cp\u003eThe available client libraries provide ways to interact with the Marketing Platform Admin API via common programming languages, giving users the ability to manage their marketing platforms.\u003c/p\u003e\n"]]],[],null,["# Client Libraries Reference\n\nSee the [Quick start guide](/marketing-platform/devguides/api/admin/v1/quickstart-client-libraries) for examples of using\nthe client libraries. \n\n### Java\n\n-\n [Java client library installation guide](https://github.com/googleapis/google-cloud-java/blob/main/java-marketingplatformadminapi/README.md#quickstart)\n\n- [Reference documentation](https://googleapis.dev/java/Google.Ads.MarketingPlatform.Admin.V1Alpha/latest/)\n\n- [Public artifact](https://central.sonatype.com/namespace/com.google.ads-marketingplatform)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-java/tree/main/java-marketingplatformadminapi)\n\n- [Samples](https://github.com/googleapis/google-cloud-java/tree/main/java-marketingplatformadminapi/samples/snippets/generated/com/google/ads/marketingplatform/admin/v1alpha/marketingplatformadminservice)\n\n### PHP\n\n-\n [PHP client library installation guide](https://github.com/googleapis/php-ads-marketingplatform-admin?tab=readme-ov-file#installation)\n\n- [Reference documentation](https://cloud.google.com/php/docs/reference/googleads/marketingplatform-admin/latest)\n\n- [Public artifact](https://packagist.org/packages/googleads/marketingplatform-admin)\n\n- [Client library source code](https://github.com/googleapis/php-ads-marketingplatform-admin)\n\n- [Samples](https://github.com/googleapis/php-ads-marketingplatform-admin/tree/main/samples/V1alpha/MarketingplatformAdminServiceClient)\n\n### Python\n\n-\n [Python client library installation guide](https://github.com/googleapis/google-cloud-python/blob/main/packages/google-ads-marketingplatform-admin/README.rst#installation)\n\n- [Reference documentation](https://googleapis.dev/python/google-ads-marketingplatform-admin/latest/)\n\n- [Public artifact](https://pypi.org/project/google-ads-marketingplatform-admin)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-python/tree/main/packages/google-ads-marketingplatform-admin)\n\n- [Samples](https://github.com/googleapis/google-cloud-python/tree/main/packages/google-ads-marketingplatform-admin/samples/generated_samples)\n\n### Node.js\n\n-\n [Node.js client library installation guide](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-marketingplatform-admin#quickstart)\n\n- [Reference documentation](https://cloud.google.com/nodejs/docs/reference/marketing-platform-admin/latest)\n\n- [Public artifact](https://www.npmjs.com/package/@google-ads/marketing-platform-admin)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-marketingplatform-admin)\n\n- [Samples](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-marketingplatform-admin/samples/generated/v1alpha)\n\n### .NET\n\n-\n [.NET client library installation guide](https://www.nuget.org/packages/Google.Ads.MarketingPlatform.Admin.V1Alpha/)\n\n- [Reference documentation](https://googleapis.dev/dotnet/Google.Ads.MarketingPlatform.Admin.V1Alpha/latest/)\n\n- [Public artifact](https://www.nuget.org/packages/Google.Ads.MarketingPlatform.Admin.V1Alpha)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-dotnet/tree/main/apis/Google.Ads.MarketingPlatform.Admin.V1Alpha/Google.Ads.MarketingPlatform.Admin.V1Alpha)\n\n- [Samples](https://github.com/googleapis/google-cloud-dotnet/tree/main/apis/Google.Ads.MarketingPlatform.Admin.V1Alpha/Google.Ads.MarketingPlatform.Admin.V1Alpha.GeneratedSnippets)\n\n### Ruby\n\n-\n [Ruby client library installation guide](https://github.com/googleapis/google-api-ruby-client/blob/main/generated/google-apis-marketingplatformadmin_v1alpha/OVERVIEW.md#installation)\n\n- [Reference documentation](https://googleapis.dev/ruby/google-apis-marketingplatformadmin_v1alpha/latest)\n\n- [Public artifact](https://rubygems.org/gems/google-apis-marketingplatformadmin_v1alpha)\n\n- [Client library source code](https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-marketingplatformadmin_v1alpha)"]]