Workflows · From Tasks · from_google_management

Purpose

Imports management information from Google Analytics.

Method of use

Before you can download management information from Google Analytics accounts you have to give access to a Onesecondbefore account.
Then you need to give your Google Account access. There are two ways to do this:

Acces with Service Account

Take the steps below to download management information with a service account.

  1. Create a service account or re-use a service account of a Google Cloud environment.
  2. Have the service account added to the Workflows connections by a Onesecondbefore staff member
  3. If you use Google Cloud, you're done. If you use another cloud, add the connection string to conn_id
  4. Give the client_email from the Service Account `Read` access to the Google Analytics account you want to import data from.
  5. You should now be able to download management information from google analytics accounts.

Access with Delegated Account

Take the steps below to download management information of a Google Analytics account with a delegated account. Please take note of the security precautions needed to secure this connection method.

  1. Take the steps 1 till 3 in the Service Account flow.
  2. Enable domain-wide delegation for the service account.
  3. Give the delegated account `Read` access to the Google Analytics account you want to import data from
  4. You should now be able to download data

Configuration

Example usage

extract:
    type: remarketing_audiences

Properties

propertytyperequireddescription
conn_idstringnoDefault is google_cloud_default. Connection string as handed to you by the Onesecondbefore team. If your cloud is Google Cloud, the conn_id is not obliged. It will take the client_cloud.db_conn_id.
typeenumerator (accounts, web_properties, google_ads_links, custom_data_sources, custom_dimensions, custom_metrics, filters, views, profile_filter_links)yesDefine from which part of the google analytics account do you want to import data from.

Details

itemdescription
APIGoogle Analytics Management API v3
Pre-formatted schemaYes. Comes with a pre-formatted and described schema.