This chapter of the Beginner's Guide will explain how to create and set up the dynamic rules and conditions for your Smart Dynamic Ads. Creating conditions will help you build better performing layouts and deliver more personalised messages to your audience.
While serving the ad, a different version of the default ad is displayed for each created condition. This way you are able to create more relevant ads with just one feed. It will make sure that the ad will 100% be able to get the most out of every single line item in the associated feed.
Before creating any condition, it is very important to generate all ad sizes you need. Check this article to know how to generate sizes. Once you set up a condition, it is not possible to add extra sizes. Find below some important information about dynamic rules and conditions:
- It is possible to add up to 20 conditions to a set.
- A condition can consist of up to 10 rules.
- A condition can’t have the same rule added twice.
- A minimum of 1 line item needs to be affected by the condition in order to save the condition.
- A condition can’t affect the total line items of your feed. E.g. If your feed contains 500 line items, a condition must affect up to 499 line items.
Some examples of common used conditions are:
- If "sale_price" "exists"
- If "discount" ">20%"
In this chapter, we will set up a condition for the products that are on sale.
From the ad editor, click on "Default" and click on "Add condition".
You now see an important message. Before creating your first condition, make sure your set contains all the sizes you will need and that they have been generated. Once a rule is created, it is not possible to add new sizes to your set. Click on "Yes, I'm done" if your set is ready. If you still need to generate other sizes, have a look at this article.
Add a name to your condition. We recommend to add a name that refers to the condition you are about to create. For example "Sale price" or "Last 10 in stock" so you can easily recognise what ad layouts you are working on or previewing later on.
Select an attribute from your feed. The attributes that you see in the dropdown menu refer to the attributes mapped earlier when you uploaded your feed in Bannerwise.
We will choose "sale_price" because we want to create a specific ad layout for products that are on sale.
Select the operation you want. Depending on the operation you select, you need to enter a value: number, word(s), letter(s)...
We will choose "exists" because we want to create a specific ad layout for products that contain a "sale_price" in our feed.
Click on the “+” icon to select “AND” or “OR” if you want to add another rule to your condition and generate specific ad layouts.
In this case, we don't need more rules. So we will proceed with the next step.
Check how many line items will be affected by the condition. A minimum of 1 line item needs to be affected by the condition in order to save the condition. A condition can’t affect the total line items of your feed. E.g. if your feed contains 500 line items, a condition must affect up to 499 line items.
When you are ready with setting up your rules and conditions, click on "Save condition".
That's it! This is how you can set up rules and conditions to your dynamic ads.
If you want to add multiple conditions, simply follow this article from the beginning again.
Make sure your changes are saved and when you're happy with the result, proceed to the next step: Creating ad layouts for your dynamic rules and conditions.