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

Add retries while adding account budget (uses BudgetOrderService) during account creation.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Johnston
    • Fix Version/s: Goa
    • Component/s: None
    • Labels:
      None
    • Environment:

      QA Environment

      Bidmgr : 27
      Services: 30

    • Story Points:
      5
    • Sprint:
      Goa Sprint 2

      Description

      While deploying a campaign, sometimes we are getting exception.

      Snippet of Listener Log:

      2013-06-14 00:00:49.946 (4) [P16T1]: sesystem: SQL->[SELECT RELEASE_LOCK('com.thesearchagency.searchengines.google.contenteditor.dao.account.createAccountsLock')]
      2013-06-14 00:00:49.947 (4) [P16T1]: time=0.0010
      2013-06-14 00:00:49.947 (4) [P16T1]: Query executed in 0.001s
      2013-06-14 00:00:49.947 (4) [P16T1]: Returning Object to Pool
      2013-06-14 00:00:49.948 (4) [P16T1]: Exception [handling exception thrown by google...]:com.thesearchagency.searchengines.SearchEngineCommandException:
      at com.thesearchagency.searchengines.google.GoogleAdWordsAPIReseller.addBudget(GoogleAdWordsAPIReseller.java:405)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.GoogleAccountChangeRequest.addBudget(GoogleAccountChangeRequest.java:276)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.GoogleAccountChangeRequest.addBudgets(GoogleAccountChangeRequest.java:252)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.GoogleAccountChangeRequest.postRequestAction(GoogleAccountChangeRequest.java:216)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.GoogleAccountChangeRequest.postRequestAction(GoogleAccountChangeRequest.java:40)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.BaseChangeRequest.postRequest(BaseChangeRequest.java:479)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.BaseChangeRequest.makeRequest(BaseChangeRequest.java:138)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.GoogleAccountChangeRequest.makeRequest(GoogleAccountChangeRequest.java:78)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$AccountWorker.createAccounts(GoogleContentEditor.java:877)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$AccountWorker.run(GoogleContentEditor.java:853)
      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:589)
      at com.thesearchagency.searchengines.google.GoogleAdWordsAPIReseller.addBudget(GoogleAdWordsAPIReseller.java:395)
      ... 15 more

      2013-06-14 00:00:49.951 (4) [P16T1]: DB AutoCommit -> true

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: