🗂️Data Sharing with Google Drive

SEO Utils has a feature that allows you to automatically upload the pulled DataForSEO data to a Google Drive folder, so your teammates can access them without paying any extra fees.

For example, if you check the backlink data of site A, SEO Utils will upload that data to Google Drive. When your teammate also checks the backlink data for that site, it will pull data from Google Drive instead of requesting the DataForSEO API.

Make sure you have upgraded your app to v1.1.0 or a newer version to access this feature.

Step 1: Enable the Google Drive API

Visit the Google Cloud Console at https://console.cloud.google.com/ and create a Project.

Create a project on Google Cloud Console

In the top search bar, type "API" and select "Enabled APIs & services".

Select "Enabled APIs & services"

Click "Library" on the left sidebar.

Select "Library"

Search for "Google Drive API" in the top search bar and enable it, so you can access it with your Google Service Account.

Enable the Google Drive API

Step 2: Create a Google Service Account

In your Google Cloud Console dashboard, search for "Service Accounts" and click on it.

Click on "Service Accounts"

Hit the "Create Service Account" button, and enter a service account name. Then, hit the "Done" button.

Enter service account name

Copy the email of the service account.

Copy the email

Click on the Service Account's email, select the "KEYS" tab, then click the "Create new key" button.

Create a key for your service account

A model will pop up. Select "JSON" and click the "Create" button.

Select JSON in Key type field.

After creating the key, Google will download it to your machine. Keep that file. We will need it in Step 4.

Step 3: Create a Google Drive Folder & Share the Permission

Go to https://drive.google.com/ and create a folder. I will name it as "DataForSEO".

Then, click the share button.

Click the "Share" button.

Paste the Service Account's email that you copied in the previous step and hit the "Send" button.

Share the Google Drive folder with the Service Account's email

So the Service Account can access the Google Drive folder as an Editor.

Step 4: Enter Your Service Account in the SEO Utils App

Open the SEO Utils app on your machine, and go to the Settings page.

Go to settings page

Scroll down to the "DataForSEO" section, and click the Browse button on the "Google Drive Service Account Path" field.

Select the Browse button.

Select the JSON Key file that you have downloaded in the previous step.

Select the JSON Key file.

Copy and paste the Google Drive Folder ID into "Google Drive Folder ID" field.

My ID is 1WxTqniMwajikXM4dckdYpTg8a_4bLqyV

Copy the Google Drive Folder ID

Finally, click the "Save" button.

Enter the Google Drive Folder ID and hit the Save button.

From now on, every time you pull data from DataForSEO, it will automatically upload the data to the Google Drive Folder.

You will need to share the JSON key file and the folder ID with your teammates, and they have to set up that information in their app so they can access that folder on Google Drive.

The traffic data of larseo.app was uploaded to Google Drive

The SEO Utils app will automatically delete the data in the Google Drive folder after 7 days, so you can obtain fresh data. If you prefer to retrieve the fresh data without waiting for 7 days, you can manually delete the data file in the Google Drive folder.

If you delete the Google Service Account or the Google Drive folder, you will need to remove them from the SEO Utils app to avoid any unexpected errors.

Last updated