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

Exception in Get Disapproved Ads Script

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Rushmore
    • Fix Version/s: Rushmore
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 8

      Description

      Exception found while running the googlegetdisapprovedads.sh script when there are disapproved ads:

      334003-2015-04-02 18:01:30.748 (4) [P1T5]: sesystem: SQL->[select * from `sesystem`.`searchEngineResources` where ((`distributionID`=3) and (`operation`="GetAds")) limit 1]
      334004-2015-04-02 18:01:30.749 (4) [P1T5]: time=0.0010
      334005-2015-04-02 18:01:30.749 (4) [P1T5]: Query executed in 0.001s
      334006-2015-04-02 18:01:30.749 (4) [P1T5]:   Record Not Found
      334007-2015-04-02 18:01:30.749 (2) [P1T5]: Resource Not Found: "GetAds"
      334008:2015-04-02 18:01:30.749 (1) [P1T5]: Exception [[SearchEngineUserID: 77] using GoogleGetDisapprovedAds]:java.lang.ClassCastException: java.util.HashMap$Entry cannot be cast to com.google.api.ads.adwords.axis.v201409.cm.AdGroupAd
      334009-	at com.thesearchagency.searchengines.google.GoogleGetDisapprovedAds$SearchEngineUserWorker.call(GoogleGetDisapprovedAds.java:229)
      334010-	at com.thesearchagency.searchengines.google.GoogleGetDisapprovedAds$SearchEngineUserWorker.call(GoogleGetDisapprovedAds.java:206)
      334011-	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      334012-	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      334013-	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      334014-	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      334015-	at java.lang.Thread.run(Thread.java:662)
      

      The entire log is too large to attach but can be found in aml-dev3-core1:/tmp/googlegetdisapprovedads-2015-03-31.log

        Attachments

          Activity

            People

            • Assignee:
              varshini.padmanabhan Varshini Padmanabhan (Inactive)
              Reporter:
              stacie.waleyko Stacie Waleyko (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: