Skip to content

Commit ea62d48

Browse files
committed
Techno targeting
1 parent 0a6fca3 commit ea62d48

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

Atomx/Resources/Profile.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,23 @@ public function setFrequencyCap($capping)
3030
// Dayparting times_filter[_action] [start: Nth minute of the week, end: Nth minute of the week]
3131

3232
// Techno targeting {browser,device,operating_system}_filter[_action]
33+
public function setDeviceTargeting($action, $devices)
34+
{
35+
$this->device_types_filter_action = strtoupper($action);
36+
$this->device_types_filter = $devices;
37+
}
3338

34-
// Domain targeting domains_filter[_action]
39+
public function setOSTargeting($action, $oses)
40+
{
41+
$this->operating_systems_filter_action = strtoupper($action);
42+
$this->operating_systems_filter = $oses;
43+
}
3544

45+
public function setBrowserTargeting($action, $browsers)
46+
{
47+
$this->browsers_filter_action = strtoupper($action);
48+
$this->browsers_filter = $browsers;
49+
}
50+
51+
// Domain targeting domains_filter[_action]
3652
}

0 commit comments

Comments
 (0)