Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: Diu
-
Fix Version/s: Diu
-
Component/s: Admax (bidding/budgeting)
-
Labels:None
-
Environment:
Bidmgr: bidmgr-distribution-2.4.1.diu-SNAPSHOT-BUILD_46-t20140508151605-bin.tar.gz
-
Sprint:Sprint 6
Description
sebidUpdater script throws exception on running the script to update Adwords.
algorithm.properties file set up,
#Global Google bidding values
com.thesearchagency.admax.algorithms.sabb.biddingEnabled.google=true
com.thesearchagency.admax.algorithms.sabb.bouncePosition.google=1.1
com.thesearchagency.admax.algorithms.sabb.lowSpendBudgetRatioThreshold.google=90
com.thesearchagency.admax.algorithms.sabb.highSpendBudgetRatioThreshold.google=100
#JPY Google bidding values
com.thesearchagency.admax.algorithms.sabb.defaultBid.google.JPY=30
com.thesearchagency.admax.algorithms.sabb.minBid.google.JPY=1
com.thesearchagency.admax.algorithms.sabb.bounceBidAdjustment.google.JPY=-5
com.thesearchagency.admax.algorithms.sabb.maxLowSpendBudgetBidAdjustment.google.JPY=50
com.thesearchagency.admax.algorithms.sabb.maxHighSpendBudgetBidAdjustment.google.JPY=-5
com.thesearchagency.admax.algorithms.sabb.defaultBidAdjustment.google.JPY=-5
com.thesearchagency.admax.algorithms.sabb.bidAdjustmentThreshold.google.JPY=1
com.thesearchagency.admax.algorithms.sabb.maxBid.google.JPY=100000.00
API google properties set up
com.thesearchagency.searchengines.google.minCPCBid.JPY=1.00
com.thesearchagency.searchengines.google.maxCPCBid.JPY=100000.00
Steps followed
1) Create an account and deploy
2) Run abu
3) Run sebidupdate
Shows the following exception,
2014-05-09 08:39:14.393 (1) [P1T1]: Exception [Could not get Google minimum CPC bid property]:java.lang.NullPointerException
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:989)
at java.lang.Double.parseDouble(Double.java:510)
at com.thesearchagency.searchengines.google.GoogleAdWordsAPI.getMinimumCPCBid(GoogleAdWordsAPI.java:705)
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.getMinimumBidCPC(GoogleAPISearchEngine.java:2272)
at com.thesearchagency.searchengines.BaseSearchEngine.validateBid(BaseSearchEngine.java:263)
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.validateBid(GoogleAPISearchEngine.java:2708)
at com.thesearchagency.searchengines.bidupdater.SearchEngineBidUpdater.validateBids(SearchEngineBidUpdater.java:238)
at com.thesearchagency.searchengines.bidupdater.SearchEngineBidUpdater.call(SearchEngineBidUpdater.java:77)
at com.thesearchagency.searchengines.bidupdater.SearchEngineBidUpdater.call(SearchEngineBidUpdater.java:37)
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)
2014-05-09 08:39:14.409 (3) [P1T1]: aCurrencyValue(4.0) : aCurrencyCode(JPY)
2014-05-09 08:39:14.411 (3) [P1T1]: aCurrencyValue(4.0) : aCurrencyCode(JPY)
2014-05-09 08:39:14.411 (3) [P1T1]: aCurrencyValue(4.0) : aCurrencyCode(JPY)
2014-05-09 08:39:14.411 (3) [P1T1]: aCurrencyValue(4.0) : aCurrencyCode(JPY)
2014-05-09 08:39:16.336 (3) [P1T1]: aCurrencyValue(4.0) : aCurrencyCode(JPY)
2014-05-09 08:39:16.597 (3) [P1T1]: Updated rows (2) matched the number of pending updates (2)
2014-05-09 08:39:16.598 (3) [P1T1]: Completed User (34) "fa7c7345-11b0-48fd-b165-3e7ad45a55f8_1"
2014-05-09 08:39:16.598 (3) [main]: ------------Search Engine Bid Updater done
2014-05-09 08:39:16.670 (2) [Finalizer]: AccountDatabases: finalize: unloading connections - app may need updates?
But the bid values are set right both in admaxBids table and Adwords.