Google Analytics Admin API Overview
Stay organized with collections
Save and categorize content based on your preferences.
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 Ads account linking
Google tag generation (Alpha)
Proposals for a link between a GA4 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 360
integration
for a GA4
property.
BigQuery account linking (Alpha)
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.
Except as otherwise noted, the content of this page is licensed under the
Creative Commons Attribution 4.0 License
, and code samples are licensed under the
Apache 2.0 License
. For details, see the
Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-01-16 UTC.