Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Fuji
-
Fix Version/s: Fuji
-
Component/s: Admax Deployment Service
-
Labels:None
-
Environment:
Builds
SAPI:811
BidMgr:369
Core:206
Reseller UI:208
-
Sprint:Sprint 9
Description
For initial deployments, daily budget is NOT rounded down nearest hundred.
1) Create a merchant and deploy an order having monthly budget to 11900
Daily budget= 11900/(31*2)=191.13
2) Check the Yahoo promotional Ads and observe the daily budget.
Actual Result:
Budget gets rounded up to 200 (Please see the attached snapshot)
Expected Result:
Budget should be rounded down to 100.
Dev note
YahooJapanAccountDeployer.java
final long MIN_BUDGET = ClientUtils.getMinimumCampaignBudget(); long budget = Math.max(MIN_BUDGET, Math.round(requestCampaign.getCampaignInfo().getBudgetAmount())); campaign.setBudgetAmount(budget);