isaiahbjork / Auto-GPT-Google-Analytics-Plugin

The AutoGPT Google Analytics Plugin is a software tool that allows you to connect Google Analytics to Auto-GPT.
https://github.com/isaiahbjork/Auto-GPT-Google-Analytics-Plugin
MIT License
59 stars 9 forks source link

Add service account json file to Auto-GPT.??? #1

Open jeffreycam opened 1 year ago

jeffreycam commented 1 year ago

I can't seem to complete the installation of this plugin...I have successfully added youtube, twitter, and email...but this set of instructions appears to be for an advanced user of Google APIs and Analytics APIs.

What exactly doe this mean? Add service account json file to Auto-GPT. What service account json file? I have the service account created, but I don't have clue about this json file it's asking, which causes it to fail execution.

Any input would be ideal.

isaiahbjork commented 1 year ago

I can't seem to complete the installation of this plugin...I have successfully added youtube, twitter, and email...but this set of instructions appears to be for an advanced user of Google APIs and Analytics APIs.

What exactly doe this mean?

Add service account json file to Auto-GPT. What service account json file? I have the service account created, but I don't have clue about this json file it's asking, which causes it to fail execution.

Any input would be ideal.

Go to Google Cloud, enable the Google Analytics Reporting API, credentials > keys > Add Key > Create New Key > JSON, add this to the auto-gpt and rename it firebase.json.

cyberclone33 commented 1 year ago

Guyssss would love some help please !

I keep getting User does not have sufficient permissions for this profile despite following all the steps.


Command google_analytics returned: Error: <HttpError 403 when requesting https://analyticsreporting.googleapis.com/v4/reports:batchGet?alt=json returned "User does not have sufficient permissions for this profile.". Details: "User does not have sufficient permissions for this profile.">


Here are the steps I have taken so far

  1. set up google service account , download the json -> rename it Firebase.json -> put in folder of AUTOGPT
  2. Allow analyst permission in google analytics for this service account

    Also, there are pull requests in my google analytics api , so there is evidence that the Firebase.json is working ? Wouldl love any tips and help ..! thanks !

isaiahbjork commented 1 year ago

Guyssss would love some help please !

I keep getting User does not have sufficient permissions for this profile despite following all the steps.


Command google_analytics returned: Error: <HttpError 403 when requesting https://analyticsreporting.googleapis.com/v4/reports:batchGet?alt=json returned "User does not have sufficient permissions for this profile.". Details: "User does not have sufficient permissions for this profile.">


Here are the steps I have taken so far

  1. set up google service account , download the json -> rename it Firebase.json -> put in folder of AUTOGPT

  2. Allow analyst permission in google analytics for this service account

    Also, there are pull requests in my google analytics api , so there is evidence that the Firebase.json is working ?

    Wouldl love any tips and help ..! thanks !

Make sure you added the email that's in firebase.json in your Google Analytics View Management. Did you also enable Google Reporting Analytics?

cyberclone33 commented 1 year ago

Guyssss would love some help please ! I keep getting User does not have sufficient permissions for this profile despite following all the steps.

Command google_analytics returned: Error: <HttpError 403 when requesting https://analyticsreporting.googleapis.com/v4/reports:batchGet?alt=json returned "User does not have sufficient permissions for this profile.". Details: "User does not have sufficient permissions for this profile.">

Here are the steps I have taken so far

  1. set up google service account , download the json -> rename it Firebase.json -> put in folder of AUTOGPT
  2. Allow analyst permission in google analytics for this service account

Also, there are pull requests in my google analytics api , so there is evidence that the Firebase.json is working ? Wouldl love any tips and help ..! thanks !

Make sure you added the email that's in firebase.json in your Google Analytics View Management. Did you also enable Google Reporting Analytics?

I have added the email in the Firebase.json and granted it permission to google analytics. I’ve also enabled google reporting analytics .. don’t know what’s wrong T.T

isaiahbjork commented 1 year ago

Guyssss would love some help please !

I keep getting User does not have sufficient permissions for this profile despite following all the steps.

Command google_analytics returned: Error: <HttpError 403 when requesting https://analyticsreporting.googleapis.com/v4/reports:batchGet?alt=json returned "User does not have sufficient permissions for this profile.". Details: "User does not have sufficient permissions for this profile.">

Here are the steps I have taken so far

  1. set up google service account , download the json -> rename it Firebase.json -> put in folder of AUTOGPT

  2. Allow analyst permission in google analytics for this service account

Also, there are pull requests in my google analytics api , so there is evidence that the Firebase.json is working ?

Wouldl love any tips and help ..! thanks !

Make sure you added the email that's in firebase.json in your Google Analytics View Management. Did you also enable Google Reporting Analytics?

I have added the email in the Firebase.json and granted it permission to google analytics.

I’ve also enabled google reporting analytics ..

don’t know what’s wrong T.T

Try giving it the admin role instead of analyst.

cyberclone33 commented 1 year ago

Guyssss would love some help please !

I keep getting User does not have sufficient permissions for this profile despite following all the steps.

Command google_analytics returned: Error: <HttpError 403 when requesting https://analyticsreporting.googleapis.com/v4/reports:batchGet?alt=json returned "User does not have sufficient permissions for this profile.". Details: "User does not have sufficient permissions for this profile.">

Here are the steps I have taken so far

  1. set up google service account , download the json -> rename it Firebase.json -> put in folder of AUTOGPT

  2. Allow analyst permission in google analytics for this service account

Also, there are pull requests in my google analytics api , so there is evidence that the Firebase.json is working ?

Wouldl love any tips and help ..! thanks !

Make sure you added the email that's in firebase.json in your Google Analytics View Management. Did you also enable Google Reporting Analytics?

I have added the email in the Firebase.json and granted it permission to google analytics. I’ve also enabled google reporting analytics .. don’t know what’s wrong T.T

Try giving it the admin role instead of analyst.

I

Guyssss would love some help please !

I keep getting User does not have sufficient permissions for this profile despite following all the steps.

Command google_analytics returned: Error: <HttpError 403 when requesting https://analyticsreporting.googleapis.com/v4/reports:batchGet?alt=json returned "User does not have sufficient permissions for this profile.". Details: "User does not have sufficient permissions for this profile.">

Here are the steps I have taken so far

  1. set up google service account , download the json -> rename it Firebase.json -> put in folder of AUTOGPT

  2. Allow analyst permission in google analytics for this service account

Also, there are pull requests in my google analytics api , so there is evidence that the Firebase.json is working ?

Wouldl love any tips and help ..! thanks !

Make sure you added the email that's in firebase.json in your Google Analytics View Management. Did you also enable Google Reporting Analytics?

I have added the email in the Firebase.json and granted it permission to google analytics. I’ve also enabled google reporting analytics .. don’t know what’s wrong T.T

Try giving it the admin role instead of analyst.

still the same after changing to admin role