Skip to main content
Ctrl+K
Adverity Documentation  documentation - Home

Getting started with Adverity

  • Glossary
  • Get started with Adverity
    • Get to know Adverity
    • Creating a datastream
    • Applying Data Mapping
    • Loading data into Adverity Data Storage, Explore & Present, and external destinations
    • Creating widgets and a dashboard
  • Migrating to Adverity
    • Adverity for Fivetran users
    • Adverity for Funnel users
    • Adverity for Improvado users
    • Adverity for Marketing Cloud Intelligence users

Data sources

  • Available data sources in Adverity
  • Available fields in Adverity

Connect Data

  • Datastreams
    • Creating a datastream
    • Collecting data
      • Manual, Smart, and Custom fetches
      • Configuring advanced datastream settings
      • Managing datastreams
      • Scaling datastreams
      • Working with data extracts
      • Combining data extracts using Bundle
      • Using datastream templates
      • Using placeholders to name objects
      • Viewing datastream issues
      • Collecting and visualizing non-aggregatable metrics
      • Working with duration data
    • Data Mapping
      • Applying Data Mapping to a datastream
      • Configuring advanced Data Mapping
    • Troubleshooting
      • Troubleshooting data discrepancies
      • Troubleshooting errors when collecting and loading data
  • Authorizations
    • Creating and viewing authorizations
    • Managing authorizations
    • Setting up authorizations to store data extracts
    • Configuring required permissions for data extract storage
    • Authorizing specific data sources
      • Setting up an authorization to Amazon Athena
      • Setting up an authorization to Marketo
      • Setting up an authorization to Partnerize
      • Setting up an authorization to Rakuten Advertising
      • Setting up an authorization to Salesforce Marketing Cloud
      • Setting up an authorization to SFTP server with a public key
      • Setting up an authorization to Web Connect
  • Activity
    • Using the Performance Manager

Manage Data

  • Transformations
    • Transforming data in Adverity
    • Using standard transformations
      • Create or Edit Columns
      • Adding rules to the Create or Edit Columns transformation
      • Currency Conversion
      • Join Datastream
      • Match & Map
      • Smart Naming Convention
      • Executing Smart Naming Conventions on conditions
      • Translation
      • Unify Location Data
      • Previewing transformations
    • Using custom script transformations
      • Available custom script instructions
      • Using the Transformation Copilot
      • Creating geolocation transformation scripts
      • Creating ISO region codes for geo maps
      • Creating rounding transformation script
      • Repository of ISO region codes for geo maps
      • Using Python expressions in custom scripts
      • Using Python expressions to manage dates
        • Adding certain dates to data extracts
        • Converting dates from one format to another
        • Converting time data between time zones
    • Mapping tables
      • Creating and applying mapping tables
      • Advanced mapping table settings
      • Automatically populate a mapping table
    • Value tables
      • Creating value tables
      • Advanced value table settings
      • Automatically populate a value table
  • Data Quality
    • Working with universal monitors
    • Working with custom monitors
    • Viewing details of the Data Quality issues
  • Data Dictionary
    • Creating and editing target fields
    • Default Data Mapping
    • Data types and measures
  • dbt Projects (Beta)
    • Adding a dbt project
    • Running a dbt project

Use Data

  • Using Data Conversations
  • Loading data into Explore & Present
  • Explore
    • Creating widgets and adding them to a dashboard
      • Selecting data to add to a widget
      • Configuring data tables
      • Configuring fields in data tables
      • Creating identical or similar widgets
      • Creating widgets comparing data over time
      • Filtering the data shown in widgets
      • Using Calculated KPIs and adding them to widgets
    • Creating visualization widgets
      • Configuring bar, line, and scatter chart widgets
      • Creating a bar chart to visualize potential impressions
      • Creating a Sankey diagram to visualize duration data
      • Creating custom data sets in widgets
      • Creating geo map widgets
      • Customizing KPI box widgets
      • Displaying images in data tables and KPI boxes
  • Present
    • Creating dashboards in Present
      • Adding widgets to a dashboard
      • Adding images to a dashboard
      • Adding websites and YouTube videos to a dashboard
      • Using dashboard templates
      • Using the Custom Library of widgets
      • Working with widget filter templates in Present
    • Managing dashboards
      • Adding filters to a dashboard
      • Cloning dashboards
      • Confirming data completeness
      • Deleting dashboards
      • Freezing dashboards
      • Optimizing dashboard performance
      • Switching the dimensions and metrics shown in widgets
      • Using dashboard labels
      • Using dashboard pages
      • Using dashboard themes
    • Sharing dashboards
      • Displaying dashboards in TV-screen mode
      • Embedding dashboards and widgets in Microsoft PowerPoint
      • Exporting dashboards
      • Publishing dashboards
      • Sharing dashboards and widgets
  • Destinations
    • Analyzing data with ChatGPT
    • Asking someone to set up an authorization to a destination
    • Configuring data loading settings
    • Data types across different database engines
    • Loading data into destinations

