login as: harish.kumar Authenticating with public key "imported-openssh-key" Last login: Wed May 5 08:38:31 2021 from 103.199.147.57 [harish.kumar@jumpserver ~]$ ssh aml-qa4-core1 Last login: Wed May 5 06:31:55 2021 from ip-172-31-6-80.ec2.internal [harish.kumar@aml-qa4-core1 ~]$ sudo -u TSAApp -i [TSAApp@aml-qa4-core1 ~]$ >/var/local/tsa/log/tsa-admax-jmslistener/tsa-admax-jmslistener.log [TSAApp@aml-qa4-core1 ~]$ tail -f /var/local/tsa/log/tsa-admax-jmslistener/tsa-admax-jmslistener.log 2021-05-05 09:28:45.890 (3) [Thread-9]: Heartbeat #37336 (1620206925887) received in 0.003s 2021-05-05 09:29:09.110 (3) [Thread-9]: Request added to map for customerID e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 2021-05-05 09:29:09.110 (3) [Thread-9]: Request worker created for e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 2021-05-05 09:29:09.110 (3) [Thread-9]: Submitted executor job for e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 2021-05-05 09:29:09.116 (3) [pool-3-thread-41]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-05-05 09:29:09.122 (3) [pool-3-thread-41]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-05-05 09:29:09.187 (3) [pool-3-thread-41]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-05-05 09:29:09.193 (3) [pool-3-thread-41]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-05-05 09:29:09.194 (3) [pool-3-thread-41]: Updating account tables for e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 2021-05-05 09:29:09.199 (3) [pool-3-thread-41]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-05-05 09:29:09.206 (3) [pool-3-thread-41]: Committing Account settings for 2960 2021-05-05 09:29:09.208 (3) [pool-3-thread-41]: Updating deployment status to 'InProgress' for campaignID: 38572 2021-05-05 09:29:09.211 (3) [pool-3-thread-41]: Updating advert budget for e2f04d50-88b7-4622-9dd6-1c1775e2cbb3_10095_6_38572 2021-05-05 09:29:09.213 (3) [pool-3-thread-41]: Nominal monthly budget was unchanged for AdMax campaign ID: 10833 2021-05-05 09:29:09.214 (3) [pool-3-thread-41]: Nominal monthly budget was unchanged for AdMax campaign ID: 10833 2021-05-05 09:29:09.214 (3) [pool-3-thread-41]: Distribution Properties Cache: Loading new properties for e2f04d50-88b7-4622-9dd6-1c1775e2cbb3_ALGORITHM 2021-05-05 09:29:09,217 [pool-3-thread-41] INFO o.a.c.h.auth.AuthChallengeProcessor - digest authentication scheme selected 2021-05-05 09:29:09.341 (3) [pool-3-thread-41]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-05-05 09:29:09,345 [pool-3-thread-41] DEBUG c.t.common.SECampaignStatusManager - AdMax campaign budget status not found so using Active 2021-05-05 09:29:09.347 (3) [pool-3-thread-41]: Start processing DEPLOY request (36182d98-0425-45f6-bb9b-8baca1dc137d) for account e2f04d50-88b7-4622-9dd6-1c1775e2cbb3. 1 campaign(s). 2021-05-05 09:29:09.347 (3) [pool-3-thread-41]: Performing sync for account: e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 ID#2960 2021-05-05 09:29:09.352 (3) [pool-3-thread-41]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver) 2021-05-05 09:29:09.355 (3) [pool-3-thread-41]: 1 campaign(s) to update. 2021-05-05 09:29:09.355 (3) [pool-3-thread-41]: 0 campaign(s) to create. 2021-05-05 09:29:09.355 (3) [pool-3-thread-41]: 0 campaign(s) to retry and update. 2021-05-05 09:29:09.355 (3) [pool-3-thread-41]: Update campaign status for accountID 2960 2021-05-05 09:29:09.356 (3) [pool-3-thread-41]: CampaignWorker initialized for account: 2960 2021-05-05 09:29:09.356 (3) [pool-3-thread-41]: Updating OnlineAdvertising_NewYork_38572_PC_e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 Status: Active 2021-05-05 09:29:09.356 (3) [pool-3-thread-41]: CampaignUpdateWorker started... 2021-05-05 09:29:09,465 [pool-3-thread-41] DEBUG c.t.s.facebook.FacebookApiUtils - Getting FB properties using distribution service 2021-05-05 09:29:09.466 (3) [pool-3-thread-41]: Distribution Properties Cache: Loading new properties for e2f04d50-88b7-4622-9dd6-1c1775e2cbb3_CONTENT_EDITOR 2021-05-05 09:29:09,577 [pool-3-thread-41] INFO jdbc.sqlonly - SELECT `businesses`.`id`, `businesses`.`businessId`, `businesses`.`name`, `businesses`.`clientPageId`, `businesses`.`leadsTOSEnabled`, `businesses`.`leadsTOSAccepted`, `businesses`.`enabled`, `businesses`.`inviteStatus`, `businesses`.`notificationStatus`, `businesses`.`users`, `businesses`.`json` FROM `businesses` WHERE `businesses`.`name` = 'e2f04d50-88b7-4622-9dd6-1c1775e2cbb3' 2021-05-05 09:29:09,579 [pool-3-thread-41] DEBUG c.t.s.f.FacebookAccountDeployer - Facebook pageID 102834651975671 for merchant e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 2021-05-05 09:29:09,579 [pool-3-thread-41] INFO c.t.s.f.FacebookAccountDeployer - FacebookAccountDeployer:getExistingCampaigns 2021-05-05 09:29:09,582 [pool-3-thread-41] INFO jdbc.sqlonly - SELECT `campaigns`.`id`, `campaigns`.`json` FROM `campaigns` WHERE `campaigns`.`id` IN (99) 2021-05-05 09:29:09.584 (3) [pool-3-thread-41]: OnlineAdvertising_NewYork_38572_PC_e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 is already set to Active in the database. 2021-05-05 09:29:09.584 (3) [pool-3-thread-41]: OnlineAdvertising_NewYork_38572_PC_e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 has no updated searchNetworkTargeting. 2021-05-05 09:29:09.585 (3) [pool-3-thread-41]: OnlineAdvertising_NewYork_38572_PC_e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 target sync starting... 2021-05-05 09:29:09.585 (3) [pool-3-thread-41]: Ignoring new target region_3852 2021-05-05 09:29:09.585 (3) [pool-3-thread-41]: Ignoring new target region_3875 2021-05-05 09:29:09.585 (3) [pool-3-thread-41]: Ignoring new target region_3874 2021-05-05 09:29:09.585 (3) [pool-3-thread-41]: Ignoring new target region_3862 2021-05-05 09:29:09.585 (3) [pool-3-thread-41]: Ignoring new target region_3857 2021-05-05 09:29:09.585 (3) [pool-3-thread-41]: Ignoring new target region_3847 2021-05-05 09:29:09.585 (3) [pool-3-thread-41]: OnlineAdvertising_NewYork_38572_PC_e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 has no updated targets. 2021-05-05 09:29:09.585 (3) [pool-82-thread-1]: Starting Facebook Update Campaign Worker.. 2021-05-05 09:29:09.585 (3) [pool-82-thread-1]: Completed Facebook Update Campaign Worker.. 2021-05-05 09:29:09.586 (3) [pool-3-thread-41]: Running content editor replace for accountID 2960 2021-05-05 09:29:09.586 (3) [pool-83-thread-1]: Starting Facebook Replace Campaigns Worker.. 2021-05-05 09:29:09,586 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountDeployer - FacebookAccountDeployer::replaceCampaigns for accountID 2960 2021-05-05 09:29:09,588 [pool-83-thread-1] DEBUG c.t.s.f.FacebookAccountDeployer - Facebook currencyCode USD for accountID 2960 2021-05-05 09:29:09,591 [pool-83-thread-1] INFO jdbc.sqlonly - SELECT `campaigns`.`id`, `campaigns`.`json` FROM `campaigns` WHERE `campaigns`.`id` = 99 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3852, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3875, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3874, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3862, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3857, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3847, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - FacebookCampaignTargets [[FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3852, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3875, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3874, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3862, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3857, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3847, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]]]] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook AudienceTarget [com.thesearchagency.searchengines.google.contenteditor.dto.adgroup.AdGroupInfo@348e0ed2] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3852, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3875, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3874, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3862, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3857, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3847, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - FacebookCampaignTargets [[FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3852, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3875, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3874, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3862, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3857, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3847, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]]]] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook AudienceTarget [com.thesearchagency.searchengines.google.contenteditor.dto.adgroup.AdGroupInfo@1aa88519] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3852, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3875, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3874, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3862, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3857, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3847, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - FacebookCampaignTargets [[FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3852, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3875, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3874, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3862, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3857, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3847, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]]]] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook AudienceTarget [com.thesearchagency.searchengines.google.contenteditor.dto.adgroup.AdGroupInfo@6e56a3b8] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3852, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3875, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3874, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3862, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3857, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook CampaignTarget [type=region, code=3847, exclude=false, id=0, criterionId=null, bidModifier=null] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - FacebookCampaignTargets [[FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3852, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3875, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3874, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3862, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3857, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]], FacebookAdSetTarget [theTarget=FacebookLocation [theType=region, theId=3847, theAddress=null, theLatitude=null, theLongitude=null, theRadius=null, theRadiusUnit=null]]]] 2021-05-05 09:29:09,593 [pool-83-thread-1] INFO c.t.s.f.FacebookAccountStructureMapper - Facebook AudienceTarget [com.thesearchagency.searchengines.google.contenteditor.dto.adgroup.AdGroupInfo@daedb5] 2021-05-05 09:29:09,597 [pool-83-thread-1] INFO jdbc.sqlonly - SELECT `campaigns`.`id`, `campaigns`.`json` FROM `campaigns` WHERE `campaigns`.`id` IN (99) 2021-05-05 09:29:09,598 [pool-83-thread-1] INFO c.t.s.c.f.i.s.CampaignServiceClient - Creating 1 Facebook campaigns for accountID 2928363574119140 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/act_2928363574119140/campaigns","name":"Request0","omit_response_on_success":false,"body":"special_ad_categories=%5B%22NONE%22%5D&bid_strategy=LOWEST_COST_WITHOUT_CAP&name=OnlineAdvertising_NewYork_38572_PC_e2f04d50-88b7-4622-9dd6-1c1775e2cbb3&daily_budget=400&objective=LEAD_GENERATION&status=ACTIVE","attached_files":{}}] -----------------------------4261500002681999415-- [{"code":200,"body":"{\"id\":\"23847984038720177\"}"}] 2021-05-05 09:29:09,942 [pool-83-thread-1] INFO c.t.s.c.f.i.s.CampaignServiceClient - Successfully created a Facebook campaign 23847984038720177 2021-05-05 09:29:09,943 [pool-83-thread-1] INFO c.t.s.c.f.i.s.AdSetServiceClient - Creating 4 Facebook adsets for campaign 23847984038720177 ========Start of API Call======== Post: https://graph.facebook.com/v10.0/act_2928363574119140/adsets Content-Disposition: form-data; name="access_token" EAAJKaZCNuOywBAJSZCZATcCzgJYNAtGJP0h7GmvNnroXqkklWwXqnfvUqqXnQdNboNKrkTpPNc4RadJpIXLV9mMZAqTnFiMVL6lNGzlsLV4FNZAHJXrlXTChIkbbRxzgSEE1qgvzD7ZCd4TXCIZCTnbb8r17brNQCVpS26W19vpbxlQgSK9nit98GDsUZC5ZAwTEHRF9yIdNR6gZDZD Content-Disposition: form-data; name="targeting" {"age_max":65,"age_min":18,"behaviors":[{"id":"6002714898572","name":"Small business owners"}],"genders":[0],"geo_locations":{"regions":[{"key":"3852"},{"key":"3875"},{"key":"3874"},{"key":"3862"},{"key":"3857"},{"key":"3847"}]},"interests":[{"id":"6003584163107","name":"Advertising"},{"id":"6003479582947","name":"business owner"}]} Content-Disposition: form-data; name="billing_event" IMPRESSIONS Content-Disposition: form-data; name="promoted_object" {"page_id":"102834651975671"} Content-Disposition: form-data; name="name" e2f04d50-88b7-4622-9dd6-1c1775e2cbb3_10095_6_38572_4 Content-Disposition: form-data; name="appsecret_proof" 976898cbc115bd3c183f5a4537e81adf1c19fdd9387d2723aaa6ce30a3140377 Content-Disposition: form-data; name="campaign_id" 23847984038720177 Content-Disposition: form-data; name="status" ACTIVE ----------------------------6583392506771320813-- Response: {"id":"23847984038800177"} ========End of API Call======== ========Start of API Call======== Post: https://graph.facebook.com/v10.0/act_2928363574119140/adsets Content-Disposition: form-data; name="access_token" EAAJKaZCNuOywBAJSZCZATcCzgJYNAtGJP0h7GmvNnroXqkklWwXqnfvUqqXnQdNboNKrkTpPNc4RadJpIXLV9mMZAqTnFiMVL6lNGzlsLV4FNZAHJXrlXTChIkbbRxzgSEE1qgvzD7ZCd4TXCIZCTnbb8r17brNQCVpS26W19vpbxlQgSK9nit98GDsUZC5ZAwTEHRF9yIdNR6gZDZD Content-Disposition: form-data; name="targeting" {"age_max":65,"age_min":18,"behaviors":[{"id":"6002714898572","name":"Small business owners"}],"genders":[0],"geo_locations":{"regions":[{"key":"3852"},{"key":"3875"},{"key":"3874"},{"key":"3862"},{"key":"3857"},{"key":"3847"}]},"interests":[{"id":"6003584163107","name":"Advertising"},{"id":"6003479582947","name":"business owner"}]} Content-Disposition: form-data; name="billing_event" IMPRESSIONS Content-Disposition: form-data; name="promoted_object" {"page_id":"102834651975671"} Content-Disposition: form-data; name="name" e2f04d50-88b7-4622-9dd6-1c1775e2cbb3_10095_6_38572_3 Content-Disposition: form-data; name="appsecret_proof" 976898cbc115bd3c183f5a4537e81adf1c19fdd9387d2723aaa6ce30a3140377 Content-Disposition: form-data; name="campaign_id" 23847984038720177 Content-Disposition: form-data; name="status" ACTIVE -----------------------------1465024989019306615-- Response: {"id":"23847984038900177"} ========End of API Call======== ========Start of API Call======== Post: https://graph.facebook.com/v10.0/act_2928363574119140/adsets Content-Disposition: form-data; name="access_token" EAAJKaZCNuOywBAJSZCZATcCzgJYNAtGJP0h7GmvNnroXqkklWwXqnfvUqqXnQdNboNKrkTpPNc4RadJpIXLV9mMZAqTnFiMVL6lNGzlsLV4FNZAHJXrlXTChIkbbRxzgSEE1qgvzD7ZCd4TXCIZCTnbb8r17brNQCVpS26W19vpbxlQgSK9nit98GDsUZC5ZAwTEHRF9yIdNR6gZDZD Content-Disposition: form-data; name="targeting" {"age_max":65,"age_min":18,"behaviors":[{"id":"6002714898572","name":"Small business owners"}],"genders":[0],"geo_locations":{"regions":[{"key":"3852"},{"key":"3875"},{"key":"3874"},{"key":"3862"},{"key":"3857"},{"key":"3847"}]},"interests":[{"id":"6003584163107","name":"Advertising"},{"id":"6003479582947","name":"business owner"}]} Content-Disposition: form-data; name="billing_event" IMPRESSIONS Content-Disposition: form-data; name="promoted_object" {"page_id":"102834651975671"} Content-Disposition: form-data; name="name" e2f04d50-88b7-4622-9dd6-1c1775e2cbb3_10095_6_38572_2 Content-Disposition: form-data; name="appsecret_proof" 976898cbc115bd3c183f5a4537e81adf1c19fdd9387d2723aaa6ce30a3140377 Content-Disposition: form-data; name="campaign_id" 23847984038720177 Content-Disposition: form-data; name="status" ACTIVE -----------------------------2755521972727343350-- Response: {"id":"23847984039010177"} ========End of API Call======== ========Start of API Call======== Post: https://graph.facebook.com/v10.0/act_2928363574119140/adsets Content-Disposition: form-data; name="access_token" EAAJKaZCNuOywBAJSZCZATcCzgJYNAtGJP0h7GmvNnroXqkklWwXqnfvUqqXnQdNboNKrkTpPNc4RadJpIXLV9mMZAqTnFiMVL6lNGzlsLV4FNZAHJXrlXTChIkbbRxzgSEE1qgvzD7ZCd4TXCIZCTnbb8r17brNQCVpS26W19vpbxlQgSK9nit98GDsUZC5ZAwTEHRF9yIdNR6gZDZD Content-Disposition: form-data; name="targeting" {"age_max":65,"age_min":18,"behaviors":[{"id":"6002714898572","name":"Small business owners"}],"genders":[0],"geo_locations":{"regions":[{"key":"3852"},{"key":"3875"},{"key":"3874"},{"key":"3862"},{"key":"3857"},{"key":"3847"}]},"interests":[{"id":"6003584163107","name":"Advertising"},{"id":"6003479582947","name":"business owner"}]} Content-Disposition: form-data; name="billing_event" IMPRESSIONS Content-Disposition: form-data; name="promoted_object" {"page_id":"102834651975671"} Content-Disposition: form-data; name="name" e2f04d50-88b7-4622-9dd6-1c1775e2cbb3_10095_6_38572_1 Content-Disposition: form-data; name="appsecret_proof" 976898cbc115bd3c183f5a4537e81adf1c19fdd9387d2723aaa6ce30a3140377 Content-Disposition: form-data; name="campaign_id" 23847984038720177 Content-Disposition: form-data; name="status" ACTIVE -----------------------------316414324625058121-- Response: {"id":"23847984039080177"} ========End of API Call======== 2021-05-05 09:29:12,542 [pool-83-thread-1] INFO c.t.s.c.f.i.s.AdSetServiceClient - Successfully created a Facebook adset 23847984038800177 2021-05-05 09:29:12,542 [pool-83-thread-1] INFO c.t.s.c.f.i.s.AdSetServiceClient - Successfully created a Facebook adset 23847984038900177 2021-05-05 09:29:12,542 [pool-83-thread-1] INFO c.t.s.c.f.i.s.AdSetServiceClient - Successfully created a Facebook adset 23847984039010177 2021-05-05 09:29:12,542 [pool-83-thread-1] INFO c.t.s.c.f.i.s.AdSetServiceClient - Successfully created a Facebook adset 23847984039080177 2021-05-05 09:29:12,542 [pool-83-thread-1] INFO c.t.s.c.f.i.s.AdImageServiceClient - Creating 1 Facebook images for ad account 2928363574119140 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/act_2928363574119140/adimages","name":"Request0","omit_response_on_success":false,"body":"","attached_files":{"File0":"image-10095-2.jpg"}}] Content-Disposition: form-data; name="File0"; filename="image-10095-2.jpg" Content-Type: image/jpeg -----------------------------4252267159367688245-- [{"code":200,"body":"{\"images\":{\"image-10095-2.jpg\":{\"hash\":\"8d74e8f44dbdd03a9ab113746a64af41\",\"url\":\"https:\\\/\\\/scontent-lga3-1.xx.fbcdn.net\\\/v\\\/t45.1600-4\\\/180473033_23847976768750177_4290453855491211915_n.jpg?_nc_cat=109&ccb=1-3&_nc_sid=2aac32&_nc_ohc=NeFeMGGjw3QAX9CRHSK&_nc_ht=scontent-lga3-1.xx&oh=108f64aa166d0315265557e594cc1fbf&oe=60B6F62F\"}}}"}] 2021-05-05 09:29:13,909 [pool-83-thread-1] INFO c.t.s.c.f.i.s.AdImageServiceClient - Successfully created a Facebook image https://scontent-lga3-1.xx.fbcdn.net/v/t45.1600-4/180473033_23847976768750177_4290453855491211915_n.jpg?_nc_cat=109&ccb=1-3&_nc_sid=2aac32&_nc_ohc=NeFeMGGjw3QAX9CRHSK&_nc_ht=scontent-lga3-1.xx&oh=108f64aa166d0315265557e594cc1fbf&oe=60B6F62F 2021-05-05 09:29:13,909 [pool-83-thread-1] INFO c.t.s.c.f.i.s.AdCreativeServiceClient - Creating 1 Facebook adcreatives for adset 23847984038800177 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/act_2928363574119140/adcreatives","name":"Request0","omit_response_on_success":false,"body":"object_story_spec=%7B%22link_data%22%3A%7B%22call_to_action%22%3A%7B%22type%22%3A%22DOWNLOAD%22%2C%22value%22%3A%7B%22lead_gen_form_id%22%3A%220%22%7D%7D%2C%22description%22%3A%22Experienced+Online+Ad+Agency+form%22%2C%22image_hash%22%3A%228d74e8f44dbdd03a9ab113746a64af41%22%2C%22link%22%3A%22http%3A%2F%2Fwww.admaxlocal.com%2F%22%2C%22message%22%3A%22Reliable+Online+Marketing+Agency.+Get+Your+Business+Out+There%21%22%2C%22name%22%3A%22Online+Advertising+Agency%22%7D%2C%22page_id%22%3A%22102834651975671%22%7D&name=cef29121-942c-4dbb-8927-308e4386c310&body=Reliable+Online+Marketing+Agency.+Get+Your+Business+Out+There%21&title=Online+Advertising+Agency","attached_files":{}}] ----------------------------7038185857837353960-- [{"code":400,"body":"{\"error\":{\"message\":\"(#100) Param call_to_action[value][lead_gen_form_id] must be a valid Lead Gen Data id\",\"type\":\"OAuthException\",\"code\":100,\"fbtrace_id\":\"Aq5AK_bXX4s5SBiuOLTypv9\"}}"}] 2021-05-05 09:29:14,065 [pool-83-thread-1] INFO c.t.s.c.f.i.s.AdCreativeServiceClient - Failed to create Facebook adcreative for a adsetID 23847984038800177. Details: {"code":400,"body":"{\"error\":{\"message\":\"(#100) Param call_to_action[value][lead_gen_form_id] must be a valid Lead Gen Data id\",\"type\":\"OAuthException\",\"code\":100,\"fbtrace_id\":\"Aq5AK_bXX4s5SBiuOLTypv9\"}}"} 2021-05-05 09:29:14,066 [pool-83-thread-1] INFO c.t.s.c.f.u.e.i.CustomerErrorEntityFactory - Facebook ServiceException Error Found 2021-05-05 09:29:14,066 [pool-83-thread-1] DEBUG c.t.s.c.f.i.request.ResponseMapper - ******* Error ******* 2021-05-05 09:29:14,066 [pool-83-thread-1] DEBUG c.t.s.c.f.i.request.ResponseMapper - code = 100 2021-05-05 09:29:14,066 [pool-83-thread-1] DEBUG c.t.s.c.f.i.request.ResponseMapper - message = (#100) Param call_to_action[value][lead_gen_form_id] must be a valid Lead Gen Data id 2021-05-05 09:29:14,066 [pool-83-thread-1] DEBUG c.t.s.c.f.i.request.ResponseMapper - errorType = OAuthException 2021-05-05 09:29:14,066 [pool-83-thread-1] DEBUG c.t.s.c.f.i.request.ResponseMapper - errorSubCode = null 2021-05-05 09:29:14,066 [pool-83-thread-1] DEBUG c.t.s.c.f.i.request.ResponseMapper - errorUserTitle = null 2021-05-05 09:29:14,066 [pool-83-thread-1] DEBUG c.t.s.c.f.i.request.ResponseMapper - errorUserMessage = null 2021-05-05 09:29:14,066 [pool-83-thread-1] DEBUG c.t.s.c.f.i.request.ResponseMapper - details = 2021-05-05 09:29:14,066 [pool-83-thread-1] 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.AdCreativeServiceClient$2.sendRequest(AdCreativeServiceClient.java:234) 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.AdCreativeServiceClient.addAdCreatives(AdCreativeServiceClient.java:237) at com.thesearchagency.services.client.facebook.impl.FacebookAdsClient.addAdCreatives(FacebookAdsClient.java:353) at com.thesearchagency.services.client.facebook.diff.UpdateAdCreative.handleCreates(UpdateAdCreative.java:237) at com.thesearchagency.services.client.facebook.diff.UpdateAdCreative.handleCreates(UpdateAdCreative.java:202) at com.thesearchagency.services.client.facebook.diff.UpdateAdCreative.execute(UpdateAdCreative.java:79) at com.thesearchagency.services.client.facebook.diff.UpdateAdStructure.checkAdCreative(UpdateAdStructure.java:65) at com.thesearchagency.services.client.facebook.diff.UpdateAdStructure.execute(UpdateAdStructure.java:50) at com.thesearchagency.services.client.facebook.diff.UpdateAdSetAds.handleCreates(UpdateAdSetAds.java:102) at com.thesearchagency.services.client.facebook.diff.UpdateAdSetAds.execute(UpdateAdSetAds.java:72) at com.thesearchagency.services.client.facebook.diff.UpdateAdSetStructure.checkAdSetAds(UpdateAdSetStructure.java:57) at com.thesearchagency.services.client.facebook.diff.UpdateAdSetStructure.execute(UpdateAdSetStructure.java:42) at com.thesearchagency.services.client.facebook.diff.UpdateCampaignStructure.handleCreates(UpdateCampaignStructure.java:168) at com.thesearchagency.services.client.facebook.diff.UpdateCampaignStructure.handleCreates(UpdateCampaignStructure.java:136) at com.thesearchagency.services.client.facebook.diff.UpdateCampaignStructure.checkAdSet(UpdateCampaignStructure.java:129) at com.thesearchagency.services.client.facebook.diff.UpdateCampaignStructure.execute(UpdateCampaignStructure.java:53) at com.thesearchagency.services.client.facebook.diff.UpdateAdAccountStructure.handleCreate(UpdateAdAccountStructure.java:143) at com.thesearchagency.services.client.facebook.diff.UpdateAdAccountStructure.checkCampaigns(UpdateAdAccountStructure.java:92) at com.thesearchagency.services.client.facebook.diff.UpdateAdAccountStructure.execute(UpdateAdAccountStructure.java:46) at com.thesearchagency.services.client.facebook.FacebookCampaignServiceComponent.updateCampaignStructures(FacebookCampaignServiceComponent.java:1224) at com.thesearchagency.services.client.facebook.FacebookCampaignServiceComponent.replaceCampaignStructures(FacebookCampaignServiceComponent.java:1151) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy17.replaceCampaignStructures(Unknown Source) at com.thesearchagency.searchengines.facebook.FacebookAccountDeployer.replaceCampaignStructures(FacebookAccountDeployer.java:368) at com.thesearchagency.searchengines.facebook.FacebookAccountDeployer.replaceCampaigns(FacebookAccountDeployer.java:958) at com.thesearchagency.admaxlistener.worker.SearchEngineCampaignReplaceWorker.call(SearchEngineCampaignReplaceWorker.java:47) at com.thesearchagency.admaxlistener.worker.SearchEngineCampaignReplaceWorker.call(SearchEngineCampaignReplaceWorker.java:16) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 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-05-05 09:29:14.068 (2) [pool-3-thread-41]: Error: CampID: 38572_PC Info: Error during update request. 2021-05-05 09:29:14.069 (1) [pool-3-thread-41]: Exception [Error during update request.]:java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at com.thesearchagency.admaxlistener.deployer.MultiplexAccountDeployer.replaceCampaigns(MultiplexAccountDeployer.java:1053) at com.thesearchagency.admaxlistener.worker.CampaignUpdateWorker.campaignSync(CampaignUpdateWorker.java:579) at com.thesearchagency.admaxlistener.worker.CampaignUpdateWorker.call(CampaignUpdateWorker.java:114) at com.thesearchagency.admaxlistener.worker.AccountWorker.updateCampaigns(AccountWorker.java:532) at com.thesearchagency.admaxlistener.worker.AccountWorker.deploySync(AccountWorker.java:398) at com.thesearchagency.admaxlistener.worker.AccountWorker.call(AccountWorker.java:150) at com.thesearchagency.admaxlistener.worker.RequestWorker.call(RequestWorker.java:309) at com.thesearchagency.admaxlistener.worker.RequestWorker.call(RequestWorker.java:102) 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) Caused by: java.lang.NullPointerException at com.thesearchagency.services.client.facebook.diff.UpdateAd.execute(UpdateAd.java:66) at com.thesearchagency.services.client.facebook.diff.UpdateAdStructure.checkAd(UpdateAdStructure.java:71) at com.thesearchagency.services.client.facebook.diff.UpdateAdStructure.execute(UpdateAdStructure.java:51) at com.thesearchagency.services.client.facebook.diff.UpdateAdSetAds.handleCreates(UpdateAdSetAds.java:102) at com.thesearchagency.services.client.facebook.diff.UpdateAdSetAds.execute(UpdateAdSetAds.java:72) at com.thesearchagency.services.client.facebook.diff.UpdateAdSetStructure.checkAdSetAds(UpdateAdSetStructure.java:57) at com.thesearchagency.services.client.facebook.diff.UpdateAdSetStructure.execute(UpdateAdSetStructure.java:42) at com.thesearchagency.services.client.facebook.diff.UpdateCampaignStructure.handleCreates(UpdateCampaignStructure.java:168) at com.thesearchagency.services.client.facebook.diff.UpdateCampaignStructure.handleCreates(UpdateCampaignStructure.java:136) at com.thesearchagency.services.client.facebook.diff.UpdateCampaignStructure.checkAdSet(UpdateCampaignStructure.java:129) at com.thesearchagency.services.client.facebook.diff.UpdateCampaignStructure.execute(UpdateCampaignStructure.java:53) at com.thesearchagency.services.client.facebook.diff.UpdateAdAccountStructure.handleCreate(UpdateAdAccountStructure.java:143) at com.thesearchagency.services.client.facebook.diff.UpdateAdAccountStructure.checkCampaigns(UpdateAdAccountStructure.java:92) at com.thesearchagency.services.client.facebook.diff.UpdateAdAccountStructure.execute(UpdateAdAccountStructure.java:46) at com.thesearchagency.services.client.facebook.FacebookCampaignServiceComponent.updateCampaignStructures(FacebookCampaignServiceComponent.java:1224) at com.thesearchagency.services.client.facebook.FacebookCampaignServiceComponent.replaceCampaignStructures(FacebookCampaignServiceComponent.java:1151) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy17.replaceCampaignStructures(Unknown Source) at com.thesearchagency.searchengines.facebook.FacebookAccountDeployer.replaceCampaignStructures(FacebookAccountDeployer.java:368) at com.thesearchagency.searchengines.facebook.FacebookAccountDeployer.replaceCampaigns(FacebookAccountDeployer.java:958) at com.thesearchagency.admaxlistener.worker.SearchEngineCampaignReplaceWorker.call(SearchEngineCampaignReplaceWorker.java:47) at com.thesearchagency.admaxlistener.worker.SearchEngineCampaignReplaceWorker.call(SearchEngineCampaignReplaceWorker.java:16) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ... 4 more 2021-05-05 09:29:14,072 [pool-3-thread-41] INFO jdbc.sqlonly - SELECT `errors`.`errorJson` FROM `campaigns` JOIN `errors` ON `errors`.`elementName` = `campaigns`.`name` WHERE `campaigns`.`id` IN (99) 2021-05-05 09:29:14.074 (3) [pool-3-thread-41]: 38572_PC has no applicable GCE errors. 2021-05-05 09:29:14.075 (3) [pool-3-thread-41]: Finished DEPLOY request for campaign OnlineAdvertising_NewYork_38572_PC_e2f04d50-88b7-4622-9dd6-1c1775e2cbb3: FAILED (merchant: e2f04d50-88b7-4622-9dd6-1c1775e2cbb3) 2021-05-05 09:29:14.075 (3) [pool-3-thread-41]: e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 has 0 campaigns for a SE Update accounts sync. 2021-05-05 09:29:14.075 (3) [pool-3-thread-41]: e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 has 0 campaigns for a SE Update groups-listings sync. 2021-05-05 09:29:14.075 (3) [pool-3-thread-41]: Finished sub-campaign processing for DEPLOY deploymentID (36182d98-0425-45f6-bb9b-8baca1dc137d). account e2f04d50-88b7-4622-9dd6-1c1775e2cbb3. 1 submitted, 0 ok. 2021-05-05 09:29:14.076 (3) [pool-3-thread-41]: Updating deployment status to 'Failure' for campaignID: 38572 2021-05-05 09:29:14.076 (3) [pool-3-thread-41]: Finished DEPLOY request for e2f04d50-88b7-4622-9dd6-1c1775e2cbb3_10095_6_38572: FAILED (merchant: e2f04d50-88b7-4622-9dd6-1c1775e2cbb3) 2021-05-05 09:29:14.076 (3) [pool-3-thread-41]: Finished DEPLOY request, deploymentID (36182d98-0425-45f6-bb9b-8baca1dc137d), account e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 2021-05-05 09:29:14.076 (3) [pool-3-thread-41]: Request removed from map for customerID e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 2021-05-05 09:29:14.574 (3) [AdMaxListener]: Sent message to response queue. 2021-05-05 09:29:15.890 (3) [Thread-9]: Heartbeat #37337 (1620206955887) received in 0.003s 2021-05-05 09:29:19.519 (3) [Thread-9]: Request added to map for customerID e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 2021-05-05 09:29:19.519 (3) [Thread-9]: HighPriorityMessageHandler handling message ID ID:JBM-507dccc3-a553-4056-9794-3b06309b78e6 2021-05-05 09:29:19.519 (3) [Thread-9]: Request worker created for e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 2021-05-05 09:29:19.519 (3) [Thread-9]: Submitted executor job for e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 2021-05-05 09:29:19.522 (3) [Thread-9]: HighPriorityMessageHandler took message ID ID:JBM-507dccc3-a553-4056-9794-3b06309b78e6 out of queue 2021-05-05 09:29:19.538 (3) [pool-3-thread-41]: Updating deployment status to 'InProgress' for campaignID: 38572 2021-05-05 09:29:19,546 [pool-3-thread-41] DEBUG c.t.common.SECampaignStatusManager - AdMax campaign budget status not found so using Active 2021-05-05 09:29:19.547 (3) [pool-3-thread-41]: Start processing UPDATE request (36182d98-0425-45f6-bb9b-8baca1dc137d) for account e2f04d50-88b7-4622-9dd6-1c1775e2cbb3. 1 campaign(s). 2021-05-05 09:29:19.547 (3) [pool-3-thread-41]: Performing update for account: e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 ID#2960 2021-05-05 09:29:19.550 (3) [pool-3-thread-41]: 1 campaign(s) to update. 2021-05-05 09:29:19.550 (3) [pool-3-thread-41]: 0 campaign(s) to retry and update. 2021-05-05 09:29:19.550 (3) [pool-3-thread-41]: Update campaign status for accountID 2960 2021-05-05 09:29:19.551 (3) [pool-3-thread-41]: CampaignWorker initialized for account: 2960 2021-05-05 09:29:19.551 (3) [pool-3-thread-41]: Updating OnlineAdvertising_NewYork_38572_PC_e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 Status: Paused 2021-05-05 09:29:19.551 (3) [pool-3-thread-41]: CampaignUpdateWorker started... 2021-05-05 09:29:19,650 [pool-3-thread-41] DEBUG c.t.s.facebook.FacebookApiUtils - Getting FB properties using distribution service 2021-05-05 09:29:19,653 [pool-3-thread-41] INFO jdbc.sqlonly - SELECT `businesses`.`id`, `businesses`.`businessId`, `businesses`.`name`, `businesses`.`clientPageId`, `businesses`.`leadsTOSEnabled`, `businesses`.`leadsTOSAccepted`, `businesses`.`enabled`, `businesses`.`inviteStatus`, `businesses`.`notificationStatus`, `businesses`.`users`, `businesses`.`json` FROM `businesses` WHERE `businesses`.`name` = 'e2f04d50-88b7-4622-9dd6-1c1775e2cbb3' 2021-05-05 09:29:19,655 [pool-3-thread-41] DEBUG c.t.s.f.FacebookAccountDeployer - Facebook pageID 102834651975671 for merchant e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 2021-05-05 09:29:19,656 [pool-3-thread-41] DEBUG c.t.s.f.FacebookAccountDeployer - Facebook currencyCode USD for accountID 2960 2021-05-05 09:29:19,657 [pool-3-thread-41] DEBUG c.t.s.f.FacebookAccountDeployer - Facebook timeZoneID America/New_York for accountID 2960 2021-05-05 09:29:19,657 [pool-3-thread-41] INFO c.t.s.f.FacebookAccountDeployer - FacebookAccountDeployer:getExistingCampaigns 2021-05-05 09:29:19,660 [pool-3-thread-41] INFO jdbc.sqlonly - SELECT `campaigns`.`id`, `campaigns`.`json` FROM `campaigns` WHERE `campaigns`.`id` IN (99) 2021-05-05 09:29:19.662 (3) [pool-3-thread-41]: OnlineAdvertising_NewYork_38572_PC_e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 status change (Active->Paused) 2021-05-05 09:29:19.662 (3) [pool-84-thread-1]: Starting Facebook Update Campaign Worker.. 2021-05-05 09:29:19,662 [pool-84-thread-1] INFO c.t.s.f.FacebookAccountDeployer - FBAccountDeployer: updateCampaigns 2021-05-05 09:29:19,664 [pool-84-thread-1] INFO jdbc.sqlonly - SELECT `campaigns`.`id`, `campaigns`.`json` FROM `campaigns` WHERE `campaigns`.`id` IN (99) 2021-05-05 09:29:19,666 [pool-84-thread-1] INFO c.t.s.f.FacebookAccountDeployer - accountID 2960: diffing 1 Facebook campaigns 2021-05-05 09:29:19,671 [pool-84-thread-1] INFO jdbc.sqlonly - SELECT `campaigns`.`id`, `campaigns`.`json` FROM `campaigns` WHERE `campaigns`.`id` IN (99) 2021-05-05 09:29:19,672 [pool-84-thread-1] INFO c.t.s.c.f.i.s.CampaignServiceClient - Updating 1 Facebook campaigns for accountID 2928363574119140 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/23847976768140177/","name":"Request0","omit_response_on_success":false,"body":"name=OnlineAdvertising_NewYork_38572_PC_e2f04d50-88b7-4622-9dd6-1c1775e2cbb3&special_ad_categories=%5B%22NONE%22%5D&objective=LINK_CLICKS&status=PAUSED","attached_files":{}}] ----------------------------413621137928354363-- [{"code":200,"body":"{\"success\":true}"}] [Warning] When parsing response, object is not consistent with JSON: [JSON]{"success":true} [Object]{} 2021-05-05 09:29:20,015 [pool-84-thread-1] INFO c.t.s.c.f.i.s.CampaignServiceClient - Successfully updated a Facebook campaign fields for campaignID 23847976768140177 2021-05-05 09:29:20,016 [pool-84-thread-1] INFO jdbc.sqlonly - UPDATE `campaigns` SET `campaigns`.`socialNetworkIdentifier` = '23847976768140177', `campaigns`.`name` = 'OnlineAdvertising_NewYork_38572_PC_e2f04d50-88b7-4622-9dd6-1c1775e2cbb3', `campaigns`.`status` = 'PAUSED', `campaigns`.`lastUpdated` = NOW(), `campaigns`.`json` = '{"campaign":{"specialAdCategories":["NONE"],"bidStrategy":"LOWEST_COST_WITHOUT_CAP","searchEngineId":"23847976768140177","startTime":"2021-05-04T09:28:41.486-04:00","objective":"LINK_CLICKS","dailyBudget":400,"status":"PAUSED","name":"OnlineAdvertising_NewYork_38572_PC_e2f04d50-88b7-4622-9dd6-1c1775e2cbb3"},"adSetStructures":[{"adSet":{"bidAmount":0,"adPromotedObject":{"pageId":"102834651975671"},"targets":[{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3852","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3875","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3874","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3862","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3857","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3847","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookDemographicsTarget","genders":[0],"ageMin":18,"ageMax":65,"targetType":"Demographics"}},{"target":{"FacebookTarget":"FacebookBehaviorsTarget","targetType":"Behaviors","id":"6002714898572","name":"Small business owners"}},{"target":{"FacebookTarget":"FacebookInterestsTarget","targetType":"Interests","id":"6003584163107","name":"Advertising"}},{"target":{"FacebookTarget":"FacebookInterestsTarget","targetType":"Interests","id":"6003479582947","name":"business owner"}}],"billingEvent":"IMPRESSIONS","status":"ACTIVE","id":"23847976768260177","name":"e2f04d50-88b7-4622-9dd6-1c1775e2cbb3_10095_6_38572_4"},"adStructures":[{"adImage":{"hash":"8d74e8f44dbdd03a9ab113746a64af41","url":"https://aml-qa.s3.us-west-1.amazonaws.com/usa/10095/images/image-10095-2.jpg","status":"ACTIVE"},"adCreative":{"pageID":"102834651975671","link":"http://www.admaxlocal.com/","title":"Online Advertising Agency","callToAction":{"type":"GET_QUOTE","objective":"LINK_CLICKS"},"body":"Reliable Online Marketing Agency. Get Your Business Out There!","description":"Experienced Online Ad Agency form","status":"ACTIVE","id":"23847977311350177","name":"cc1ada05-7370-4ee7-97ef-6688c08e73b8"},"ad":{"status":"ACTIVE","id":"23847977311560177","name":"cc1ada05-7370-4ee7-97ef-6688c08e73b8"}}]},{"adSet":{"bidAmount":0,"adPromotedObject":{"pageId":"102834651975671"},"targets":[{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3852","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3875","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3874","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3862","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3857","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3847","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookDemographicsTarget","genders":[0],"ageMin":18,"ageMax":65,"targetType":"Demographics"}},{"target":{"FacebookTarget":"FacebookBehaviorsTarget","targetType":"Behaviors","id":"6002714898572","name":"Small business owners"}},{"target":{"FacebookTarget":"FacebookInterestsTarget","targetType":"Interests","id":"6003584163107","name":"Advertising"}},{"target":{"FacebookTarget":"FacebookInterestsTarget","targetType":"Interests","id":"6003479582947","name":"business owner"}}],"billingEvent":"IMPRESSIONS","status":"ACTIVE","id":"23847976768360177","name":"e2f04d50-88b7-4622-9dd6-1c1775e2cbb3_10095_6_38572_3"},"adStructures":[{"adImage":{"hash":"a455866669ba1298ea99f54845e52f22","url":"https://aml-qa.s3.us-west-1.amazonaws.com/usa/10095/images/image-10095-4.jpg","status":"ACTIVE"},"adCreative":{"pageID":"102834651975671","link":"http://www.admaxlocal.com/","title":"Experienced Online Ad Agency","callToAction":{"type":"GET_QUOTE","objective":"LINK_CLICKS"},"body":"Reliable Online Advertising Agency. Cast the Net, Find New Business.","description":"Expert Online Advertising","status":"ACTIVE","id":"23847977312190177","name":"23e75a74-1b27-4933-a2b3-d31ddcc0fbc7"},"ad":{"status":"ACTIVE","id":"23847977312360177","name":"23e75a74-1b27-4933-a2b3-d31ddcc0fbc7"}}]},{"adSet":{"bidAmount":0,"adPromotedObject":{"pageId":"102834651975671"},"targets":[{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3852","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3875","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3874","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3862","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3857","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3847","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookDemographicsTarget","genders":[0],"ageMin":18,"ageMax":65,"targetType":"Demographics"}},{"target":{"FacebookTarget":"FacebookBehaviorsTarget","targetType":"Behaviors","id":"6002714898572","name":"Small business owners"}},{"target":{"FacebookTarget":"FacebookInterestsTarget","targetType":"Interests","id":"6003584163107","name":"Advertising"}},{"target":{"FacebookTarget":"FacebookInterestsTarget","targetType":"Interests","id":"6003479582947","name":"business owner"}}],"billingEvent":"IMPRESSIONS","status":"ACTIVE","id":"23847976768480177","name":"e2f04d50-88b7-4622-9dd6-1c1775e2cbb3_10095_6_38572_2"},"adStructures":[{"adImage":{"hash":"a455866669ba1298ea99f54845e52f22","url":"https://aml-qa.s3.us-west-1.amazonaws.com/usa/10095/images/image-10095-4.jpg","status":"ACTIVE"},"adCreative":{"pageID":"102834651975671","link":"http://www.admaxlocal.com/","title":"Expert Online Advertising","callToAction":{"type":"GET_QUOTE","objective":"LINK_CLICKS"},"body":"Reliable Online Advertising Agency. Cast the Net, Find New Business.","description":"Experienced Online Ad Agency","status":"ACTIVE","id":"23847977312920177","name":"bca65c17-c7b7-4702-871f-75b179700025"},"ad":{"status":"ACTIVE","id":"23847977313120177","name":"bca65c17-c7b7-4702-871f-75b179700025"}}]},{"adSet":{"bidAmount":0,"adPromotedObject":{"pageId":"102834651975671"},"targets":[{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3852","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3875","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3874","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3862","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3857","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookLocationTarget","type":"region","id":"3847","locationTargetType":"region","targetType":"Location"}},{"target":{"FacebookTarget":"FacebookDemographicsTarget","genders":[0],"ageMin":18,"ageMax":65,"targetType":"Demographics"}},{"target":{"FacebookTarget":"FacebookBehaviorsTarget","targetType":"Behaviors","id":"6002714898572","name":"Small business owners"}},{"target":{"FacebookTarget":"FacebookInterestsTarget","targetType":"Interests","id":"6003584163107","name":"Advertising"}},{"target":{"FacebookTarget":"FacebookInterestsTarget","targetType":"Interests","id":"6003479582947","name":"business owner"}}],"billingEvent":"IMPRESSIONS","status":"ACTIVE","id":"23847976768650177","name":"e2f04d50-88b7-4622-9dd6-1c1775e2cbb3_10095_6_38572_1"},"adStructures":[{"adImage":{"hash":"c204b3a0b009b389b5c7dbc43fb16464","url":"https://aml-qa.s3.us-west-1.amazonaws.com/usa/10095/images/image-10095-5.jpg","status":"ACTIVE"},"adCreative":{"pageID":"102834651975671","link":"http://www.admaxlocal.com/","title":"Experienced Online Ad Agency","callToAction":{"type":"GET_QUOTE","objective":"LINK_CLICKS"},"body":"Reliable Online Marketing Agency. Get Your Business Out There!","description":"Online Advertising Agency","status":"ACTIVE","id":"23847977313680177","name":"bd441922-9484-46d9-85c2-6a515b1d334d"},"ad":{"status":"ACTIVE","id":"23847977313930177","name":"bd441922-9484-46d9-85c2-6a515b1d334d"}}]}],"searchEngineUserId":null}' WHERE `campaigns`.`id` = 99 2021-05-05 09:29:20,017 [pool-84-thread-1] INFO jdbc.sqlonly - SELECT `campaigns`.`id`, `campaigns`.`json` FROM `campaigns` WHERE `campaigns`.`id` = 99 2021-05-05 09:29:20.020 (3) [pool-84-thread-1]: Completed Facebook Update Campaign Worker.. 2021-05-05 09:29:20.023 (3) [pool-3-thread-41]: OnlineAdvertising_NewYork_38572_PC_e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 status updated to Paused 2021-05-05 09:29:20.023 (3) [pool-3-thread-41]: Campaign structure sync not enabled for this request. 2021-05-05 09:29:20,026 [pool-3-thread-41] INFO jdbc.sqlonly - SELECT `errors`.`errorJson` FROM `campaigns` JOIN `errors` ON `errors`.`elementName` = `campaigns`.`name` WHERE `campaigns`.`id` IN (99) 2021-05-05 09:29:20.028 (3) [pool-3-thread-41]: Structure sync disabled, ignoring 0 structure operation errors. 2021-05-05 09:29:20.028 (3) [pool-3-thread-41]: 38572_PC has no applicable GCE errors. 2021-05-05 09:29:20.030 (3) [pool-3-thread-41]: Finished UPDATE request for campaign OnlineAdvertising_NewYork_38572_PC_e2f04d50-88b7-4622-9dd6-1c1775e2cbb3: SUCCEEDED (merchant: e2f04d50-88b7-4622-9dd6-1c1775e2cbb3) 2021-05-05 09:29:20.030 (3) [pool-3-thread-41]: e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 has 0 campaigns for a SE Update accounts sync. 2021-05-05 09:29:20.030 (3) [pool-3-thread-41]: e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 has 0 campaigns for a SE Update groups-listings sync. 2021-05-05 09:29:20.030 (3) [pool-3-thread-41]: Finished sub-campaign processing for UPDATE deploymentID (36182d98-0425-45f6-bb9b-8baca1dc137d). account e2f04d50-88b7-4622-9dd6-1c1775e2cbb3. 1 submitted, 1 ok. 2021-05-05 09:29:20.030 (3) [pool-3-thread-41]: Updating deployment status to 'Success' for campaignID: 38572 2021-05-05 09:29:20.031 (3) [pool-3-thread-41]: Finished UPDATE request for 38572: SUCCEEDED (merchant: e2f04d50-88b7-4622-9dd6-1c1775e2cbb3) 2021-05-05 09:29:20.031 (3) [pool-3-thread-41]: Finished UPDATE request, deploymentID (36182d98-0425-45f6-bb9b-8baca1dc137d), account e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 2021-05-05 09:29:20.031 (3) [pool-3-thread-41]: Request removed from map for customerID e2f04d50-88b7-4622-9dd6-1c1775e2cbb3 2021-05-05 09:29:20.579 (3) [AdMaxListener]: Sent message to response queue. 2021-05-05 09:29:45.891 (3) [Thread-9]: Heartbeat #37338 (1620206985887) received in 0.004s