using functions as conditions

6 views
Skip to first unread message

Yaniv Lev-Ari

unread,
Feb 7, 2022, 7:01:46 AM2/7/22
to obcode-users
I am using semi automatic for most my products, mainly because full doesn't work enough for me,
but it makes me use a lot of conditions and I was wonder if there is a way to make it more simple.

for example, 
let say my maximum cpa is 10,
so, I want to close each section, or each content, which gain X conversion, and spend (x+1)times Maxcpa

like
spend > 20 & cpa >= 20 
spend> 30 & cpa >=15
spend> 40 & cpa >=13.33
spend> 50 & cpa >=12.5
spend> 60 & cpa >=12
spend> 80 & cpa >=11.5
spend> 110 & cpa >=11

and so on..
till it get higher spend and the cpa come closer

and it makes me 2 problems.

The small one, is that I am doing the same thing for the content,

and the bigger one, is when after some time, I decide my cpa can be higher, or lower, and I have to change all the conditions, one by one

Any ideas?



dbuchbut

unread,
Feb 10, 2022, 3:01:58 PM2/10/22
to obcode-users
Hey,

If I understand correctly, the tedious work is changing the values for all the different place ( 7 places in your example )? or that this rule is copied accross many campaigns and that you need to go one by one and change all these values for each of the rules,
One solution that I can think of is that you define a cpa globally and use it as a reference and when you change the cpa you only change it in one place, would that work?

for example:  you set BaseCpa = 15$

and then in your rules:

spend > 20 & BaseCpa * 1.3 
spend> 30 & BaseCpa * 1 
spend> 40 & BaseCpa *  0.8
spend> 50 & BaseCpa * 0.7
spend> 60 & BaseCpa * 0.6

then you only change that base cpa, would that work?

Reply all
Reply to author
Forward
0 new messages