This article is a step-by-step guide on how to create a Mapping rule.
Step-by-step guide
Navigation:
Go to Advertisers module -> Mapping rule screen -> press the '+' button in the top right corner of the grid.
This action can also be performed from the Advertiser level in the Advertisers module -> Advertisers List -> Advertiser Details form -> Mapping rule tab.
- Creating a new Mapping rule:
- Press the '+' icon on the top right corner of the table grid. A 'Create a rule' form will be presented.
- Fill in the mandatory fields: Name, Advertiser, Incoming & target properties.
You can fill in the additional fields/filters as well if required.
For the full list of filters, incoming & target properties refer to the Mapping rule tab. - Press the 'Create' button.
- Add data records:
- In order to apply the mapping rule, you must first add data records to it.
Press the data record row action, a mapping data screen will be presented. - Uploading a data file:
- Press the Upload file icon on the right top of the grid and then press the 'Upload File' button.
- Choose the file to upload and press 'Open'.
The file should be of type csv/txt and up to 10M.
- Adding data records manually:
- Press the '+' icon on the right top of the grid.
A form of 'Insert a Mapping Rule Data' will be presented. - Insert your records manually in the mapping rule data text box:
Make sure to have one data record per line.
Each line should contain the From & Target properties (mandatory), and description (optional), separated by a comma (","). - Press 'Save'.
- You can edit a data record by clicking on the edit row action of your chosen data record. All fields will be editable.
- Press the '+' icon on the right top of the grid.
- Bulk replacement of values
- Press the Bulk replacement icon on the right top of the grid.
A form of 'Bulk Replace "TO" Value' will be presented. - Insert the TO values you wish to replace, in the following format:
existing value=new value.
For example: to replace google.com with yahoo.com, write: google.com=yahoo.com
Make sure to have one TO value to replace per line. - Press the 'Replace All' button and then the Confirmation.
- Press the Bulk replacement icon on the right top of the grid.
- Automatic mapping rules (Custom integration types)
- Advertisers of some custom integration types have automatic mapping rules which can be found in the Advertiser's form/Integration tab.
- All actions on data records of automatics mapping rules, as described above, can be done from the Integration tab.
- In order to apply the mapping rule, you must first add data records to it.
- Edit a mapping rule:
- Press the Edit row action of your chosen mapping rule, in the Mapping rules grid.
- An 'Update a rule' form will be presented.
- All fields are editable except for the Advertiser name and the From & Target properties.
- Press the 'Update' button when done.
Users can add a value of ‘$_other_$’ to a data record. This can be done either by uploading a file or manually.
This value is a special property that will catch all values that are not specified.
Be aware that by doing so this rule will not act as an allowed list