google-analytics-admin-api-basics
Manages Google Analytics account and property settings, enables the Analytics Admin API via the Cloud CLI, lists accounts and properties, and manages data…
Skill by googleOfficial
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/google-google-analytics-admin-api-basics
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data, security, marketing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/google-analytics-admin-api-basics
What's inside
- Skill name
google-analytics-admin-api-basics- Description
- Manages Google Analytics account and property settings, enables the Analytics Admin API via the Cloud CLI, lists accounts and properties, and manages data streams, custom dimensions, conversion events, and integrations. Use when you need to programmatically configure Google Analytics accounts, provision properties, manage data retention, configure Measurement Protocol secrets, or manage Firebase and Google Ads links.
- License
- Apache-2.0
- Metadata
- version: 1.0.0 · category: GoogleAnalytics
- Instructions
- 207 lines in SKILL.md · view on GitHub
Files (8)
- SKILL.md
- dotnet.md · references/
- go.md · references/
- java.md · references/
- nodejs.md · references/
- php.md · references/
- python.md · references/
- ruby.md · references/
SKILL.md (first lines)
# Getting Started with Google Analytics Admin API
The Google Analytics Admin API provides programmatic access to Google Analytics
account and property configuration. It lets you automate account management,
manage data streams, configure custom dimensions, and handle product
integrations.
## Enabling the API via Cloud CLI
Before making API calls, ensure the Google Analytics Admin API is enabled in
your Google Cloud project.
If `gcloud` is not found, prompt the user to install the Google Cloud CLI before
running these commands.
1. **Enable the API:** Use the Cloud CLI (`gcloud`) to enable
`analyticsadmin.googleapis.com`.
```bash
gcloud services enable analyticsadmin.googleapis.com --quiet
```
*Why: Enabling the API ensures your Cloud project has the necessary quota
and permissions allocated for managing Google Analytics configurations.*
2. **Verify API Enablement:**
```bash
gcloud services list --enabled --filter="analyticsadmin.googleapis.com"
```
## Authentication
To authenticate your API requests, you must generate Application Default
Credentials (ADC) and give your account the necessary scopes. Run the following
command in your terminal:
```bash
gcloud auth application-default login --scopes="https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/analytics.readonly"
```
*Why: This configures ADC in your local environment with the required Cloud
Platform and Google Analytics read-only scopes, allowing the client library to
automatically authenticate your requests.*
> [!NOTE] **Configuration Changes**: Methods changing the Google Analytics
> account/property configuration will need the
> `https://www.googleapis.com/auth/analytics.edit` scope.
## Admin API Use Cases
You can use the Google Analytics Admin API to:
* Run Data Access reports (see
https://developers.google.com/analytics/devguides/config/admin/v1/access-api.md.txt
for more info)
* Create Account summaries
* Manage accounts
* Provision new accounts
* Search account change history events
* Manage and create properties
* Manage property data retention settings
* Manage conversion events
* Manage custom dimensions and metrics
* Manage data streams and configure measurement protocol secrets
* Manage Firebase links
* Manage Google Ads links
* Manage key events
### v1alpha-Only Use Cases
The following capabilities are currently available only in the `v1alpha` version
of the Admin API:
* Manage account and property access bindings
* Create and manage rollup properties
* Create and manage subproperties
* Acknowledge user data collection
* Change property attribution, data retention, Google signals, reporting
identity, and User Provided Data settings
* Manage AdSense links
* Manage BigQuery links
* Manage audiences
* Manage channel groups
* Manage calculated metrics
* Manage DisplayVideo360Advertiser links
* Manage expanded data sets
* Manage reporting data annotations
* Manage SearchAds360 links
* Manage event create rules for a data stream
* Manage SKAdNetwork conversion value schema of an iOS stream
* Submit a request for user deletion for a Google Analytics property.
## Calling the Admin API
To interact with the Admin API, use the official Google Analytics Admin client
library. Note that `v1beta` is the most stable version of the Admin API. For the
latest features, consider using `v1alpha`.
> [!IMPORTANT] **Mandatory Agent Directive:** When the user selects or requires
> a specific programming language, read the corresponding client library setup
> reference guide in `references/` listed below.
### Supported Client Libraries
#### Python
If you need to install or set up the Google Analytics Admin API client library
for Python, read the setup guide:
* [Python Installation Reference](references/python.md) *(Package:
`google-analytics-admin`)*
#### Java
If you need to install or set up the Google Analytics Admin API client library
for Java, read the setup guide:
* [Java Installation Reference](references/java.md) *(Artifact:From google/skills, Apache-2.0.
More from google/skills
- 0.865score
google-ads-api-account-diagnostics
google-ads-api-teamOfficial
Diagnoses Google Ads account performance issues such as conversion loss (value or volume), low lead flow/volume, and lost impression share (opportunities) due…
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-triage
Google LLCOfficial
Expert guidance for security alert triage in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-detection-engineering
Google LLCOfficial
Author, validate, test, and deploy YARA-L 2.0 detection rules and evaluate end-to-end detection coverage gaps in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-hunt
Google LLCOfficial
Expert guidance for proactive threat hunting in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-cases
Google LLCOfficial
Manage Google Security Operations (SecOps) SOAR cases throughout their lifecycle.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-investigate
Google LLCOfficial
Expert guidance for deep security incident and entity investigations in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.824score
google-ads-api-quickstart
google-ads-api-teamOfficial
Guides developers through Google Ads API quickstart: credential setup, choosing from 6 client libraries/REST, configuring environments, and running a…
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.819score
google-ads-api-mcp-setup
google-ads-api-teamOfficial
Guides developers through downloading, configuring, and installing the official open-source Google Ads MCP Server.
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.815score
ima-dai-sdk
Google LLCOfficial
Integrates the Google Interactive Media Ads (IMA) Dynamic Ad Insertion (DAI) SDK into websites, web apps, mobile apps, or TV apps.
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.815score
ima-sdk-client-side
Google LLCOfficial
Supports Interactive Media Ads (IMA) SDK.
SkillBFreshness: B★ 21.5KClaude Code +9 - 0.699score
gcloud
googleOfficial
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP) services and infrastructure.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
agent-platform-deploy
googleOfficial
Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up…
SkillAFreshness: A★ 21.5KClaude Code +9
Signals
- Stars
- 21,542
- Forks
- 1,821
- Open issues
- 21
- Last commit (this folder)
- Sep 21, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- Apache-2.0
- Repository
- github.com/google/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.353score
google-analytics-admin-api-basics
hermesonehq
Manages Google Analytics account and property settings, enables the Analytics Admin API via the Cloud CLI, lists accounts and properties, and manages data…
SkillCFreshness: C★ 92Claude Code +9 - 0.318score
google-analytics-admin-api-basics
artanphn-dotcom
Manages Google Analytics account and property settings, enables the Analytics Admin API via the Cloud CLI, lists accounts and properties, and manages data…
SkillBFreshness: BClaude Code +9
More from google
- 0.699score
retrieving-developer-knowledge
googleOfficial
Searches, retrieves, and synthesizes official Google developer documentation across Google Cloud, AI/Gemini, Android, Chrome, Web, Flutter, Go, Firebase, and…
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
data-manager-api-setup
googleOfficial
Guides developers through client library installation and authentication setup steps for the Data Manager API.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
agent-platform-migrate-from-ai-studio
googleOfficial
Guides agents and users through migrating from Gemini API in Google AI Studio to Gemini Enterprise Agent Platform (formerly Vertex AI).
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
gcloud
googleOfficial
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP) services and infrastructure.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
google-cloud-recipe-onboarding
googleOfficial
Guides a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a first resource.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.699score
agent-platform-deploy
googleOfficial
Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up…
SkillAFreshness: A★ 21.5KClaude Code +9
Cite this page
google-analytics-admin-api-basics skill. Agent Mart. https://agentmart.dev/skills/google-google-analytics-admin-api-basics (last updated 2026-10-24)