npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@google-analytics/admin

v9.0.1

Published

Admin client for Node.js

Readme

Google Analytics Admin API: Nodejs Client

This library is considered to be in preview. This means it is still a work-in-progress and under active development. Any release is subject to backwards-incompatible changes at any time.

npm version

Google Analytics Admin API client for Node.js

A comprehensive list of changes in each version may be found in the CHANGELOG.

Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in Client Libraries Explained.

Table of contents:

Quickstart

Before you begin

  1. Select or create a Cloud Platform project.
  2. Enable billing for your project.
  3. Enable the Google Analytics Admin API API.
  4. Set up authentication so you can access the API from your local workstation.

Installing the client library

npm install @google-cloud/admin

Samples

Samples are in the samples/ directory. Each sample's README.md has instructions for running its sample.

| Sample | Source Code | | --------------------------- | --------------------------------- | | acknowledge user data collection | source code | | approve display video360 advertiser link proposal | source code | | archive audience | source code | | archive custom dimension | source code | | archive custom metric | source code | | batch create access bindings | source code | | batch delete access bindings | source code | | batch get access bindings | source code | | batch update access bindings | source code | | cancel display video360 advertiser link proposal | source code | | create access binding | source code | | create ad sense link | source code | | create audience | source code | | create big query link | source code | | create calculated metric | source code | | create channel group | source code | | create conversion event | source code | | create custom dimension | source code | | create custom metric | source code | | create data stream | source code | | create display video360 advertiser link | source code | | create display video360 advertiser link proposal | source code | | create event create rule | source code | | create event edit rule | source code | | create expanded data set | source code | | create firebase link | source code | | create google ads link | source code | | create key event | source code | | create measurement protocol secret | source code | | create property | source code | | create reporting data annotation | source code | | create rollup property | source code | | create rollup property source link | source code | | create s k ad network conversion value schema | source code | | create search ads360 link | source code | | create subproperty event filter | source code | | delete access binding | source code | | delete account | source code | | delete ad sense link | source code | | delete big query link | source code | | delete calculated metric | source code | | delete channel group | source code | | delete conversion event | source code | | delete data stream | source code | | delete display video360 advertiser link | source code | | delete display video360 advertiser link proposal | source code | | delete event create rule | source code | | delete event edit rule | source code | | delete expanded data set | source code | | delete firebase link | source code | | delete google ads link | source code | | delete key event | source code | | delete measurement protocol secret | source code | | delete property | source code | | delete reporting data annotation | source code | | delete rollup property source link | source code | | delete s k ad network conversion value schema | source code | | delete search ads360 link | source code | | delete subproperty event filter | source code | | get access binding | source code | | get account | source code | | get ad sense link | source code | | get attribution settings | source code | | get audience | source code | | get big query link | source code | | get calculated metric | source code | | get channel group | source code | | get conversion event | source code | | get custom dimension | source code | | get custom metric | source code | | get data redaction settings | source code | | get data retention settings | source code | | get data sharing settings | source code | | get data stream | source code | | get display video360 advertiser link | source code | | get display video360 advertiser link proposal | source code | | get enhanced measurement settings | source code | | get event create rule | source code | | get event edit rule | source code | | get expanded data set | source code | | get global site tag | source code | | get google signals settings | source code | | get key event | source code | | get measurement protocol secret | source code | | get property | source code | | get reporting data annotation | source code | | get reporting identity settings | source code | | get rollup property source link | source code | | get s k ad network conversion value schema | source code | | get search ads360 link | source code | | get subproperty event filter | source code | | get subproperty sync config | source code | | list access bindings | source code | | list account summaries | source code | | list accounts | source code | | list ad sense links | source code | | list audiences | source code | | list big query links | source code | | list calculated metrics | source code | | list channel groups | source code | | list conversion events | source code | | list custom dimensions | source code | | list custom metrics | source code | | list data streams | source code | | list display video360 advertiser link proposals | source code | | list display video360 advertiser links | source code | | list event create rules | source code | | list event edit rules | source code | | list expanded data sets | source code | | list firebase links | source code | | list google ads links | source code | | list key events | source code | | list measurement protocol secrets | source code | | list properties | source code | | list reporting data annotations | source code | | list rollup property source links | source code | | list s k ad network conversion value schemas | source code | | list search ads360 links | source code | | list subproperty event filters | source code | | list subproperty sync configs | source code | | provision account ticket | source code | | provision subproperty | source code | | reorder event edit rules | source code | | run access report | source code | | search change history events | source code | | submit user deletion | source code | | update access binding | source code | | update account | source code | | update attribution settings | source code | | update audience | source code | | update big query link | source code | | update calculated metric | source code | | update channel group | source code | | update conversion event | source code | | update custom dimension | source code | | update custom metric | source code | | update data redaction settings | source code | | update data retention settings | source code | | update data stream | source code | | update display video360 advertiser link | source code | | update enhanced measurement settings | source code | | update event create rule | source code | | update event edit rule | source code | | update expanded data set | source code | | update google ads link | source code | | update google signals settings | source code | | update key event | source code | | update measurement protocol secret | source code | | update property | source code | | update reporting data annotation | source code | | update s k ad network conversion value schema | source code | | update search ads360 link | source code | | update subproperty event filter | source code | | update subproperty sync config | source code | | analytics | source code | | acknowledge user data collection | source code | | archive custom dimension | source code | | archive custom metric | source code | | create conversion event | source code | | create custom dimension | source code | | create custom metric | source code | | create data stream | source code | | create firebase link | source code | | create google ads link | source code | | create key event | source code | | create measurement protocol secret | source code | | create property | source code | | delete account | source code | | delete conversion event | source code | | delete data stream | source code | | delete firebase link | source code | | delete google ads link | source code | | delete key event | source code | | delete measurement protocol secret | source code | | delete property | source code | | get account | source code | | get conversion event | source code | | get custom dimension | source code | | get custom metric | source code | | get data retention settings | source code | | get data sharing settings | source code | | get data stream | source code | | get key event | source code | | get measurement protocol secret | source code | | get property | source code | | list account summaries | source code | | list accounts | source code | | list conversion events | source code | | list custom dimensions | source code | | list custom metrics | source code | | list data streams | source code | | list firebase links | source code | | list google ads links | source code | | list key events | source code | | list measurement protocol secrets | source code | | list properties | source code | | provision account ticket | source code | | run access report | source code | | search change history events | source code | | update account | source code | | update conversion event | source code | | update custom dimension | source code | | update custom metric | source code | | update data retention settings | source code | | update data stream | source code | | update google ads link | source code | | update key event | source code | | update measurement protocol secret | source code | | update property | source code | | analytics | source code |

Supported Node.js Versions

Our client libraries follow the Node.js release schedule. Libraries are compatible with all current active and maintenance versions of Node.js. If you are using an end-of-life version of Node.js, we recommend that you update as soon as possible to an actively supported LTS version.

Google's client libraries support legacy versions of Node.js runtimes on a best-efforts basis with the following warnings:

  • Legacy versions are not tested in continuous integration.
  • Some security patches and features cannot be backported.
  • Dependencies cannot be kept up-to-date.

Client libraries targeting some end-of-life versions of Node.js are available, and can be installed through npm dist-tags. The dist-tags follow the naming convention legacy-(version). For example, npm install @google-cloud/admin@legacy-8 installs client libraries for versions compatible with Node.js 8.

Versioning

This library follows Semantic Versioning.

More Information: Google Cloud Platform Launch Stages

Contributing

Contributions welcome! See the Contributing Guide.

Please note that this README.md and a variety of configuration files in this repository (including .nycrc and tsconfig.json) are generated from a central template.

License

Apache Version 2.0

See LICENSE