Workflows · From Tasks · from_dpg_datalab

Purpose

Imports data from DPG Media's Datalab.

Currently Workflows supports the following extractions:

  1. audiences
  2. groups

Onesecondbefore Support can add more extractions at demand.

Task Type: audiences

Retrieves all audiences associated with the provided API key. The response is sorted by default from the most recent to the least recent audience.

Properties

propertytyperequireddescription
typeenumerator (see description)yesMust be audiences.
groupIdUUID4noMust be the group id (UUID version 4).
conn_idstringnoConnection string as handed to you by the Onesecondbefore team. Default is dpg_datalab

Example usage

task:
    type: from_dpg_datalab

extract:
    type: audiences
    groupId: dd023794-2be2-40a0-8cd8-d1b9d46a6f3a

deduplicate:
    type: keys
    keys:
        - id

Task Type: groups

Retrieves all audience groups associated with the provided API key.

Properties

propertytyperequireddescription
typeenumerator (see description)yesMust be groups.
conn_idstringnoConnection string as handed to you by the Onesecondbefore team. Default is dpg_datalab

Example usage

task:
    type: from_dpg_datalab

extract:
    type: groups

deduplicate:
    type: drop

Details

itemdescription
APIDPG Media Datalab API
Pre-formatted schemaYes. Comes with a pre-formatted and described schema.