πŸ—‚οΈ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.

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

Click "Library" on the left sidebar.

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

Step 2: Create a Google Service Account

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

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

Copy the email of the service account.

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

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

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.

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

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.

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

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

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

My ID is 1WxTqniMwajikXM4dckdYpTg8a_4bLqyV

Finally, click 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 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