Business rules
How business rules work
In a rule, you set the CPM threshold, select the necessary RTB blocks, and configure targeting criteria. You can add the same block to multiple rules. You set a priority for each rule (,
,
).
Adding a rule
Go to the Business rules page and click Add a rule. Enter the name of the rule and the CPM threshold. Select the RTB blocks you need from the list.
To set up targeting, go to Conditions and select the desired option. You can configure multiple parameters (in other words, create multiple criteria). In order for the rule to be triggered, all the criteria must be met at the same time.
Parameter | Targeting |
---|---|
Location | Targeting by the user's geographic location. |
Device | Targeting by the user's device. |
Operating system | Targeting by the operating system on the user's device. |
Browser | Targeting by the user's web browser. |
URL | Targeting by the URL of the page where the user will see the ad block. This condition is met when part of the page URL matches the value of this parameter. The parameter value is case-sensitive. You can add several of these conditions. For example, your site has a section about elephants siteforyandex.com/elephants, and the page URLs in this section contain the name of the breed. If you want to set up targeting for pages about African elephants, add the conditions elephants and african. The rule will be triggered for the page siteforyandex.com/elephants/about-african.html and it won't be triggered for sileforyandex.com/elephants/species-indian.html. |
Query parameters | Choose targeting values for the platform. Only applies to ADFOX clients. You can add several of these conditions. The rule will be triggered for a platform where all the specified puids are configured. Learn more about working with ADFOX. |
Parameter | Targeting |
---|---|
Location | Targeting by the user's geographic location. |
Device | Targeting by the user's device. |
Operating system | Targeting by the operating system on the user's device. |
Browser | Targeting by the user's web browser. |
URL | Targeting by the URL of the page where the user will see the ad block. This condition is met when part of the page URL matches the value of this parameter. The parameter value is case-sensitive. You can add several of these conditions. For example, your site has a section about elephants siteforyandex.com/elephants, and the page URLs in this section contain the name of the breed. If you want to set up targeting for pages about African elephants, add the conditions elephants and african. The rule will be triggered for the page siteforyandex.com/elephants/about-african.html and it won't be triggered for sileforyandex.com/elephants/species-indian.html. |
Query parameters | Choose targeting values for the platform. Only applies to ADFOX clients. You can add several of these conditions. The rule will be triggered for a platform where all the specified puids are configured. Learn more about working with ADFOX. |
Click Create. Enable the rule you created. It appears in the Active list with the lowest priority.

Managing rules
The Active list contains all the rules that are currently used when selecting ads. The rules are sorted in order of descending priority.
- Change the priority.
- Edit them.
- Disable them.
- Archive them.
- Changing priority
- Hover over
next to the priority and drag the rule to the desired position in the list.
- Editing
- When editing a rule, you can change the CPM threshold, conditions, and blocks. To start editing, click the rule name in the list.
- Disabling
- Set the option to Off. The rule moves to the Inactive list. You can re-enable it at any time.
- Archiving
- To archive a rule, click
. The rule moves to the Archived list.