convertall

Convert all the values in a data extract using a string converter.

Introduction

Use the convertall enrichment instruction to convert all the values in a data extract using a Python expression as a converter. For a full list of compatible converters, see the Python documentation.

Creating the enrichment

For more information on creating an enrichment, see Using custom scripts.

Configuring the enrichment

To configure the enrichment, fill in the following fields. Required fields are marked with an asterisk (*).

Converter

Enter the name of the converter to use. For a full list of compatible converters, see the Python documentation.

Fail on Error

Select this field to stop the enrichment instruction if the conversion cannot be applied.

Errorvalue

Enter the value with which to populate the field if an error occurs.

Example

Enrichment configuration

Converter

capitalize

Data tables before enrichment

Campaign

Ad Group

Clicks

brand

media

75856

outreach

weekend ecommerce

38753

organic growth

socials

99651

Data tables before enrichment

Campaign

Ad Group

Clicks

Brand

Media

75856

Outreach

Weekend Ecommerce

38753

Organic Growth

Socials

99651