Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

google-analytics-admin-api-basics

Enable the Analytics Admin API and list Google Analytics accounts and properties with client code.

When to use it

You have a Google Cloud project and need to script Google Analytics account or property setup instead of clicking through the web UI.

For example

You say

Use google-analytics-admin-api-basics to set up Python and list all my Google Analytics accounts and their properties.

You get
  • Python client setup
  • Account and property list

How it works

  • Covers data streams, custom dimensions, conversion events, and Firebase or Google Ads links.
  • Some features like audiences and BigQuery links exist only in the v1alpha version.

Before installing

Requires the Google Cloud CLI (gcloud) and Application Default Credentials; configuration changes need the analytics.edit scope.