Google Analytics Admin API Overview

  • The Google Analytics Admin API provides programmatic access to Google Analytics configuration data, enabling management of accounts, properties, data streams, and user permissions.

  • This API offers features in Alpha and Beta, with Alpha features subject to potential breaking changes and Beta features expected to be stable.

  • Developers can use this API to provision accounts, manage data sharing settings, search change history, link to other platforms (Firebase, Google Ads, etc.), and generate data access reports.

  • Comprehensive methods are available for managing various aspects of Google Analytics properties, including custom dimensions, metrics, events, and audiences.

  • Some features, such as Google Signals settings and SKAdNetwork conversion value schema management, are currently in Alpha and may have limited support.

Summary: This document provides a high level overview of the Google Analytics Admin API Version 1.0.

Introduction

The Google Analytics Admin API allows for programmatic access to the Google Analytics configuration data and is only compatible with Google Analytics properties. Learn more about Google Analytics properties.

You can use the Google Analytics Admin API to:

Available methods

Here are the available methods.

Account provisioning

This method returns the accountTicketId field that should be included in the Terms of Service (TOS) URL:

https://analytics.google.com/analytics/web/?provisioningSignup=false#/termsofservice/ACCOUNT_TICKET_ID

Once a user visits the TOS URL and accepts the Terms of Service, creation of a Google Analytics account will be complete. See the Account provisioning sample.

Accounts management

Data sharing settings management

List account summaries

Search change history events

Properties management

Subproperties management (Alpha)

User data collection acknowledgement

Data retention setting management

Google Signals setting management (Alpha)

Data streams management

Measurement Protocol secrets management

SKAdNetwork conversion value schema management (Alpha)

Key events management

Conversion events management

Event create rules management (Alpha)

Event edit rules management (Alpha)

Custom dimensions management

Custom metrics management

Firebase project linking

Google tag generation (Alpha)

Learn more about setting up Analytics Search Ads 360 integration for a Google Analytics property.

Learn more about setting up BigQuery export for a Google Analytics property.

User permissions management (Alpha)

Data access reports

See the Data Access Reports guide for more information about this feature.

Audience management (Alpha)

Learn more about audiences in Google Analytics.

Expanded Data Sets management (Alpha)

Learn more about Expanded Data Sets in Google Analytics 360.

Automated Google Analytics setup process opt-out (Alpha)

Learn more about managing the opt out status for the automated Google Analytics setup process for a UA property.