Google Analytics Admin API Overview

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 4 (GA4) configuration data and is only compatible with GA4 properties. Learn more about GA4 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

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)

Conversion events management

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 GA4 property.

Learn more about setting up BigQuery export for a GA4 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 GA4 setup process opt-out (Alpha)

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