Feed Exports

Rules

What is it? 

The rules are used in feed exports and allow you to customize the values in the export to your liking. Unlike a custom variable, a rule doesn't add a variable/attribute to your data source, so your data source remains in its original state. So rules work on the principle that you take a variable from your feed, modify it, and the change will be automatically applied to that variable when that variable is used in feed exports. You can also specify for which export each rule will be applied. 

You can have multiple active rules for a single variable and therefore more freedom in editing.

Where to find it? 

When you go to your feed, you will see the Rules option in the left menu:

Snímek obrazovky 2023-10-24 v 12.44.17.png

 

Once you select it, you can choose which variable from the feed you want to edit:

Snímek obrazovky 2023-10-24 v 12.45.02.png

Then, of course, you can choose how you want to edit it:

Snímek obrazovky 2023-10-24 v 12.45.43.png

We will show you the options below.

 

How to use it? 

We showed you where to find the rules. But what are they good for? You have several ways to modify the variables and we'll give you some examples of what they're good for.

Text rule is good for:

  • Editing URLs
  • Editing product titles
  • Removing HTML tags from the description
  • Removing unnecessary parts of the product title
  • Replacing text with another

Conditional Rule is good for:

  • Set labels and attributes such as gender, color, and size, based on values from other variables from the data source.

Remap rule is good for:

  • Convert/remap custom categories from your website to categorization for ad system/price comparator.

You can get really creative with the rules, there are plenty of options. As an example, you can change the size of the letters as follows:

Snímek obrazovky 2023-10-24 v 15.58.29.png

The preview on the right will show you the result of the values.

 

You can set if the rule will be active and also set for which exports this rule will be enabled:

Snímek obrazovky 2023-10-24 v 16.15.37.png

 

Once you have created the rules, you can see them in the rules overview. Here you can run or pause the rule, keep track of what exports the rule is active in, and you can also turn on a preview of how your values are changing:

Snímek obrazovky 2023-10-24 v 16.15.37.png

Once you have created the rules and selected which exports they will be active for, they will be automatically applied to the variables used in export:


Snímek obrazovky 2023-10-24 v 16.22.14.png
In the example, I have set the value "brand" and for this export I have applied the rule brand high, which means that the brands will be written in capital letters. Then in the export, you just need to have the brand value filled in and the values are already capitalized.

This is how it works for all rules. So if you have exports created and you create certain rules for the variables in the export, they will automatically be applied and the values in the export will be adjusted to your liking.

 

 

 

 

 

Was this article helpful?
Didn’t find what you were looking for?
Ask a question