googleapis.com

Accesses report data in Google Analytics.

🔑 oauth2 7 endpoints analyticsmedia
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

mcp-toolbox-sdk-python ✓ Official
pip install mcp-toolbox-sdk-python
python-storage ✓ Official
pip install python-storage
python-aiplatform ✓ Official
pip install python-aiplatform
python-genai ✓ Official
pip install python-genai
js-genai ✓ Official
npm install js-genai
go-genai ✓ Official
go get github.com/googleapis/go-genai
sdk-platform-java ✓ Official
# Maven: see https://github.com/googleapis/sdk-platform-java
java-genai ✓ Official
# Maven: see https://github.com/googleapis/java-genai
dotnet-genai ✓ Official
# See https://github.com/googleapis/dotnet-genai
gax-java ✓ Official
# See https://github.com/googleapis/gax-java
curl examples
Returns metadata for dimensions and metrics available in reporting methods. U…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://analyticsdata.googleapis.com/v1beta/{name}
Endpoints (7 total)
GET
/v1beta/{name}
Returns metadata for dimensions and metrics available in reporting methods. U…
POST
/v1beta/{property}:runReport
Returns a customized report of your Google Analytics event data. Reports cont…
POST
/v1beta/{property}:runPivotReport
Returns a customized pivot report of your Google Analytics event data. Pivot …
POST
/v1beta/{property}:batchRunReports
Returns multiple reports in a batch. All reports must be for the same GA4 Pro…
POST
/v1beta/{property}:runRealtimeReport
Returns a customized report of realtime event data for your property. Events …
POST
/v1beta/{property}:checkCompatibility
This compatibility method lists dimensions and metrics that can be added to a…
POST
/v1beta/{property}:batchRunPivotReports
Returns multiple pivot reports in a batch. All reports must be for the same G…
At a glance
Total SDKs10
Languages6
Endpoints7
Authoauth2
Categories2
https://analyticsdata.googleapis.com