Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-3133

For initial deployments, daily budget is NOT rounded down nearest hundred.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Fuji
    • Fix Version/s: Fuji
    • 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);
      

        Attachments

          Activity

            People

            • Assignee:
              atul.sanagar Atul Sanagar (Inactive)
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: