Google Analytics

What Is The Management API - Overview

This document provides a high level overview of the Google Analytics Management API Version 3.0.

  1. Introduction
  2. Getting Started
  3. Conceptual Overview
  1. Quota Policies
  2. Next Steps

Introduction

The Management API provides access to the Google Analytics configuration data for an authorized user. With this API you can:

  • List all the Account, Property and View (Profile) information for a user.
  • Manage Properties, Views (Profiles), and Goals.
  • Manage user permissions for an account hierarchy.
  • Retrieve a View (Profile) ID to use with the Core Reporting API.
  • Determine which goals are active and access their configured names.
  • Retrieve a user's Custom Segments to apply them to Core Reporting API queries.
  • Upload cost data to Google Analytics for non-Google paid campaigns.
  • Manage Content Experiments.

Get Started

Want to get started right away? Read the Hello Analytics API Tutorial.

Each application that uses the API will have to go through a couple of steps to register, authorize the user, and work with the API. This tutorial will walk you through each step and in the end, you will have a working application that you can customize.

Conceptual Overview

The Management API v3 exposes multiple Google Analytics configuration entities. Most are organized hierarchically: Each user's Account can have one or more Web Properties, each of which can have one or more Views (Profiles) or Custom Data Sources. Views (Profiles) can have one or more Goals or Experiments, and Custom Data Sources can have one or more Uploads. A user can also define Segments, which are not hierarchically related to any of the other entities. This diagram represents the parent-child relationships among the entities:

Diagram
   of Google Analytics Management Entities

For general information on accounts and views (profiles) in Analytics, see Accounts and Views (Profiles).

Version 3.0 of the Management API exposes each of the entities as a Resource. A list of Resources of a particular kind make up a Collection. The API exposes each Collection at a URI that can be queried to return the list of entities in it.

See the Management Reference guide to get a detailed description of the methods in the API and the data they return.

Quota Policies

The Google Analytics API handles millions of operations. To protect the system from receiving more operations than it can handle, and to ensure an equitable distribution of system resources, it is necessary to employ a quota system. Read the Limits and Quotas guide for specific limits.

Next Steps

Now that you understand how the API works, we have a couple of resources to help you:

Back to Top




Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.