Try the MCP server for Google Analytics. Install from
GitHub, and see the
announcement for more details.
Client Libraries Reference
Stay organized with collections
Save and categorize content based on your preferences.
See the Quick start guide for examples of using the
client libraries.
Go
go get google.golang.org/genproto/googleapis/analytics/admin/v1beta
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[[["\u003cp\u003eThis page provides quick access to client libraries for Google Analytics Admin API in various programming languages including Java, PHP, Python, Node.js, .NET, Ruby and Go.\u003c/p\u003e\n"],["\u003cp\u003eFor each language, you can find installation guides, reference documentation, public artifacts, source code, and samples.\u003c/p\u003e\n"],["\u003cp\u003eThese resources help developers integrate Google Analytics Admin API into their applications to manage and analyze their Google Analytics data.\u003c/p\u003e\n"],["\u003cp\u003eUtilize the provided links to access specific language resources and quickly integrate Google Analytics Admin API functionality.\u003c/p\u003e\n"]]],["The content provides resources for integrating with Google Analytics Admin using various programming languages. For each language (Java, PHP, Python, Node.js, .NET, Ruby, Go), it lists the client library installation guide, reference documentation, public artifact, client library source code, and code samples. Go only contains the public artifact, client library source code, and reference documentation. A quick start guide is available for using client libraries.\n"],null,["# Client Libraries Reference\n\nSee the [Quick start guide](/analytics/devguides/config/admin/v1/quickstart-client-libraries) for examples of using the\nclient libraries. \n\n### Java\n\n-\n [Java client library installation guide](https://github.com/googleapis/google-cloud-java/blob/main/java-analytics-admin/README.md)\n\n- [Reference documentation](https://googleapis.dev/java/google-analytics-admin/latest/index.html)\n\n- [Public artifact](https://search.maven.org/artifact/com.google.analytics/google-analytics-admin)\n\n- [Client library source code](https://github.com/googleapis/java-analytics-admin)\n\n- [Samples](https://github.com/googleanalytics/java-docs-samples/tree/main/google-analytics-admin)\n\n### PHP\n\n-\n [PHP client library installation guide](https://github.com/googleapis/php-analytics-admin#installation)\n\n- [Reference documentation](https://cloud.google.com/php/docs/reference/analytics-admin/latest)\n\n- [Public artifact](https://packagist.org/packages/google/analytics-admin)\n\n- [Client library source code](https://github.com/googleapis/php-analytics-admin)\n\n- [Samples](https://github.com/googleanalytics/php-docs-samples/tree/main/google-analytics-admin)\n\n### Python\n\n-\n [Python client library installation guide](https://github.com/googleapis/google-cloud-python/blob/main/packages/google-analytics-admin/README.rst#installation)\n\n- [Reference documentation](https://googleapis.dev/python/analyticsadmin/latest/index.html)\n\n- [Public artifact](https://pypi.org/project/google-analytics-admin/)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-python/tree/main/packages/google-analytics-admin)\n\n- [Samples](https://github.com/googleanalytics/python-docs-samples/tree/main/google-analytics-admin)\n\n### Node.js\n\n-\n [Node.js client library installation guide](https://googleapis.dev/nodejs/analytics-admin/latest/index.html#installing-the-client-library)\n\n- [Reference documentation](https://googleapis.dev/nodejs/analytics-admin/latest/index.html)\n\n- [Public artifact](https://www.npmjs.com/package/@google-analytics/admin)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-analytics-admin)\n\n- [Samples](https://github.com/googleanalytics/nodejs-docs-samples/tree/main/google-analytics-admin)\n\n### .NET\n\n-\n [.NET client library installation guide](https://www.nuget.org/packages/Google.Analytics.Admin.V1Beta#package-manager)\n\n- [Reference documentation](https://googleapis.dev/dotnet/Google.Analytics.Admin.V1Beta/latest/api/Google.Analytics.Admin.V1Beta.html)\n\n- [Public artifact](https://www.nuget.org/packages/Google.Analytics.Admin.V1Beta)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-dotnet/tree/main/apis/Google.Analytics.Admin.V1Beta)\n\n- [Samples](https://github.com/googleanalytics/dotnet-docs-samples/tree/main/analytics-admin)\n\n### Ruby\n\n-\n [Ruby client library installation guide](https://github.com/googleapis/google-cloud-ruby/tree/main/google-analytics-admin-v1alpha#installation)\n\n- [Reference documentation](https://googleapis.dev/ruby/google-analytics-admin-v1alpha/latest/index.html)\n\n- [Public artifact](https://rubygems.org/gems/google-analytics-admin-v1alpha)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-ruby/tree/main/google-analytics-admin-v1alpha)\n\n### Go\n\n\n```\ngo get google.golang.org/genproto/googleapis/analytics/admin/v1beta\n```\n\n\u003cbr /\u003e\n\n- [Reference documentation](https://pkg.go.dev/google.golang.org/genproto/googleapis/analytics/admin/v1beta)\n\n- [Public artifact](https://pkg.go.dev/google.golang.org/genproto/googleapis/analytics/admin/v1beta)\n\n- [Client library source code](https://github.com/googleapis/go-genproto/tree/main/googleapis/analytics/admin/v1beta)"]]