The Google Apps Reporting API lets you retrieve usage reports for your domain's hosted accounts. To retrieve a report, you send an HTTP POST request to Google. The body of the request is an XML document that identifies your domain and specifies the report being requested.
Questions tagged [google-reporting-api]
145 questions
9
votes
2 answers
View events and their parameters in Google Analytics
Is it possible to view / query the raw events from my Google Analytics (gtag.js) database?
I make sure to send additional parameters with my events and have no idea where I can access those parameters.
Am I missing something? Cause can't see…

mllm
- 17,068
- 15
- 53
- 64
5
votes
1 answer
pyOpenSSL NotImplementedError Google App Engine
I'm trying to download some data using Google Analytics Reporting API V4.
Inside my lib/ folder (on the GAE project) I have pyOpenSSL and all its dependencies.
Locally, in my virtualenv, it works fine.
That's the error I'm…

Thiago Melo
- 1,157
- 1
- 14
- 31
5
votes
3 answers
Displaying more than 10000 rows using Core Reporting Google API v4 ( Java)
I'm fetching Google Analytics data using Core Reporting API v4. I'm able to capture at most 10,000 records for a given combination of Dimensions & Metrics.
My question is that if my query can produce more than 10,000 search results then how can I…

Balajee Venkatesh
- 1,041
- 2
- 18
- 39
5
votes
1 answer
GA Embed API - select Hourly, Day, Week or Month
I use GA Embed API (https://developers.google.com/analytics/devguides/reporting/embed/v1/) to have some charts in my website.
I can select date range (start date and end date) for each report.
I want these "Hourly", "Day", "Week", "Month" in my…

GhitaB
- 3,275
- 3
- 33
- 62
5
votes
3 answers
UNRESOLVED DEPENDENCIES for commons-codec
I'm trying to retrieve the library for Google Reporting API:
compile 'com.google.apis:google-api-services-analytics:v3-rev74-1.17.0-rc'
but I got an unresolved dependencies error and I don't know what to do with it:
::…

Lojza Ibg
- 658
- 9
- 32
4
votes
1 answer
Get top google analytics items of a dimension sorted by a metric of the last X days
E.g. I want to get the three most visited pages of the last 30 days sorted by the number of sessions.
So for each single day I want the three top ga:pagePath items sorted for each day by ga:sessions. Is this possible in a single query?
This query…

Nick Russler
- 4,608
- 6
- 51
- 88
3
votes
1 answer
User Activity Request with laravel analytics
I am using this library : https://github.com/spatie/laravel-analytics
I am trying to figure out how to do a User Activity request as documented here: https://developers.google.com/analytics/devguides/reporting/core/v4/user-reporting.
I know that you…

OvnIvn
- 49
- 7
3
votes
1 answer
How to impersonate user using Go Google SDK?
I have a user which I use to query the Reports API. I generated the token and read the credentials using the google.ConfigFromJSON method.
Although, now I need to do the same, but instead of a user, I need to use a service account. And accordingly…

KadoBOT
- 2,944
- 4
- 16
- 34
3
votes
1 answer
Downloading batch reports from google analytics API v4
I am trying to get a report for 3 months, for this, I need to make multiple requests and append the results to a list because API only returns 100,000 rows per request. There is a variable returned from the API named nextPageToken which I need to…

Jonas Palačionis
- 4,591
- 4
- 22
- 55
3
votes
1 answer
Get ClientId and UserId from Google analytics by Reporting API
I wanna collect all userId and clientId from GA.
I can see userId in dashoboard:
but I can't find how get same info from APi for All user.
How I can do that with Reporting API?

GicO
- 63
- 4
3
votes
0 answers
Python. Google Analytics Reporting Api WARNING - oauth2client.contrib.locked_file:Could not acquire lock in 0 seconds
Try to extract data from Google Analytics API. The code has been worked fine until yesterday. Right now I see these warnings in a debug.log.
WARNING:oauth2client.contrib.locked_file:Could not acquire lock in 0 seconds
…

mailman_73
- 778
- 12
- 29
3
votes
1 answer
Google Analytics Tracking Events With Dimensions Incorrect Relations
Im trying to track an event that has 3 dimensions (user id, widget id,post id). Every click event must have its own row with a unique post id, user id and widget id so i can track the number of clicks per post. Extra: All the dimensions are set to…

Anthony Raimondo
- 1,621
- 2
- 24
- 40
3
votes
0 answers
Get specific data from Multi-Channel Funnels Reporting API?
In my application, i get the data on traffic and conversions from my account using Google Analytics Core Reporting API and Multi-Channel-Funnels Reporting API.
For to get a traffic data, I use the GET command from Core Reporting API.
In this command…

Ivan Kusmartsev
- 31
- 3
2
votes
1 answer
Google GA4 batchRunReports when API doesn't have records throw 500 (Internal Server Error)
https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1alpha/TopLevel/batchRunReports
Request :
{
"entity": {
"propertyId": "XXXXXXXX"
},
"requests": [
{
"entity": {
"propertyId": "XXXXXXXX"
…

Furqan Misarwala
- 1,743
- 6
- 26
- 53
2
votes
1 answer
How to get negative keyword list from a campaing using Google Adwords API
When you set up a campaign in google adwords you can add negative keywords to it so that the searchquery may not match your campaign if it has the negative keyword.
I want to extract the list of the negative keywords per each campaign. In the…

Jonas Palačionis
- 4,591
- 4
- 22
- 55