Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Mercury
-
Fix Version/s: Mercury
-
Component/s: Other / Misc.
-
Labels:None
-
Environment:
Bid Manager : bidmgr-distribution-2.9.0-SNAPSHOT-dev-t20150909055940 (build # 853)
Core : smb-ear-2.9.0-SNAPSHOT-b365-t20150909-054218-CI.ear (build #365)
SAPI : AML SAPI build #1082
Reseller : aml-ui-reseller-gwt-2.9.0-20150813.221022-7.war (#259)
Techops : ops-scripts-2.8.0-20150818.142033-56-bin.zip(#736)Bid Manager : bidmgr-distribution-2.9.0-SNAPSHOT-dev-t20150909055940 (build # 853) Core : smb-ear-2.9.0-SNAPSHOT-b365-t20150909-054218-CI.ear (build #365) SAPI : AML SAPI build #1082 Reseller : aml-ui-reseller-gwt-2.9.0-20150813.221022-7.war (#259) Techops : ops-scripts-2.8.0-20150818.142033-56-bin.zip(#736)
-
Sprint:Sprint 9, Sprint 10, Sprint 11
Description
The script googlemccpausecampaigns.sh doesn't pause the orders belonging to that MCC.
[TSAApp@aml-qa4-core1 bidmgr]$ ./googlemccpausecampaigns.sh -d 3 --clientId 3987265483
2015-09-16 09:51:25.581 (3) [main]: Debug Level set to 3
2015-09-16 09:51:25.597 (3) [main]: Debug Level set to 3
2015-09-16 09:51:25.683 (3) [main]: LicensingFileRefresher: modification detected on 1442388172000 for licensing.properties
2015-09-16 09:51:25.684 (3) [main]: Licensing environment detected, loading configuration.
2015-09-16 09:51:25.684 (3) [main]: Loaded property: distribution-service-url=http://aml-qa4-front1:8080/distribution
2015-09-16 09:51:25.684 (3) [main]: Loaded property: distribution-service-username=readwrite
2015-09-16 09:51:25.685 (3) [main]: Loaded property: distribution-service-password=readwrite
2015-09-16 09:51:25.685 (3) [main]: Loaded property: tsa.google.mcc.developerToken=ojCnjZaM6RD1h0yt_DOJZg
2015-09-16 09:51:25.685 (3) [main]: Loaded property: tsa.google.mcc.isReseller=true
2015-09-16 09:51:25.685 (3) [main]: Loaded property: tsa.google.mcc.userAgent=AdMaxLocal AdWords Software TSA QA
2015-09-16 09:51:25.685 (3) [main]: Loaded property: tsa.timezone=UTC
2015-09-16 09:51:25.697 (3) [main]: =============== Starting Google Pause MCC Campaigns ================
.
..
.
015-09-16 09:51:25.792 (1) [main]: Exception [creating GoogleAdWordsAPI for 3987265483]:javax.xml.rpc.ServiceException: java.lang.NullPointerException
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.createAPI(GoogleAPISearchEngine.java:244)
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.init(GoogleAPISearchEngine.java:342)
at com.thesearchagency.searchengines.google.GoogleMCCPauseCampaigns.getClientAccounts(GoogleMCCPauseCampaigns.java:262)
at com.thesearchagency.searchengines.google.GoogleMCCPauseCampaigns.run(GoogleMCCPauseCampaigns.java:164)
at com.thesearchagency.searchengines.google.GoogleMCCPauseCampaigns.main(GoogleMCCPauseCampaigns.java:56)
Caused by: java.lang.NullPointerException
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.createAPI(GoogleAPISearchEngine.java:239)
... 4 more
2015-09-16 09:51:25.798 (1) [main]: Exception [Catch all]:java.lang.NullPointerException
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.getClientAccountInfos(GoogleAPISearchEngine.java:368)
at com.thesearchagency.searchengines.google.GoogleMCCPauseCampaigns.getClientAccounts(GoogleMCCPauseCampaigns.java:264)
at com.thesearchagency.searchengines.google.GoogleMCCPauseCampaigns.run(GoogleMCCPauseCampaigns.java:164)
at com.thesearchagency.searchengines.google.GoogleMCCPauseCampaigns.main(GoogleMCCPauseCampaigns.java:56)
2015-09-16 09:51:25.800 (3) [main]: DefaultPropertyFileMonitor: modification detected on 1382459505000 for com.thesearchagency.AlertUtils.properties
2015-09-16 09:51:25.903 (2) [main]: sendAlert: executing command: [/usr/local/tsa/send_alarm.sh, WARNING, TSAOPS, AdMax Application [GoogleMCCPauseCampaigns]: General - Error summarizing Google data: null]
2015-09-16 09:51:25.930 (3) [main]: =============== Completed Google Pause MCC Campaigns ================
2015-09-16 09:51:25.932 (3) [main]: Google Pause MCC Campaigns: 0.233s
Note: Checked this on Rushmore builds, it looks good.