Skip to main content

Optimization Rules for Clicks & Impressions

This article describes how the optimization rule works on the click & impression level

Updated over 2 weeks ago

Optimization Rules for Clicks & Impressions

The Optimization rule for clicks & impressions gives you the flexibility to choose how to handle the traffic which does not satisfy certain conditions. The Swaarm platform offers the tool to decide whether this traffic should be further redirected to the advertiser or discarded based on rules. Once the rule has been set up and activated, any incoming traffic that fulfills the requirements of the created rule will be discarded and will not be redirected to the advertiser. This traffic is counted as discarded clicks/impressions and you will be able to see this under the discarded clicks/impression measure in your reporting.

Creating Click/Impressions Optimization Rules

You can create the following Click or Impression rules under the Automation>Optimization section of the Swaarm platform.

πŸ’‘ Note

Clicks & Impressions have the same rules set up in Optimizations, so if it says Click below you can apply the same for Impressions.

  • Adscore Script: this rule is a part of Adscore-Swaarm integration, which allows to block clicks, which are detected as fraudulent by Adscore. More about the integration here.

  • Advance Targeting Mismatch: If this rule is active, all clicks/impressions incoming for an offer that does not match with the Advance targeting setup of an offer will be discarded and will not be redirected to the offer URL. For example, if the offer has a city targeting New York and the user who clicked on an ad is coming from San Francisco, then this user will not be forwarded to the advertiser. Advance targeting includes all other targetings except country, OS, and OS versions.

  • Advertiser Blocked Publisher: If this rule is active, all clicks/impressions from a publisher, who is blocked by the advertiser, will be discarded and will not be redirected to the offer URL of any of the offers of the respective advertiser.

  • Advertiser Prevalidation: used for Leadgen campaigns to check with the Advertiser if the user is relevant first, and if yes, only then the system will forward the lead.

  • Anonymous Proxy IP: If this rule is active, all clicks/impressions incoming that are masking their IP (aka VPN traffic) will be discarded and will not be redirected to the offer URL.

  • Anura Direct/Script: this rule is a part of Anura-Swaarm integration, which allows to block clicks, which are detected as fraudulent by Anura. More about the integration here.

  • Blacklisted Sub ID: If this rule is active, all clicks/impressions from a sub ID, which is blocked on the offer, will be discarded and will not be redirected to the offer URL.

  • Budget reached: If this rule is active, all clicks/impressions incoming for an offer whose hourly, daily, monthly, or total budget with a hard cap has been reached will be discarded and will not be redirected to the offer URL.

  • Click Budget Reached: If this rule is active, all clicks/impressions incoming for an offer whose hourly, daily, monthly, or total cap has been reached will be discarded and will not be redirected to the offer URL.

  • Client Side Search Latency: If this rule is active, all clicks are discarded if they are not below the provided latency threshold. The latency is measured against the search engine's web servers.

  • Search Latency: If this rule is active, all clicks are discarded if they are not below the provided latency threshold. The latency is measured against Swaarm's web servers.

  • Does Not Reach Store: If this rule is active, all clicks/impressions incoming from an offer that does not redirect to the correct end URL (based on the preview URL) will be discarded and will not be redirected to the offer URL.

  • Does Not Reach Tracker: If this rule is active, all clicks/impressions incoming from an offer that does not pick a tracker (AppsFlyer, Adjust, etc.) will be discarded and will not be redirected to the offer URL.

  • Impression Budget Reached: If this rule is active, all clicks/impressions incoming for an offer whose hourly, daily, monthly, or total impression cap has been reached will be discarded and will not be redirected to the offer URL.

  • Inactive Advertiser: If this rule is active, all clicks/impressions incoming from an advertiser that is not active in your Swaarm platform will be discarded and will not be redirected to the offer URL.

  • Inactive Offer: If this rule is active, all clicks/impressions incoming for an offer that is not active will be discarded and will not be redirected to the offer URL.

  • Inactive Publisher: If this rule is active, all clicks/impressions incoming from a publisher that is not active in your swaarm platform will be discarded and will not be redirected to the offer URL.

  • Invalid Request: If this rule is active, any clicks/impressions incoming that have crucial information missing like the offer id and publisher id will be discarded and will not be redirected to the offer URL.

  • Invalid User Identifier: If this rule is active, any clicks/impressions incoming with idfa/gaid, which is not matching the ones in the file added in Retargeting section of the offer setting, will be discarded and will not be redirected to the offer URL.

  • IP Recency: If this rule is active, all consecutive clicks/impressions are incoming from the same IP address for the same offer in less than the recency time or TTL as defined in the rule will be discarded and will not be redirected to the offer URL. For example, if you have set up the rule with TTL is 600 seconds, within this time if there is any click coming from the same IP address, the second click will be considered duplicated, and it will be discarded by our system.

  • Recency: If this rule is active, all consecutive clicks/impressions incoming from the same user (identified by fingerprinting) for the same offer in less than the recency time or TTL (Time To Load) as defined in the rule will be discarded, and will not be redirected to the offer URL. For example, if you have set up the recency TTL for 60 seconds but there is a second click within 30 seconds after the first click from the same user for the same offer, then the second click will be discarded.

  • IP Rate Limit - If this rule is active, any consecutive clicks (searches) that are incoming from the same IP address, after the defined clicks threshold, for the same offer in less than the rate time or TTL, as defined in the rule, will be discarded and will not be redirected to the offer URL. For example, if a user (based on their IP address) initiates a click (search) 3 times and the threshold for clicks is 2 in the period of 1 day (TTL), then any clicks (searches) will be discarded until the next day (when the TTL resets).

  • IP UA Rate Limit - If this rule is active, any consecutive clicks (searches) incoming from the same user (identified by fingerprinting), after the defined clicks threshold, for the same offer in less than the rate time or TTL (Time To Load), as defined in the rule, they will be discarded, and will not be redirected to the offer URL. For example, if a user (based on the User Agent & IP address) initiates a click (search) 3 times and the threshold for clicks (searches) is 2 in the period of 1 day (TTL), then any clicks (searches) will be discarded until the next day (when the TTL resets).

  • Offer Targeting Mismatch: If this rule is active, all clicks/impressions incoming for an offer that does not match with the Country or OS setup of an offer will be discarded and will not be redirected to the offer URL. For example, if the offer has a country targeting the United States and the user who clicked on an ad is coming from Poland, then this user's click will not be forwarded to the advertiser. Offer targeting includes country, OS, and OS version targeting.

  • Publisher not Approved: If this rule is active, all clicks/impressions from a publisher, who is either not approved or blocked on the offer, will be discarded and will not be redirected to the offer URL.

  • Traffic Control: If this rule is active, all traffic that does not follow the Traffic Control configuration, will be discarded and will not be redirected to the offer URL. See more about Traffic Control here.

  • Traffic Targeting: If this rule is active, all clicks/impressions incoming that do not match with the Traffic Targeting setup of an offer will be discarded and will not be redirected to the offer URL. For example, if there is a Traffic Targeting configuration that has a city targeting for New York on publishers tagged #NewYork and the publisher who sent clicks to an ad from San Francisco, then this traffic will not be forwarded to the advertiser.

Did this answer your question?