Skip to content

Commit 32c6898

Browse files
committed
Budget cap: update to latest api
1 parent 6267ee4 commit 32c6898

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Atomx/Resources/Campaign.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public function setDailyBudget($dailyBudget, $pacing = 'ASAP')
4646
if (!in_array($pacing, ['ASAP', 'EVEN']))
4747
throw new InvalidArgumentException('API: Invalid pacing provided: ' . $pacing);
4848

49-
$this->budget_cap_amount = $dailyBudget;
50-
$this->budget_cap_pacing = $pacing;
49+
$this->daily_budget_amount = $dailyBudget;
50+
$this->daily_budget_pacing = $pacing;
5151
}
5252

5353
public function setBidType($type)

0 commit comments

Comments
 (0)