Skip to content

Commit 7b5c059

Browse files
committed
Sources targeting added to Profile
1 parent 6d545d9 commit 7b5c059

2 files changed

Lines changed: 18 additions & 2 deletions

File tree

Atomx/Resources/Profile.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,21 @@ public function setBrowserTargeting($action, $browsers)
4646
$this->browsers_filter = $browsers;
4747
}
4848

49-
// Domain targeting domains_filter[_action]
49+
public function setNetworkTargeting($action, $networks)
50+
{
51+
$this->network_filter = strtoupper($networks);
52+
$this->network_filter_action = $action;
53+
}
54+
55+
public function setPublisherTargeting($action, $publishers)
56+
{
57+
$this->publishers_filter = strtoupper($publishers);
58+
$this->publishers_filter_action = $action;
59+
}
60+
61+
public function setDomainTargeting($action, $domains)
62+
{
63+
$this->domains_filter = strtoupper($domains);
64+
$this->domains_filter_action = $action;
65+
}
5066
}

tests/ReportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function testRunAndDownloadReport()
7474
'timezone' => 'UTC'
7575
);
7676

77-
$streamer = $report->runAndDownload($options, 1);
77+
$streamer = $report->runAndDownload($options);
7878

7979
$this->assertNotEquals(false, $streamer);
8080

0 commit comments

Comments
 (0)