Administration

  • Adverity core connectors and destinations
  • Understanding your Adverity usage
    • Measuring Adverity usage with unique data rows
    • Viewing resource usage
  • Managing workspaces
    • Creating and deleting workspaces
    • Configuring workspace settings
    • Cloning workspaces
    • Selecting workspaces
    • Setting up storage for data extracts
  • Managing users
    • Adding and deleting Adverity users
    • Changing user settings and passwords
    • Managing user notifications
    • Managing user permissions
    • Using two-factor authentication
  • Connecting an external data warehouse
  • Providing Adverity Support with a browser log
  • Administration in Explore and Present
    • Workspace
      • Creating and deleting workspaces in Explore & Present
      • Configuring workspace settings in Explore & Present
      • Configuring the default color palette for Explore and Present
      • White labeling in Explore & Present
    • Users & roles
      • Getting an overview of users in Explore & Present
      • Adding and deleting Explore & Present users
      • Roles and permissions in Explore & Present
      • Changing your user settings in Explore & Present
    • Manage
      • Configuring columns settings
      • Managing your dashboards
      • Configuring visualisation settings
      • Using alerts in Explore & Present
    • Security
      • Security settings in Explore & Present
      • Viewing activity audits in Explore & Present

Management API

  • Getting Started
  • Authorization
  • Managing workspaces
    • Creating workspaces
    • Configuring workspaces
  • Creating and configuring authorizations
  • Managing datastreams
    • Creating datastreams
    • Configuring datastreams
  • Collecting data
    • Collecting data
    • Scheduling fetches
  • Configuring Data Mapping
  • Transforming data
    • Creating and configuring transformations
    • Configuring mapping tables
  • Transferring data
    • Creating and deleting destinations
    • Assigning destinations to datastreams
  • Administration
    • Managing jobs
    • Listing issues
    • Managing users
    • Configuring notifications

What's new?

  • Release notes
  • Announcements

search

Contents

  • Introduction
  • Creating a custom script transformation using the search instruction
  • Example
    • Transformation configuration
    • Data table before transformation
    • Data table after transformation

search#

Search for certain values in a data extract.

Note

This guide explains how to configure the search instruction. To learn about another instruction, go back to the Custom scripts available in Adverity overview.

Introduction#

Use the search instruction to find certain values in a data extract using a regular expression. Only the rows of the data extract that contain the values matching the regular expression are kept, and all other rows are removed.

Creating a custom script transformation using the search instruction#

To create and configure a custom script using the search instruction, follow these steps:

  1. Create a custom script transformation.

  2. In the Instructions step, select the search instruction.

  3. To configure the custom script instruction, fill in the following fields. Required fields are marked with an asterisk (*).

Field*

Enter the name of the column in which to search.

Pattern*

Enter a regular expression used to search for values in the data extract.

Subtable

Enter the name for a subtable that you want to use within this custom script.

A subtable is a temporary table that only exists for this custom script. You can apply additional instructions within the same custom script to the subtable. However, the subtable cannot be used in any other custom scripts.

If a subtable does not exist for the current custom script, the transformation is applied to the data extract, and the enriched data is output into the subtable. If the subtable already exists for the custom script, the subtable is used as the input for the transformation and optionally as the output.

Example#

Transformation configuration#

Field

Campaign Start

Pattern*

(.*)-(.*)-(.*22$)`

Data table before transformation#

Campaign Start

Campaign End

Ad Group

Clicks

01-12-2021

10-01-2022

media

7,653

31-01-2021

28-02-2021

ecommerce

3,106

21-12-2021

21-01-2022

brand awareness

18,012

31-01-2022

31-03-2022

ecommerce

4,945

05-03-2022

15-03-2022

media|social

571

10-01-2022

31-01-2022

media|social

119

Data table after transformation#

Campaign Start

Campaign End

Ad Group

Clicks

31-01-2022

31-03-2022

ecommerce

4,945

05-03-2022

15-03-2022

media|social

571

10-01-2022

31-01-2022

media|social

119

Contents
  • Introduction
  • Creating a custom script transformation using the search instruction
  • Example
    • Transformation configuration
    • Data table before transformation
    • Data table after transformation

By Adverity

© Copyright 2025, Adverity.