Reports

Use ROASaurus in Looker Studio

Updated

Download the connector files from Settings › API › Google Sheets & Looker Studio, deploy them as an Apps Script project in your Google account, and add the deployment as a data source with an API key.

Before you start

  • An owner or admin login, to create an API key.
  • A Google account with access to script.google.com and Looker Studio.

Steps

  1. Create an API key

    On the API keys tab, create a key with reports:read plus the scopes of the reports you want. Copy it; it is shown once.

  2. Create the Apps Script project

    Open script.google.com, create a project and paste Code.gs from the Looker Studio section. Under Project Settings, tick "Show appsscript.json" and replace that file with the downloaded appsscript.json.

  3. Deploy

    Choose Deploy › Test deployments and copy the Head Deployment ID. Open the address shown in ROASaurus with that id.

  4. Connect

    Paste your API key when asked, then pick a report and an attribution model.

    You should see: A Looker Studio data source with dates as dates and money in your store currency. The data source's date range sets the period.

Building the report

  • Add one data source per report you need (for example the P&L and the attribution by campaign) and blend them on date.
  • Calculated fields in Looker Studio work on the fields the connector returns, such as POAS from contribution and spend.
  • Revoke the key under API keys to cut Looker Studio off.

Developers: the same reports are in the API reference.

Common problems

Looker Studio asks for authorisation again
The test deployment belongs to your Google account; colleagues need edit access to the data source, or their own deployment.

Next step

Send data to Google Sheets

Still stuck? Email us.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.