[TSAApp@aml-qa4-core1 bidmgr]$ ./admax.sh -d3 -a 2987 -z America/New_York -T 2021-06-01 Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release ------- Loaded DatabaseAccounts properties from file:/usr/local/tsa/bidmgr-distribution-2.9.36-BETA21-dev-t20210531150934/libs/deployment-bidmgr-shaded-jar-2.9.36-BETA21.jar!/core-jdb-datasource.properties ------- {datasource-user=spike, datasource-password=tar63t} 2021-06-02 06:32:33.147 (3) [main]: Debug Level set to 3 2021-06-02 06:32:33.148 (3) [main]: Licensing environment detected, loading configuration. 2021-06-02 06:32:33.149 (3) [main]: Loaded property: distribution-service-url=http://aml-qa4-front1:8080/distribution 2021-06-02 06:32:33.149 (3) [main]: Loaded property: distribution-service-username=readwrite 2021-06-02 06:32:33.149 (3) [main]: Loaded property: distribution-service-password=readwrite 2021-06-02 06:32:33.149 (3) [main]: Loaded property: sapi-auth-url=http://aml-qa4-front1:8080/sapi/rest/security/tokens 2021-06-02 06:32:33.149 (3) [main]: Loaded property: sapi-merchant-service-url=http://aml-qa4-front1:8080/sapi/rest/merchants 2021-06-02 06:32:33.149 (3) [main]: Loaded property: sapi-reseller-service-url=http://aml-qa4-front1:8080/sapi/rest/resellers 2021-06-02 06:32:33.149 (3) [main]: Loaded property: sapi-username=admin+tsa@thesearchagency.com 2021-06-02 06:32:33.149 (3) [main]: Loaded property: sapi-password=admin 2021-06-02 06:32:33.149 (3) [main]: Loaded property: sapi-realm=thesearchagency 2021-06-02 06:32:33.150 (3) [main]: Loaded property: tsa.google.mcc.developerToken=ojCnjZaM6RD1h0yt_DOJZg 2021-06-02 06:32:33.150 (3) [main]: Loaded property: tsa.google.mcc.isReseller=true 2021-06-02 06:32:33.150 (3) [main]: Loaded property: tsa.google.mcc.userAgent=AdMaxLocal AdWords Software TSA QA 2021-06-02 06:32:33.150 (3) [main]: Loaded property: tsa.timezone=UTC 2021-06-02 06:32:33.151 (3) [main]: Debug Level set to 3 2021-06-02 06:32:33.151 (3) [main]: AdMax Summarizer parameters: -d3 -a 2987 -z America/New_York -T 2021-06-01 2021-06-02 06:32:33.479 (3) [main]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-06-02 06:32:33.487 (3) [main]: DatabasePool with a limit of 18 created 2021-06-02 06:32:33.507 (3) [main]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-06-02 06:32:33.524 (3) [main]: Could not save process history start 2021-06-02 06:32:33.524 (3) [main]: =============== Starting AdMax Summarizer ================ 2021-06-02 06:32:33.524 (3) [main]: ----------------AdMax Summarizer starting 2021-06-02 06:32:33.539 (3) [main]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-06-02 06:32:33.552 (3) [P1T1]: Starting Account ID #2987: 11a78c10-617f-44ec-8b4a-39c331269394 2021-06-02 06:32:33.562 (3) [P1T1]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-06-02 06:32:33.567 (3) [P1T1]: DatabasePool with a limit of 18 created 2021-06-02 06:32:33.579 (3) [P1T1]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-06-02 06:32:33.580 (3) [P1T1]: DatabasePool with a limit of 18 created 2021-06-02 06:32:33.591 (3) [P1T1]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-06-02 06:32:33.602 (3) [P1T1]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-06-02 06:32:33.603 (3) [P1T1]: DatabasePool with a limit of 18 created 2021-06-02 06:32:33.612 (3) [P1T1]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-06-02 06:32:33.624 (3) [P1T1]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-06-02 06:32:33.625 (3) [P1T1]: DatabasePool with a limit of 18 created 2021-06-02 06:32:33.635 (3) [P1T1]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-06-02 06:32:33.639 (3) [P1T1]: Got migrator lock for Account ID #2987 2021-06-02 06:32:34.120 (3) [P1T1]: Applying algorithm [SABB] for Account ID #2987 in distributions [3, 178, 147, 177] 2021-06-02 06:32:34.123 (3) [P1T1]: Processing data for 2021-06-01 00:00:00 EDT 2021-06-02 06:32:34.161 (3) [P1T1]: Retrieved campaign status Active for AdMax campaign 10914 2021-06-02 06:32:34.163 (3) [P1T1]: Retrieved campaign status Active for AdMax campaign 10914 2021-06-02 06:32:34.209 (3) [P1T1]: Distribution Properties Cache: Loading new properties for 11a78c10-617f-44ec-8b4a-39c331269394_ALGORITHM 2021-06-02 06:32:34,228 [P1T1] INFO o.a.c.h.auth.AuthChallengeProcessor - digest authentication scheme selected 2021-06-02 06:32:34.456 (2) [P1T1]: Failed performance reports found for an Account ID #2987, Distributions #[177]. Skipping failed distributions from AdMax process... 2021-06-02 06:32:34.459 (3) [P1T1]: DefaultPropertyFileMonitor: modification detected on 1535089574000 for com.thesearchagency.AlertUtils.properties 2021-06-02 06:32:34.459 (2) [P1T1]: sendAlert: executing command: [/usr/local/tsa/send_alarm.sh, WARNING, TSAOPS, AdMax Application [AdMaxSummarizer]: General - AdMax Process skipped for Account ID #2987, Distribution ID's #[177] as performance report failure records found. Please take corrective action and remove affected account records.] 2021-06-02 06:32:34.494 (3) [P1T1]: Pausing SearchEngineAccountID#21879, AccountID#2987, DistributionID#177 2021-06-02 06:32:35,094 [P1T1] DEBUG c.t.s.facebook.FacebookApiUtils - Getting FB properties using distribution service 2021-06-02 06:32:35.095 (3) [P1T1]: Distribution Properties Cache: Loading new properties for 11a78c10-617f-44ec-8b4a-39c331269394_CONTENT_EDITOR CrashReporter : Enabled! 2021-06-02 06:32:35,209 [P1T1] DEBUG c.t.s.c.f.impl.FacebookAdsClient - Created FacebookAdsClient for 481300832945901 2021-06-02 06:32:35,219 [P1T1] INFO c.t.s.c.f.i.s.CampaignServiceClient - Updating 1 Facebook campaigns budget for accountID 481300832945901 Post: https://graph.facebook.com/ Content-Disposition: form-data; name="access_token" EAAJKaZCNuOywBAJSZCZATcCzgJYNAtGJP0h7GmvNnroXqkklWwXqnfvUqqXnQdNboNKrkTpPNc4RadJpIXLV9mMZAqTnFiMVL6lNGzlsLV4FNZAHJXrlXTChIkbbRxzgSEE1qgvzD7ZCd4TXCIZCTnbb8r17brNQCVpS26W19vpbxlQgSK9nit98GDsUZC5ZAwTEHRF9yIdNR6gZDZD Content-Disposition: form-data; name="appsecret_proof" 976898cbc115bd3c183f5a4537e81adf1c19fdd9387d2723aaa6ce30a3140377 Content-Disposition: form-data; name="include_headers" false Content-Disposition: form-data; name="batch" [{"method":"POST","relative_url":"v10.0/23847581707240341/","name":"Request0","omit_response_on_success":false,"body":"daily_budget=null&status=PAUSED","attached_files":{}}] ----------------------------1792946627100720866-- [{"code":400,"body":"{\"error\":{\"message\":\"(#100) Param daily_budget must be a number\",\"type\":\"OAuthException\",\"code\":100,\"fbtrace_id\":\"AHivXacenG27tvDH8x08rdr\"}}"}] 2021-06-02 06:32:35,681 [P1T1] INFO c.t.s.c.f.i.s.CampaignServiceClient - Failed to update Facebook campaign budget for accountID 481300832945901 2021-06-02 06:32:35,693 [P1T1] INFO c.t.s.c.f.u.e.i.CustomerErrorEntityFactory - Facebook ServiceException Error Found 2021-06-02 06:32:35,694 [P1T1] DEBUG c.t.s.c.f.i.request.ResponseMapper - ******* Error ******* 2021-06-02 06:32:35,694 [P1T1] DEBUG c.t.s.c.f.i.request.ResponseMapper - code = 100 2021-06-02 06:32:35,694 [P1T1] DEBUG c.t.s.c.f.i.request.ResponseMapper - message = (#100) Param daily_budget must be a number 2021-06-02 06:32:35,694 [P1T1] DEBUG c.t.s.c.f.i.request.ResponseMapper - errorType = OAuthException 2021-06-02 06:32:35,694 [P1T1] DEBUG c.t.s.c.f.i.request.ResponseMapper - errorSubCode = null 2021-06-02 06:32:35,694 [P1T1] DEBUG c.t.s.c.f.i.request.ResponseMapper - errorUserTitle = null 2021-06-02 06:32:35,694 [P1T1] DEBUG c.t.s.c.f.i.request.ResponseMapper - errorUserMessage = null 2021-06-02 06:32:35,695 [P1T1] DEBUG c.t.s.c.f.i.request.ResponseMapper - details = 2021-06-02 06:32:35,696 [P1T1] WARN c.t.s.c.f.impl.request.Request - Could not retry FacebookResponseException with request com.thesearchagency.services.client.facebook.impl.FacebookResponseException: CustomerErrorEntityFactory Error at com.thesearchagency.services.client.facebook.impl.request.ResponseMapper.throwExceptionIfTopLevelErrors(ResponseMapper.java:76) at com.thesearchagency.services.client.facebook.impl.request.ResponseMapper.handle(ResponseMapper.java:45) at com.thesearchagency.services.client.facebook.impl.serviceclient.CampaignServiceClient$5.sendRequest(CampaignServiceClient.java:338) at com.thesearchagency.services.client.facebook.impl.request.Request.call(Request.java:16) at com.thesearchagency.services.client.facebook.impl.serviceclient.ServiceClient.executeRequest(ServiceClient.java:83) at com.thesearchagency.services.client.facebook.impl.serviceclient.CampaignServiceClient.updateCampaignBudgets(CampaignServiceClient.java:342) at com.thesearchagency.services.client.facebook.impl.FacebookAdsClient.updateCampaignBudgets(FacebookAdsClient.java:228) at com.thesearchagency.admax.algorithms.common.FacebookBudgetUpdateManager.updateCampaigns(FacebookBudgetUpdateManager.java:244) at com.thesearchagency.admax.algorithms.common.FacebookBudgetUpdateManager.updateCampaignArray(FacebookBudgetUpdateManager.java:162) at com.thesearchagency.admax.algorithms.common.FacebookBudgetUpdateManager.executeBulkUserCampaignUpdates(FacebookBudgetUpdateManager.java:105) at com.thesearchagency.admax.algorithms.sabb.AdMaxSABBAlgorithm.pauseSearchEngineAccounts(AdMaxSABBAlgorithm.java:1252) at com.thesearchagency.admax.algorithms.sabb.AdMaxSABBAlgorithm.applyAlgorithm(AdMaxSABBAlgorithm.java:364) at com.thesearchagency.admax.AdMaxSummarizer$AccountWorker.call(AdMaxSummarizer.java:644) at com.thesearchagency.admax.AdMaxSummarizer$AccountWorker.call(AdMaxSummarizer.java:505) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 2021-06-02 06:32:35.696 (3) [P1T1]: Error while updating the collection of campaigns! 2021-06-02 06:32:35.696 (2) [P1T1]: Error occurred updating Facebook campaign with seID 23847581707240341. 2021-06-02 06:32:35.711 (3) [P1T1]: Finished applying algorithm [SABB] for account [2987] in distributions [3, 178, 147, 177] 2021-06-02 06:32:35.713 (3) [P1T1]: Released migrator lock for Account ID #2987 2021-06-02 06:32:35.713 (3) [P1T1]: Completed Account ID #2987: 11a78c10-617f-44ec-8b4a-39c331269394 2021-06-02 06:32:35.714 (3) [main]: ------------AdMax Summarizer done 2021-06-02 06:32:35.714 (3) [main]: =============== Completed AdMax Summarizer ================ 2021-06-02 06:32:35.715 (3) [main]: Could not save process history stop 2021-06-02 06:32:35.715 (3) [main]: =============== Stats ================ 2021-06-02 06:32:35.715 (3) [main]: --- Process --- 2021-06-02 06:32:35.715 (3) [main]: 2021-06-02 06:32:35.715 (3) [main]: ABU Process(start): Wed Jun 02 06:32:33 UTC 2021 2021-06-02 06:32:35.715 (3) [main]: ABU Process(stop): Wed Jun 02 06:32:35 UTC 2021 2021-06-02 06:32:35.715 (3) [main]: 2021-06-02 06:32:35.715 (3) [main]: --- Accounts --- 2021-06-02 06:32:35.715 (3) [main]: 2021-06-02 06:32:35.715 (3) [main]: Accounts Processed: 1 2021-06-02 06:32:35.715 (3) [main]: Accounts Skipped: 0 2021-06-02 06:32:35.716 (3) [main]: Accounts Processed Successfully: 0 2021-06-02 06:32:35.716 (3) [main]: 2021-06-02 06:32:35.716 (3) [main]: --- Campaigns --- 2021-06-02 06:32:35.716 (3) [main]: 2021-06-02 06:32:35.716 (3) [main]: Campaigns Processed: 1 2021-06-02 06:32:35.716 (3) [main]: Campaigns Processed Successfully: 0 2021-06-02 06:32:35.716 (3) [main]: Campaign Budgets Capped: 0 2021-06-02 06:32:35.716 (3) [main]: 2021-06-02 06:32:35.716 (3) [main]: --- SE Campaigns --- 2021-06-02 06:32:35.716 (3) [main]: 2021-06-02 06:32:35.716 (3) [main]: SE Campaigns Processed: 1 2021-06-02 06:32:35.716 (3) [main]: SE Campaigns Processed Successfully: 0 2021-06-02 06:32:35.716 (3) [main]: 2021-06-02 06:32:35.716 (3) [main]: --- Budget/Spend --- 2021-06-02 06:32:35.716 (3) [main]: 2021-06-02 06:32:35.716 (3) [main]: SE Campaign Budgets Updated: 0 2021-06-02 06:32:35.716 (3) [main]: SE Campaign Budgets Sent To Google: 0 2021-06-02 06:32:35.716 (3) [main]: SE Campaign Budgets Sent To Yahoo Japan:0 2021-06-02 06:32:35.716 (3) [main]: SE Campaign Budgets Sent To Bing: 0 2021-06-02 06:32:35.716 (3) [main]: SE Campaign Budgets Sent To Facebook: 0 2021-06-02 06:32:35.716 (3) [main]: 2021-06-02 06:32:35.716 (3) [main]: Spend Total: 0.0 2021-06-02 06:32:35.716 (3) [main]: Common Carryover Total: 0.0 2021-06-02 06:32:35.716 (3) [main]: 2021-06-02 06:32:35.717 (3) [main]: --- Bids --- 2021-06-02 06:32:35.717 (3) [main]: 2021-06-02 06:32:35.717 (3) [main]: New Campaign Bids: 0 2021-06-02 06:32:35.717 (3) [main]: 2021-06-02 06:32:35.718 (3) [main]: AdMaxSummarizer: 2.479s 2021-06-02 06:32:35.718 (3) [main]: by key: 2021-06-02 06:32:35.718 (3) [main]: db: 0.046s 2021-06-02 06:32:35.718 (3) [main]: by thread: 2021-06-02 06:32:35.718 (3) [main]: main: 0.004s 2021-06-02 06:32:35.718 (3) [main]: P1T1: 0.042s 2021-06-02 06:32:35.718 (3) [main]: other: 2.433s