Traffic distribution by rules

❗️

THIS ARTICLE IS NOT UPDATED. WE ARE ON THE INTERCOM NOW!
http://help-center.peerclick.com/en
JOIN US THERE AND WATCH ALL UPDATED PEERCLICK GUIDES!

PeerClick can distribute visits not only between paths, landers and offers, but also according to the rules. To add a new rule to the campaign, click the Add rule button on the campaign edit page.

874

This window will open:

967

Operation logic

The rule consists of criteria - conditions of a certain type (country, city, OS, etc.). You can know more about the types below. To add a criteria to a rule, click the Add condition button in the corresponding rule.

All rules work with a top-down priority. So the higher the rule is, the more priority it has.
You can change the place of the rules according to the system of weight

You can choose AND or OR operation between the criteria. AND operation is a fulfillment of both conditions. OR operation is a fulfillment of one condition.

Inside of condition OR operation works between criteria until the first match.

Rule types

Peerclick allows you to distribute input traffic based on the following parameters.

Rule typeDescription
CountryUser country
CityUser city
LanguageBrowser language
Day of weekBy day of week
Time of dayBy hour of day
TimezoneBy timezone
Connection typeUser device connection type
ISPCommunication operator
VPNConnection via VPN
ProxyProxy traffic with substituted IP
IP addressUser IP address
Device typeDevice type: Mobile Phones, Tablets, Smart TV, Desktops and Laptops
Brand and modelBrand and model of the device visit
Operation systemUser's OS and its version
Browser and versionUser browser and version
InchesScreen resolution per inch
PixelsPixel screen resolution
ReferrerReferrer
GetOccurrence of a string in URL get-parameters
UrlOccurrence of a string in URL
V1 - VnOccurrence of a string in URL get parameters according to Vn numbering in traffic source settings
Anti-Fraud protectionProtection from suspicious traffic
UseragentUseragent transmitted by browser
UniquenessUser uniqueness

1. Geo: Country, City, Language

  • Select the necessary condition and click Add condition. To cancel the condition, click Delete condition.
  • Click on the input field. A drop-down menu will appear. Here you can select the necessary value or start entering the name of the Country / City / Language. In the drop-down menu you will see all partial/full matches for the entered value. Select the desired one from the appeared list and it will show up in the field.
  • You can add several conditions to one rule. Enter a new value next to the already added. You can add rules for cities and languages ​​in the same way.
  • Click the Apply button and the rule will be added to the campaign.
  • Select a lander / direct linking and an offer to redirect traffic according to this rule.
  • You can add additional criteria to this rule using the Add rule button.

2. Time: Day of week, Time of day, Timezone

  • To select Day of week click the desired value. You can select several values.
  • Enter the time interval during which you want to send traffic on this rule. Time will be calculated according to the account time zone settings. You can select several time intervals clicking the +, or remove one of the intervals by clicking the -.
  • Click on the Timezone input field and select one or more things on the list.

3. Connection: Connection type, ISP, VPN, Proxy, IP address

  • Click on the Connection type input field and select one or more things on the list.
  • Click on the ISP input field and start entering/select one or more things on the list.
  • VPN and Proxy conditions are set only according to the Equal/Not equal criteria.
  • Rules for both IP and IP-ranges of formats 20.30.40.50 or 20.30.40.50/24 (CIDR record) are available in PeerClick. You can also use ranges with a dash and with digits skipping *. Just add line by line a list of values ​​in the text box and click Apply.
946

4. Devices: Device type, Brand and model, Operating system, Browser and version, Inches, Pixels

  • Click on the Device type input field and start entering/select one or more things on the list.
  • When you select a Brand and model condition you will see a list of brands with a search field in the first column. Click on the field and start entering/select one or more checkboxes on the list. In the second column a list of models of the selected brand will appear. If you need to select only certain models, uncheck the unnecessary models. When you do this you will see a list in the form of + in the left field. If you select a brand and you need all the marked models, a selected condition in the form of + will appear in the field on the left. It means all the models of this brand will appear.
950
  • You can set the conditions for Operating systems, Browsers and versions in the same way as for Brands and models.
  • If you select the condition for the Device resolution per inches, you can mark the suggested sizes with checkboxes or set a more accurate range of resolution in the drop-down menu.
  • You can set the conditions for Pixel device resolution in the same way as for Device resolution per inches.

5. Referrer

  • Load in the text box a list of values according to which you want to redirect traffic. Each of them should start on a new line below. Mark the checkbox Select empty referrers to include empty/unrecognized referrers to the condition.

6. Url: Get, Url, Vn

  • You can set the conditions for Get, Url, Vn in the same way as for Referrers.

Accoring to the sample link https://3088613359.gopeerclick.com/15GiBs?token1=t&token2=t2&token3=t3&token4=t4&token5=t5 set your URL criteria:

  • Get condition will look like:
939
  • URL condition will look like token1=t&token2=t2&token3=t3&token4=t4&token5=t5
  • V1 condition will look like t
  • V2 condition will look like t2

The difference between Get and Vn conditions is Vn criteria is set only according to PeerClick traffic source settings and equal to TokenN. You can set get parameters not only from PeerClick for Get criteria.

963

7. Anti-fraud protection, Useragent, Uniqueness

  • In the Anti-fraud rule, mark the necessary checkboxes for the bot traffic.
945
  • The condition for Useragent is set in the same way as the condition for referrers.
  • The visit uniqueness condition is set only by the Equal/Not equal criteria.

Work with lists of values

Working with the country and language rules you can use lists of values. To load values ​​in the list, click the Add list button.
Copy the list of values to the appeared form ​​and click Append. You can use two formats to input values - a two-letter common abbreviations or full names. The alphabetical register isn’t important but you can enter text only in English.

953

All the values ​​will be added to the field:

944

To copy the rule values in the form of a list, click the Get list button, then click the Copy button. The list is copied to the clipboard.

Path in the rules

You can create several paths in rules. Create a new path clicking the Add path button.

883

Comparison Operators and Regular Expressions

Peerclick has the following methods of comparison on conditions:

946
  • Full match with a string - the criteria is considered correct with a full match with the string.

  • The presence of substring - if there is a string in the checked value, the criteria is considered correct.

  • Regular expression - you can record a criteria using a regular expression. For example, the Hel*o criteria will pass the values ​​Hello, Helo, Heo, Helllllllllllo, etc., and the [0-9] criteria will pass full values ​​from 0 to 9.

  • Comparison of numbers - to compare numbers, use >, <,> =, <=, =,! = and the {token} macro, where {token} is the value that came into the parameter, for example, 10 <{token} <= 20. So if the value that came into the parameter is less or equal to 20 and more than 10, then the condition is met.

Rules Copying

You can copy any rule in a campaign and paste it into any campaign. To do this, use the Сopy (1) icon in the Actions header:

856

Click the Clear Buffer (2) button to remove the copied rule from the buffer.
Use arrows (3) to put a rule down.

If you need to copy more than one or all the rules you should use flows.