Optimization Rule Creation

This article describes how to create optimization rules in the Swaarm platform and which rule applies in case of multiple rules present

Updated over a week ago

There are some optimization rules created by default in your platform that can be edited/deactivated anytime you want. In addition, you can always create more optimization rules based on your requirements.


Create an Optimization Rule

  1. Click on +Create in the top right corner of the optimizations page

  2. In the creation window, you can insert one or multiple entities for: advertiser, publisher, and offer. These filters are optional. If no filters are selected then the rule will apply to all offers, advertisers, and publishers.

  3. Select the Rule Type. Let's say if you would like to add an optimization rule for a click, then you need to select Click.

  4. There will be an additional Rule field where you can select from the dropdown list the rule you would like to activate.

  5. Check the box Active to activate the rule immediately.

    1. If the rule is created and set to deactivate it could impact your traffic differently.

    2. For example: if you have a global rule set to discard clicks on an inactive offer, but create a specific rule for a specific offer to discard clicks for an inactive offer, and set that rule to deactivated, then that rule will allow clicks to go through since for that offer the rule is deactivated.

  6. Click on Save for completing the rule creation.

πŸ’‘ Note

You can toggle the rule to be active or inactive by clicking the switch.

You can delete rules by clicking the trash icon.

πŸ’‘ Swaarm Pro Tip

You can view and edit an optimization rule on any entities detail page. Select the Optimization tab and view all rules specified for that entity.


Priority of Optimization Rules

The rule that has been created for a particular Advertiser, Publisher, or Offer always has the highest priority. For example, if there is a rule set up for click recency of 60 seconds for all Advertisers and you create a 2nd rule with 30 seconds click recency for an advertiser called "Test advertiser(21)". In this case, for all the offers of the "Test Advertiser(21)", the rule with 30 seconds recency will be applied. The Global rule with 60 seconds recency will be ignored for all these offers. Here is the list of prioritization.

  1. Advertiser & Offer & Publisher

  2. Offer & Publisher

  3. Advertiser & Offer

  4. Advertiser & Publisher

  5. Offer

  6. Publisher

  7. Advertiser

  8. Global

Did this answer your question?