Collecting data from Google Sheets
Follow this guide to collect data from Google Sheets and preview the data.
Understanding datastreams and s
When you connect to Google Sheets through Adverity, you authorize Adverity to access your account. Adverity stores this authorization information in an , and stores the data collection configuration in a datastream.
You can create several datastreams using the same . The datastreams collect information from the same source, with the same login credentials, with different configurations.
Creating a datastream using Google Sheets
Connecting to Google Sheets
To connect to Google Sheets, follow these steps:
-
Select the workspace you work with in Adverity and then, in the , click Datastreams.
-
In the top right corner, click + Create datastream.
-
Search for and click Google Sheets.
-
Choose one of the following options:
-
Click Setup a new and set up the new with your own login credentials.
-
Click Send an access request to ask someone else to set up the new . In the Email field, enter the email address of the person you want to ask to authorize the new .
-
If you already have an Google Sheets, choose an existing .
to
-
-
Click Next.
Choosing what data to collect
To choose what data to collect and customize the Google Sheets datastream configuration, follow these steps:
-
Click Custom configuration.
-
Click Next.
-
(Optional) Rename your datastream.
-
(Optional) In Export type, select the data format you want Adverity to use in the data extract.
-
(Optional) To name the data extract the same as the Google Sheets spreadsheet, select the Keep filename checkbox.
-
In File id, enter the ID of the Google Sheets spreadsheet. To find the spreadsheet ID, copy the URL of the spreadsheet and remove the part
https://docs.google.com/spreadsheets/d/
from the beginning and the part/edit#gid=0
from the end. For example, if the URL of the document ishttps://docs.google.com/spreadsheets/d/123_ABC-789/edit#gid=0
, the ID is123_ABC-789
. For more information on finding the spreadsheet ID, see the Google documentation.
-
Click Next.
Choosing where to transfer your data
To choose where to transfer your data, follow these steps:
-
To assign destinations to your datastream, select their checkboxes. For more information on destinations and their configuration settings, see Introduction to transferring data.
-
Click Next.
Collecting initial data
To collect the initial data, follow these steps:
-
Choose the time period for which data is collected.
-
Click Run fetch.
Previewing data collected from Google Sheets
The fetch collects data from Google Sheets which takes some time. The Overview page of the newly created datastream is now displayed. To preview the collected data, follow these steps:
-
In the All tasks tab, find the task at the top of the list, and click
Show extracts.
-
Click the top hyperlink.
-
The data extract is displayed in a table containing the data that you have fetched.
What’s next?
After collecting data from Google Sheets, harmonize your data so that it conforms with Adverity's unified naming and formatting conventions.