All Questions
84
questions
2
votes
1
answer
210
views
How to get 'sub' or id_token from Google API's oAuth2Client in NodeJS
I am using oAuth2Client to access a user's Google Analytics property. Their refresh token is saved for future use. However, because the user could add multiple properties, I need to assign the ...
0
votes
1
answer
676
views
Google Analytics Reporting api can't access any GA4 only Universal
When trying to pull GA4 data from the api, it says the user doesn't have permission. I'm having no issues with the UA accounts.
However, my GA4 accounts are both:
tied to the same account as my ...
1
vote
2
answers
1k
views
How do I call Google Analytics Admin API (for GA4) using an OAuth2 client in node.js?
I've noticed that all the node.js code samples for Google Analytics Admin and Google Analytics Data assume a service account and either a JSON file or a GOOGLE_APPLICATION_CREDENTIALS environment ...
0
votes
1
answer
8k
views
how to set urn:ietf:wg:oauth:2.0:oob as redirect uri in google auth 2.0
I'm having an issue getting auth code in the same pop-up window rather than redirecting a user to another page in google auth. I'm trying to access the google analytics API and for that, I'm using ...
2
votes
1
answer
3k
views
Google Analytics API V4 does not work with GA4 account
Is it possible to get data from new Google Analytics (GA4) accounts through API V4? It always returns the following error message:
{ "error": { "code": 403, "message": &...
1
vote
2
answers
454
views
How to authorize a Google APIs without user interaction?
I am trying to run automated daily API calls to Google Analytics API
The problem is that when I run the command to establish the connection, a window pops up in my browser
where I have to click to ...
3
votes
2
answers
3k
views
403 error when attempting to fetch google analytics 4 data from app script
I am attempting to connect a custom community connector to google analytics 4 in order to get data from analytics and be able to modify it in app script and then send it to data studio. However I am ...
1
vote
1
answer
105
views
Can I create an API token if I'm already added as a user for a Google Analytics account?
I'm already added as a user for someone else's Google Analytics Account and I'm granted a number of permissions. In other words, when this user (my client) visits analytics.google.com and clicks ...
0
votes
1
answer
249
views
Need details of credentials setup for Analytics and Reporting API
I have created a PHP app that works fine with the Data API using OAuth. I want to adapt this to work with Analytics and Reporting API and have added the API libraries on Google cloud etc and added the ...
1
vote
1
answer
2k
views
How to obtain accountId from google api?
I've been playing around with google analytics api.
At this moment I know how to get the access_token but don't know how to obtain accountId
Is there a specific endpoint that provides accountId?
0
votes
0
answers
690
views
Google analytics api , get list account - gapi.client.analytics.management is undefined
I added this line of code to my working code
// Do the magic const
request = gapi.client.analytics.management.accountSummaries.list();
request.execute(handleResponse)
and Get this error, why '...
0
votes
1
answer
171
views
Get Google analytics data every hour (by crone)
I used the following API code to get data from Google analytics.
but now I need to split it because I need to get user authorization and then create a crone job every hour (without having to ask ...
1
vote
0
answers
214
views
Get data from Google Analytics
I'm trying to get data from Google Analytics with Javascript, but the sign in button is not showing. I'm following all this steps: https://developers.google.com/analytics/devguides/reporting/core/v4/...
0
votes
1
answer
63
views
Accessing google anyaltics API in my aaplication
I am currently working with the Google Analytics API. I have implemented ga react package, so the analytics tool can show me the required data.
As per my understanding, Google uses OAuth 2.0 to ...
1
vote
1
answer
394
views
Get google analytics Api response
I am trying to return GA API response but having a authentication error, which I don't know why. What I have done so far is right below.
<meta name="google-signin-client_id" content="MY_CLIENT_ID"...