File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,20 @@ public function setCountryTargeting($action, $countries)
2121
2222 public function setFrequencyCap ($ capping , $ per = 86400 )
2323 {
24- $ this ->impression_frequency_cap_amount = $ capping ;
25- $ this ->impression_frequency_cap_per = $ per ;
24+ $ this ->setUserFrequencyCap ($ capping , $ per );
25+ $ this ->setIpFrequencyCap ($ capping , $ per );
26+ }
27+
28+ public function setUserFrequencyCap ($ capping , $ per = 86400 )
29+ {
30+ $ this ->user_impression_frequency_cap_amount = $ capping ;
31+ $ this ->user_impression_frequency_cap_per = $ per ;
32+ }
33+
34+ public function setIpFrequencyCap ($ capping , $ per = 86400 )
35+ {
36+ $ this ->ip_impression_frequency_cap_amount = $ capping ;
37+ $ this ->ip_impression_frequency_cap_per = $ per ;
2638 }
2739
2840 // Dayparting times_filter[_action] [start: Nth minute of the week, end: Nth minute of the week]
You can’t perform that action at this time.
0 commit comments