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

Budget is not being added for orders whose timezone falls in previous day of UTC.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Wickford
    • Fix Version/s: Goa
    • Labels:
      None
    • Environment:
    • Story Points:
      2
    • Sprint:
      Goa Sprint 2

      Description

      For orders,whose realm falls in previous day of UTC, budget is not being added in AdWords

      1.Create a realm such that its time falls in previous day of UTC timezone.

      E.g. I created realm having timezone "Pacific/Honolulu"

      http://abutimezone.aq-qa-tomcat1:9996/reseller/#LOGIN

      2.Login to Reseller of above realm and create an order.

      Actual Result:

      Order gets deployed successfully in adwords and reseller UI but the Budget doesn't adds to Billing section.

      Listener log shows exception.

      {Jboss and listener log attached}

      2013-10-17 07:55:23.294 (2) [P55T1]: com.thesearchagency.searchengines.google.GoogleAdWordsAPIReseller$ResellerApiError: ApiError: fieldpath=operations[0].operand.endDateTime, trigger=End date cannot be beyond 2036-12-31 23:59:59 America/Los_Angeles apierrortype=RESELLER, reason=BudgetOrderError.INVALID_BUDGET_DATE_RANGE
      2013-10-17 07:55:23.294 (3) [P55T1]: Not retrying Google error. message1=[BudgetOrderError.INVALID_BUDGET_DATE_RANGE @ operations[0].operand.endDateTime; trigger:'End date cannot be beyond 2036-12-31 23:59:59 America/Los_Angeles']
      2013-10-17 07:55:23.294 (3) [P55T1]: Caught other/unrecoverable API Exception: "com.google.api.ads.adwords.axis.v201306.cm.ApiException"
      2013-10-17 07:55:23.295 (5) [P55T1]: quoteValue(), nothing special about it=>[3], type=class java.lang.Integer
      2013-10-17 07:55:23.295 (5) [P55T1]: quoteValue(), nothing special about it=>[0], type=class java.lang.Integer
      .
      .
      .
      .

      2013-10-17 07:55:23.318 (4) [P55T1]: Exception [handling exception thrown by google...]:com.thesearchagency.searchengines.SearchEngineCommandException:
      at com.thesearchagency.searchengines.google.GoogleAdWordsAPIReseller.addBudget(GoogleAdWordsAPIReseller.java:408)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.GoogleAccountChangeRequest.addBudget(GoogleAccountChangeRequest.java:295)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.GoogleAccountChangeRequest.addBudgets(GoogleAccountChangeRequest.java:271)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.GoogleAccountChangeRequest.postRequestAction(GoogleAccountChangeRequest.java:229)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.GoogleAccountChangeRequest.postRequestAction(GoogleAccountChangeRequest.java:42)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.BaseChangeRequest.postRequest(BaseChangeRequest.java:514)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.BaseChangeRequest.makeRequest(BaseChangeRequest.java:158)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.GoogleAccountChangeRequest.makeRequest(GoogleAccountChangeRequest.java:92)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$AccountWorker.createAccounts(GoogleContentEditor.java:909)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$AccountWorker.run(GoogleContentEditor.java:885)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by:
      at com.thesearchagency.searchengines.google.GoogleAdWordsAPIReseller.convertToNonResellerException(GoogleAdWordsAPIReseller.java:592)
      at com.thesearchagency.searchengines.google.GoogleAdWordsAPIReseller.addBudget(GoogleAdWordsAPIReseller.java:398)
      ... 15 more

      Expected Result:

      Order should gets deployed successfully and it should set the budget .

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: