Uploaded image for project: 'AdMax'
  1. AdMax
  2. ADMAX-2098

Yahoo API: Executing "./seupdate.sh" throws exception when the Campaign Optimization is set to "ON"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: unspecified
    • Fix Version/s: None
    • Component/s: Yahoo
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: PC

    • Bugzilla Id:
      3569

      Description

      --------------------------------------------------
      Project: Yahoo API.
      Component Used: ./seupdate.sh
      Build: tsa-build-bidmgr-2010-02-25-p5-r25068
      --------------------------------------------------

      On setting the Campaign Optimization to 'ON' and then executing the
      './seupdate.sh' with necessary arguments throws exceptions that says"

      "[Can't retry request
      E5005]:com.tsa.yahooapis.budgetingservice.ApiFault_Exception:
      CampaignDailySpendLimit is not available when campaign optimization is on."

      Steps to reproduce:

      1. Log into Yahoo Online Marketing using the valid credentials. (Logs into
      Cellular Safety Comission account in this case.)
      2. Create a campaign and go to its setting
      3. In the Campaign setting under "Campaign Budget and Schedule" tab edit the
      "CampaignOptimization" field by setting it to ON and changing the necessary values
      4. Execute the SE Updater with the following command and observe:

      ./seupdate.sh -d3 --seuser 445 -A '39737' --accounts

      Expected Result:
      The script should execute successfully and show that 1 account has been modified.

      Actual Result:
      The script threw an exception which says:

      ---------------------------------------------------------
      2010-02-26 05:02:43.542 (1) [P0T0]: Exception [Can't retry request
      E5005]:com.tsa.yahooapis.budgetingservice.ApiFault_Exception:
      CampaignDailySpendLimit is not available when campaign optimization is on.
      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:131)
      at $Proxy64.getCampaignDailySpendLimit(Unknown Source)
      at
      com.thesearchagency.searchengines.yahoo.YahooBudgetingService.getCampaignDailySpendLimit(YahooBudgetingService.java:115)
      at
      com.thesearchagency.searchengines.yahoo.YahooEWS.getCampaignBudget(YahooEWS.java:495)
      at
      com.thesearchagency.searchengines.yahoo.YahooAPISearchEngine.getAccounts(YahooAPISearchEngine.java:484)
      at
      com.thesearchagency.searchengines.SearchEngineUpdater$SearchEngineUserWorker.syncAccounts(SearchEngineUpdater.java:1268)
      at
      com.thesearchagency.searchengines.SearchEngineUpdater$SearchEngineUserWorker.run(SearchEngineUpdater.java:1236)
      at
      com.carldunham.jst.concurrency.ThreadPool$WorkerThread.run(ThreadPool.java:248)

      2010-02-26 05:02:43.543 (2) [P0T0]: exception pulling budget data, ignoring...
      2010-02-26 05:02:45.396 (1) [P0T0]: Exception [Can't retry request
      E5005]:com.tsa.yahooapis.budgetingservice.ApiFault_Exception:
      CampaignDailySpendLimit is not available when campaign optimization is on.
      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:131)
      at $Proxy64.getCampaignDailySpendLimit(Unknown Source)
      at
      com.thesearchagency.searchengines.yahoo.YahooBudgetingService.getCampaignDailySpendLimit(YahooBudgetingService.java:115)
      at
      com.thesearchagency.searchengines.yahoo.YahooEWS.getCampaignBudget(YahooEWS.java:495)
      at
      com.thesearchagency.searchengines.yahoo.YahooAPISearchEngine.getAccounts(YahooAPISearchEngine.java:484)
      at
      com.thesearchagency.searchengines.SearchEngineUpdater$SearchEngineUserWorker.syncAccounts(SearchEngineUpdater.java:1268)
      at
      com.thesearchagency.searchengines.SearchEngineUpdater$SearchEngineUserWorker.run(SearchEngineUpdater.java:1236)
      at
      com.carldunham.jst.concurrency.ThreadPool$WorkerThread.run(ThreadPool.java:248)

      2010-02-26 05:02:45.398 (2) [P0T0]: exception pulling budget data, ignoring...
      2010-02-26 05:03:04.788 (3) [P0T0]: Accounts: 0 added, 0 modified, 0 disabled.
      ---------------------------------------------------------

      > Attaching the full report that was obtained.

        Attachments

          Activity

            People

            • Assignee:
              therouxj Jeff Theroux
              Reporter:
              pradeep.nair V Pradeep Nair (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: