Google Analytics Admin API Overview

  • The Google Analytics Admin API Version 1.0 provides programmatic access to Google Analytics configuration data, compatible only with Google Analytics properties.

  • Features in this API are available in Alpha and Beta channels, with Alpha features being early previews that may have breaking changes and Beta features not expecting breaking changes.

  • The API allows for various management tasks including account and property management, data sharing settings, custom dimensions and metrics, and linking with other Google services like Google Ads and Firebase.

  • The API also includes Alpha features for managing subproperties, Google Signals settings, SKAdNetwork conversion value schema, Google tag generation, event create and edit rules, linking with DV360 and Search Ads 360, BigQuery linking, user permissions, audience management, expanded data sets, and automated GA4 setup opt-out.

  • A method is available to provision new accounts by generating an account ticket ID to be included in a Terms of Service URL for user acceptance.

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

This API provides features in Alpha and Beta channels. Alpha and Beta products may have limited support, and changes to these products may not be compatible with other Alpha and Beta versions.

Alpha: Features are in an early preview stage. While we try to notify you of upcoming changes, expect to encounter breaking changes before the API is publicly released.

Beta: No breaking changes are expected in this channel.

For official Google Analytics API announcements, subscribe to theGoogle Analytics API Notify Group.

Introduction

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

You can use the Google Analytics Admin API to:

Available methods

Here are the available methods.

Account provisioning

This method returns theaccountTicketId field that should be included in theTerms 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 aGoogle Analytics account will be complete. See theAccount provisioningsample.

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

Deprecated: Use theKeyEvent resource and methodsinstead.

Event create rules management (Alpha)

Event edit rules management (Alpha)

Custom dimensions management

Custom metrics management

Firebase project linking

Google Ads account linking

Google tag generation (Alpha)

Proposals for a link between a Google Analytics property and a Display & Video 360 advertiser (Alpha)

Display & Video 360 advertiser account linking (Alpha)

Search Ads 360 account linking (Alpha)

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

BigQuery account linking (Alpha)

Learn more about setting up BigQuery exportfor a Google Analytics property.

User permissions management (Alpha)

Data access reports

See theData Access Reports guide for more information about thisfeature.

Audience management (Alpha)

Learn more about audiencesin Google Analytics.

Expanded Data Sets management (Alpha)

Learn more about Expanded Data Setsin Google Analytics 360.

Automated Google Analytics setup process opt-out (Alpha)

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

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-02-20 UTC.