Skip to content

Commit 64745c0

Browse files
committed
Actually set the budget...
1 parent 7b5c059 commit 64745c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Atomx/Resources/Advertiser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function setBudget($budget)
3030
if ($budget <= 0)
3131
throw new InvalidArgumentException('API: Trying to set an advertiser budget to unlimited (0)');
3232

33-
$this->budget = 0;
33+
$this->budget = $budget;
3434
}
3535

3636
public function setBudgetCapping($capping, $pacing = 'ASAP')

0 commit comments

Comments
 (0)