Skip to main content

Sub rules builder

Written by Daria Mamchenkova

The Sub Rules Builder helps you configure sub account validation through a simple and intuitive visual interface, making the setup process easier and more accessible. You can create validation rules without needing to understand or write RegExp, making the configuration more straightforward and less technical.

💰 Sub rules builder is available by request. Contact your Affise account manager to get the feature.

Sub rules builder

  1. To find the feature, go to Offers > a certain offer > Targeting > Sub Accounts.

  2. Enable the Rule builder toggle.
    ​

  3. In the Contains drop-down list, select a validation condition:

    • Equals

    • Contains

    • Starts with

    • Ends with

    • Is empty

    • Is not empty

    • Length equals

    • Length greater than

    • Length greater than or equal

    • Length less than

    • Length less than or equal

    • Contains only numbers

    • Contains only letters

    • Contains only letters and numbers

    • Contains spaces

    • Contains special characters

  4. If the Value/Number field appears, enter the required value.

  5. Optional. To add multiple validation rules, click Add rule and configure each rule separately.
    ​

6. Click Save changes to apply the rules.

Examples

Here are some examples of how different rules can be used to validate sub account values:

  • Starts with

    Value: fb_

    Validation: Value must start with "fb_".
    ​

  • Contains

    Value: campaign

    Validation: Value must contain "campaign".
    ​

  • Length greater than

    Value: 10

    Validation: Value must contain more than 10 characters.
    ​

  • Contains only numbers

    Validation: Value may contain numeric characters only.
    ​

  • Is not empty
    Validation: An empty value is not allowed.
    ​


Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].

Did this answer your question?