Google analytics with firebase not showing - firebase

I have firebase analytics for my app, works perfectly on the firebase site.
But when I clicked on View more in Google Analytics, it is giving me an error.
You do not have access to the account, property, or view. Contact an Analytics administrator who has the Manage Users permission.
And I checked the integration in firebase project settings it says it is linked.
I see the Property ID there, but I can't find this Property ID in Google analytics...
I tried giving permission to Google Analytics property to the firebase-service-account and firebase-admin-SDK, I gave them an Analyst Role, but yet to be working.
when I create a new project for the same account it's linked easily.
What can I do??

You need to have at least an Editor role to the Google Analytics account/property, since your Analytics data now resides in the Google Analytics property, and not within the Firebase project. That's why you need to have matching user permissions in both Firebase and Google Analytics. You can use this troubleshooter to reach out to Google Analytics team and check how you can get access to the connected GA account in your Firebase project. You can check the GA account and GA property connected to your Firebase project in the Firebase Project Settings > Integrations tab> Google Analytics card.

Related

Linking google Ads account to firebase

I have linked my app on firebase to my google ads account, but unfortunately it is showing as unknown account. As you can see below:
Is there any other step I need to follow from the google ads side to complete this integration?

Unable to enable google analytics for bigquery linking in firebase

I have an android app which has firebase analytics enabled. I am able to see events in firebase console. Now I want to connect it with big query. As I am using a team account for firebase, asked admin to give me owner access in firebase and editor access in connected google analytics account. After getting both access I tried to connect big query in firebase but it was not allowing me to select Google Analytics option while creating link. When I hover over that option it is showing message as "You need to be an Editor on the Google Analytics account linked to your project to modify BigQuery export". I am not sure what changes am I supposed to do to enable this and create a big query connection. Please help.
While you have the permissions in firebase you need to have Editor access to the Google Analytics Account as well in order to perform the connection. It is important that permission is given on the Account Level and not on the data view level.

Google Analytics - Does the Service Account have to be created from the Google profile that hosts the Google Analytics Account?

I am currently using access and refresh tokens to pull data from the Google Analytics Reporting API (v4). As I work to automate the extraction of data from Google Analytics, I hope to shift to using a Service Account. My question is does the Service Account have to be created from the Google profile that hosts the Google Analytics Account?
Anyone can create the service account but in order for the service account to have access to the analytics data you must take the service account email address and add it as a user in the Google analytics admin section at the account level then it will be able to read the data.
So as long as you know someone with admin access to the google analytics account it doesnt matter who creates the service account.

How to list firebase projects which are linked to Google Analytics

I am trying to list all google analytics properties connected to a google account.
While this works fine using the google analytics management api, it seems the connected firebase projects are missing:
While in the analytics web UI the firebase property is listed. I took a look at how Google itself queries for this data and they use some kind of internal API:
https://analyticssuitefrontend-pa.clients6.google.com/v1/search/entityHeaders
Result:
I tried adding a firebase related scope (https://www.googleapis.com/auth/firebase.readonly) to my OAuth authorization but the property was still missing.
How can I query for the full list?
As DaImTo mentioned in a comment these systems are separate and firebase analytics data can not be queried via the google analytics API. This also holds true for listing connected firebase projects.
The confusion might arise, because google provides access to firebase analytics data under the hood of the google analytics website.

Firebase Data from Google Analytics API

How can we get firebase data via Google Analytics API?
Normally, APP data was on Google Analytics property, and it was possible to get data via Google Analytics View ID.
Unfortunately, Google supposes app tracking on Firebase now. How we can get firebase data via Google Analytics API (core api) on Google sheets?
This isn't exactly what you're asking for, but if you have the "Blaze" Firebase plan it's possible to export Firebase Analytics and other data to BigQuery to allow querying the raw data.
Sign in to Firebase.
Click the Settings icon and select Project Settings.
On the Project Settings page, click the Integrations tab.
On the BigQuery card, click Link.
If billing has not already been enabled for your project, click
Upgrade & link.
Further reading:
https://support.google.com/firebase/answer/6318765?hl=en
https://cloud.google.com/solutions/mobile/mobile-firebase-analytics-bigquery

Resources