INSERT INTO `logs` (`id`, `user_id`, `level`, `action`, `message`, `context_json`, `ip`, `user_agent`, `created_at`) VALUES
(18716, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 16, \"spend\": 187.46, \"clicks\": 106, \"results\": 3273, \"date_start\": \"2026-01-24\", \"conversions\": 0, \"impressions\": 4497, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:31'),
(18717, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 22, \"types_found\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2, \"onsite_conversion.messaging_first_reply\": 9, \"onsite_conversion.messaging_conversation_started_7d\": 9}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:31'),
(18718, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 4, \"types\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:31'),
(18719, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 22, \"spend\": 97.87, \"clicks\": 114, \"results\": 850, \"date_start\": \"2026-01-24\", \"conversions\": 4, \"impressions\": 3538, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 48.935}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:31'),
(18720, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:31'),
(18721, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 30.1, \"clicks\": 29, \"results\": 1604, \"date_start\": \"2026-01-24\", \"conversions\": 0, \"impressions\": 24830, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:31'),
(18722, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:31'),
(18723, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 0, \"clicks\": 0, \"results\": 0, \"date_start\": \"2026-01-25\", \"conversions\": 0, \"impressions\": 0, \"campaign_name\": \"[Mensagens][WhatsApp] Lexus Day\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:31'),
(18724, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 30, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 15, \"onsite_conversion.messaging_conversation_started_7d\": 15}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:31'),
(18725, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 30, \"spend\": 257.12, \"clicks\": 142, \"results\": 4523, \"date_start\": \"2026-01-25\", \"conversions\": 0, \"impressions\": 6645, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:31'),
(18726, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 22, \"types_found\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1, \"onsite_conversion.messaging_first_reply\": 10, \"onsite_conversion.messaging_conversation_started_7d\": 10}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18727, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 2, \"types\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18728, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 22, \"spend\": 136.21, \"clicks\": 158, \"results\": 1112, \"date_start\": \"2026-01-25\", \"conversions\": 2, \"impressions\": 6199, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 136.21}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18729, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 37.4, \"clicks\": 31, \"results\": 1781, \"date_start\": \"2026-01-25\", \"conversions\": 0, \"impressions\": 32748, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18730, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 4, \"onsite_conversion.messaging_conversation_started_7d\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18731, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 219.73, \"clicks\": 112, \"results\": 3554, \"date_start\": \"2026-01-26\", \"conversions\": 0, \"impressions\": 5482, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18732, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 14, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 7, \"onsite_conversion.messaging_conversation_started_7d\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18733, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 14, \"spend\": 118.44, \"clicks\": 142, \"results\": 510, \"date_start\": \"2026-01-26\", \"conversions\": 0, \"impressions\": 6593, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18734, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18735, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 32.4, \"clicks\": 24, \"results\": 1589, \"date_start\": \"2026-01-26\", \"conversions\": 0, \"impressions\": 25498, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18736, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 16, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 8, \"onsite_conversion.messaging_conversation_started_7d\": 8}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18737, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 16, \"spend\": 190.18, \"clicks\": 68, \"results\": 2092, \"date_start\": \"2026-01-27\", \"conversions\": 0, \"impressions\": 3335, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18738, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 4, \"onsite_conversion.messaging_conversation_started_7d\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18739, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 90.63, \"clicks\": 99, \"results\": 338, \"date_start\": \"2026-01-27\", \"conversions\": 0, \"impressions\": 3638, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18740, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 32.49, \"clicks\": 16, \"results\": 1674, \"date_start\": \"2026-01-27\", \"conversions\": 0, \"impressions\": 22950, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18741, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 18, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 9, \"onsite_conversion.messaging_conversation_started_7d\": 9}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18742, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 18, \"spend\": 187.8, \"clicks\": 95, \"results\": 2661, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 4158, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18743, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 12, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 6, \"onsite_conversion.messaging_conversation_started_7d\": 6}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18744, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 12, \"spend\": 86.76, \"clicks\": 76, \"results\": 293, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 3129, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18745, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 32.27, \"clicks\": 20, \"results\": 1474, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 22376, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18746, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 10, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 5, \"onsite_conversion.messaging_conversation_started_7d\": 5}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18747, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 10, \"spend\": 176.58, \"clicks\": 48, \"results\": 1976, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 3081, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18748, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18749, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 61.31, \"clicks\": 42, \"results\": 246, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 1831, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18750, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 32.14, \"clicks\": 29, \"results\": 1634, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 21351, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18751, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18752, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 185.33, \"clicks\": 41, \"results\": 1967, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 3113, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18753, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18754, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 107.97, \"clicks\": 30, \"results\": 342, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 2190, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18755, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 43.46, \"clicks\": 26, \"results\": 1958, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 27398, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18756, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 17.45, \"clicks\": 10, \"results\": 32, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 820, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18757, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18758, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 15.64, \"clicks\": 10, \"results\": 32, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 904, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18759, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18760, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 176.39, \"clicks\": 36, \"results\": 1855, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 2939, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18761, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 6, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 3, \"onsite_conversion.messaging_conversation_started_7d\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18762, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 6, \"spend\": 97.22, \"clicks\": 41, \"results\": 263, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 2201, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18763, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18764, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 23.18, \"clicks\": 22, \"results\": 972, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 14916, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18765, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 3, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18766, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 3, \"spend\": 36.64, \"clicks\": 22, \"results\": 56, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 1268, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18767, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 33.4, \"clicks\": 20, \"results\": 52, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 1749, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18768, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18769, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 4, \"types\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18770, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 142.56, \"clicks\": 77, \"results\": 2351, \"date_start\": \"2026-02-01\", \"conversions\": 4, \"impressions\": 13031, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 71.28}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18771, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 129.11, \"clicks\": 90, \"results\": 605, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 8816, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18772, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 14, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 7, \"onsite_conversion.messaging_conversation_started_7d\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18773, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 14, \"spend\": 244.47, \"clicks\": 63, \"results\": 2574, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 3630, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18774, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 4, \"onsite_conversion.messaging_conversation_started_7d\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18775, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 177.09, \"clicks\": 75, \"results\": 417, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 3830, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18776, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18777, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 2, \"types\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18778, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 28.6, \"clicks\": 19, \"results\": 344, \"date_start\": \"2026-02-01\", \"conversions\": 2, \"impressions\": 1163, \"campaign_name\": \"[Leads][Formulário] AON\", \"cost_per_conversion\": 28.6}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18779, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18780, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 50.66, \"clicks\": 38, \"results\": 110, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 4017, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18781, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 44.54, \"clicks\": 32, \"results\": 104, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 3604, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18782, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 14, \"types_found\": {\"lead\": 7, \"onsite_conversion.lead_grouped\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18783, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 14, \"types\": {\"lead\": 7, \"onsite_conversion.lead_grouped\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18784, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 14, \"spend\": 106.45, \"clicks\": 76, \"results\": 1752, \"date_start\": \"2026-02-02\", \"conversions\": 14, \"impressions\": 11251, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 15.207143}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18785, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 108.68, \"clicks\": 50, \"results\": 446, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 4520, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18786, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 16, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 8, \"onsite_conversion.messaging_conversation_started_7d\": 8}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18787, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 16, \"spend\": 205.12, \"clicks\": 57, \"results\": 2253, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 3487, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18788, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 4, \"onsite_conversion.messaging_conversation_started_7d\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18789, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 151.94, \"clicks\": 80, \"results\": 422, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 3801, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18790, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 17.08, \"clicks\": 11, \"results\": 219, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 1448, \"campaign_name\": \"[Leads][Formulário] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18791, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 6, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 3, \"onsite_conversion.messaging_conversation_started_7d\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18792, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 6, \"spend\": 43.64, \"clicks\": 50, \"results\": 150, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 4035, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18793, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 3, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18794, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 3, \"spend\": 41.54, \"clicks\": 30, \"results\": 83, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 3077, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18795, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18796, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 29.37, \"clicks\": 13, \"results\": 247, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 1000, \"campaign_name\": \"[Mensagens][WhatsApp] Oferta mes\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18797, 1, 'info', 'client_meta.insights_fetched', 'Fetched insights for client', '{\"count\": 110, \"level\": \"campaign\", \"cache_ttl\": 1800, \"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18798, 1, 'info', 'client_meta.campaigns_fetched', 'Campaigns fetched successfully', '{\"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\", \"total_campaigns\": 28, \"status_distribution\": {\"ACTIVE\": 8, \"PAUSED\": 18, \"ARCHIVED\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18799, 1, 'info', 'client.campaigns_status_enriched', 'Enriching insights with campaign status', '{\"ad_account_id\": \"act_1313797233782082\", \"insights_count\": 110, \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:32'),
(18800, 1, 'debug', 'client_meta.cache_hit', 'Campaigns served from cache', '{\"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\", \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:42'),
(18801, 1, 'debug', 'meta_api.raw_response', 'Resposta bruta da Meta API', '{\"context\": \"client_insights\", \"metadata\": {\"level\": \"campaign\", \"client_id\": 3}, \"safe_data\": {\"data_count\": 34, \"has_paging\": true, \"sample_fields\": [\"date_start\", \"date_stop\", \"campaign_id\", \"campaign_name\", \"impressions\", \"clicks\", \"spend\", \"ctr\", \"cpc\", \"cpm\", \"reach\", \"frequency\", \"actions\", \"cost_per_action_type\"], \"action_types_found\": [\"onsite_conversion.total_messaging_connection\", \"link_click\", \"page_engagement\", \"onsite_conversion.post_unlike\", \"post_engagement\", \"comment\", \"post_interaction_gross\", \"onsite_conversion.messaging_user_depth_2_message_send\", \"onsite_conversion.messaging_user_depth_3_message_send\", \"post\", \"onsite_conversion.post_save\", \"onsite_conversion.post_net_like\", \"onsite_conversion.post_net_save\", \"onsite_conversion.messaging_first_reply\", \"onsite_conversion.messaging_conversation_started_7d\", \"video_view\", \"post_reaction\"]}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18802, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 16, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 8, \"onsite_conversion.messaging_conversation_started_7d\": 8}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18803, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 16, \"spend\": 190.18, \"clicks\": 68, \"results\": 2092, \"date_start\": \"2026-01-27\", \"conversions\": 0, \"impressions\": 3335, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18804, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 4, \"onsite_conversion.messaging_conversation_started_7d\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18805, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 90.63, \"clicks\": 99, \"results\": 338, \"date_start\": \"2026-01-27\", \"conversions\": 0, \"impressions\": 3638, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18806, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 32.49, \"clicks\": 16, \"results\": 1674, \"date_start\": \"2026-01-27\", \"conversions\": 0, \"impressions\": 22950, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18807, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 18, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 9, \"onsite_conversion.messaging_conversation_started_7d\": 9}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18808, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 18, \"spend\": 187.8, \"clicks\": 95, \"results\": 2661, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 4158, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18809, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 12, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 6, \"onsite_conversion.messaging_conversation_started_7d\": 6}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18810, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 12, \"spend\": 86.76, \"clicks\": 76, \"results\": 293, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 3129, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18811, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 32.27, \"clicks\": 20, \"results\": 1474, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 22376, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18812, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 10, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 5, \"onsite_conversion.messaging_conversation_started_7d\": 5}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18813, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 10, \"spend\": 176.58, \"clicks\": 48, \"results\": 1976, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 3081, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18814, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18815, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 61.31, \"clicks\": 42, \"results\": 246, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 1831, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18816, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 32.14, \"clicks\": 29, \"results\": 1634, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 21351, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18817, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18818, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 185.33, \"clicks\": 41, \"results\": 1967, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 3113, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18819, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18820, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 107.97, \"clicks\": 30, \"results\": 342, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 2190, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18821, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 43.46, \"clicks\": 26, \"results\": 1958, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 27398, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18822, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 17.45, \"clicks\": 10, \"results\": 32, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 820, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18823, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18824, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 15.64, \"clicks\": 10, \"results\": 32, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 904, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18825, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18826, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 176.39, \"clicks\": 36, \"results\": 1855, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 2939, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18827, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 6, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 3, \"onsite_conversion.messaging_conversation_started_7d\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43');
INSERT INTO `logs` (`id`, `user_id`, `level`, `action`, `message`, `context_json`, `ip`, `user_agent`, `created_at`) VALUES
(18828, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 6, \"spend\": 97.22, \"clicks\": 41, \"results\": 263, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 2201, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18829, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18830, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 23.18, \"clicks\": 22, \"results\": 972, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 14916, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18831, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 3, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18832, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 3, \"spend\": 36.64, \"clicks\": 22, \"results\": 56, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 1268, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18833, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 33.4, \"clicks\": 20, \"results\": 52, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 1749, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18834, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18835, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 4, \"types\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18836, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 142.56, \"clicks\": 77, \"results\": 2351, \"date_start\": \"2026-02-01\", \"conversions\": 4, \"impressions\": 13031, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 71.28}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18837, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 129.11, \"clicks\": 90, \"results\": 605, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 8816, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18838, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 14, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 7, \"onsite_conversion.messaging_conversation_started_7d\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18839, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 14, \"spend\": 244.47, \"clicks\": 63, \"results\": 2574, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 3630, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18840, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 4, \"onsite_conversion.messaging_conversation_started_7d\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18841, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 177.09, \"clicks\": 75, \"results\": 417, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 3830, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18842, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18843, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 2, \"types\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18844, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 28.6, \"clicks\": 19, \"results\": 344, \"date_start\": \"2026-02-01\", \"conversions\": 2, \"impressions\": 1163, \"campaign_name\": \"[Leads][Formulário] AON\", \"cost_per_conversion\": 28.6}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18845, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18846, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 50.66, \"clicks\": 38, \"results\": 110, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 4017, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18847, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 44.54, \"clicks\": 32, \"results\": 104, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 3604, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18848, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 14, \"types_found\": {\"lead\": 7, \"onsite_conversion.lead_grouped\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18849, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 14, \"types\": {\"lead\": 7, \"onsite_conversion.lead_grouped\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18850, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 14, \"spend\": 106.45, \"clicks\": 76, \"results\": 1752, \"date_start\": \"2026-02-02\", \"conversions\": 14, \"impressions\": 11251, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 15.207143}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18851, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 108.68, \"clicks\": 50, \"results\": 446, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 4520, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18852, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 16, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 8, \"onsite_conversion.messaging_conversation_started_7d\": 8}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18853, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 16, \"spend\": 205.12, \"clicks\": 57, \"results\": 2253, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 3487, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18854, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 4, \"onsite_conversion.messaging_conversation_started_7d\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18855, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 151.94, \"clicks\": 80, \"results\": 422, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 3801, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18856, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 17.08, \"clicks\": 11, \"results\": 219, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 1448, \"campaign_name\": \"[Leads][Formulário] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18857, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 6, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 3, \"onsite_conversion.messaging_conversation_started_7d\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18858, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 6, \"spend\": 43.64, \"clicks\": 50, \"results\": 150, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 4035, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18859, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 3, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18860, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 3, \"spend\": 41.54, \"clicks\": 30, \"results\": 83, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 3077, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18861, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18862, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 29.37, \"clicks\": 13, \"results\": 247, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 1000, \"campaign_name\": \"[Mensagens][WhatsApp] Oferta mes\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18863, 1, 'info', 'client_meta.insights_fetched', 'Fetched insights for client', '{\"count\": 34, \"level\": \"campaign\", \"cache_ttl\": 600, \"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:43'),
(18864, 1, 'info', 'client_meta.campaign_ads_fetched', 'Campaign ads fetched successfully', '{\"ads_count\": 100, \"client_id\": 3, \"campaign_id\": \"120235513216180303\", \"ads_with_page_id\": 100}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:01:46'),
(18865, 1, 'debug', 'client_meta.cache_hit', 'Insights served from cache', '{\"level\": \"campaign\", \"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:03:38'),
(18866, 1, 'debug', 'client_meta.cache_hit', 'Campaigns served from cache', '{\"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\", \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:03:38'),
(18867, 1, 'info', 'client.campaigns_status_enriched', 'Enriching insights with campaign status', '{\"ad_account_id\": \"act_1313797233782082\", \"insights_count\": 110, \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:03:38'),
(18868, 1, 'debug', 'client_meta.cache_hit', 'Campaigns served from cache', '{\"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\", \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:03:42'),
(18869, 1, 'debug', 'client_meta.cache_hit', 'Insights served from cache', '{\"level\": \"campaign\", \"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:03:42'),
(18870, 1, 'debug', 'client_meta.cache_hit', 'Campaign ads served from cache', '{\"client_id\": 3, \"campaign_id\": \"120235513216180303\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:03:42'),
(18871, 1, 'debug', 'client_meta.cache_hit', 'Insights served from cache', '{\"level\": \"campaign\", \"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:03:58'),
(18872, 1, 'debug', 'client_meta.cache_hit', 'Campaigns served from cache', '{\"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\", \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:03:58'),
(18873, 1, 'info', 'client.campaigns_status_enriched', 'Enriching insights with campaign status', '{\"ad_account_id\": \"act_1313797233782082\", \"insights_count\": 110, \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:03:58'),
(18874, 1, 'debug', 'client_meta.cache_hit', 'Campaigns served from cache', '{\"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\", \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:04:07'),
(18875, 1, 'debug', 'client_meta.cache_hit', 'Insights served from cache', '{\"level\": \"campaign\", \"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:04:07'),
(18876, 1, 'debug', 'client_meta.cache_hit', 'Campaign ads served from cache', '{\"client_id\": 3, \"campaign_id\": \"120235513216180303\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:04:07'),
(18877, 1, 'debug', 'client_meta.cache_hit', 'Insights served from cache', '{\"level\": \"campaign\", \"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:06:08'),
(18878, 1, 'debug', 'client_meta.cache_hit', 'Campaigns served from cache', '{\"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\", \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:06:08'),
(18879, 1, 'info', 'client.campaigns_status_enriched', 'Enriching insights with campaign status', '{\"ad_account_id\": \"act_1313797233782082\", \"insights_count\": 110, \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:06:08'),
(18880, 1, 'debug', 'client_meta.cache_hit', 'Campaigns served from cache', '{\"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\", \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:06:14'),
(18881, 1, 'debug', 'client_meta.cache_hit', 'Insights served from cache', '{\"level\": \"campaign\", \"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:06:14'),
(18882, 1, 'debug', 'client_meta.cache_hit', 'Campaign ads served from cache', '{\"client_id\": 3, \"campaign_id\": \"120235513216180303\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:06:14'),
(18883, 1, 'debug', 'client_meta.cache_hit', 'Insights served from cache', '{\"level\": \"campaign\", \"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:06:45'),
(18884, 1, 'debug', 'client_meta.cache_hit', 'Campaigns served from cache', '{\"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\", \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:06:45'),
(18885, 1, 'info', 'client.campaigns_status_enriched', 'Enriching insights with campaign status', '{\"ad_account_id\": \"act_1313797233782082\", \"insights_count\": 110, \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:06:45'),
(18886, 1, 'debug', 'client_meta.cache_hit', 'Campaigns served from cache', '{\"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\", \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:06:54'),
(18887, 1, 'debug', 'client_meta.cache_hit', 'Insights served from cache', '{\"level\": \"campaign\", \"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:06:54'),
(18888, 1, 'debug', 'client_meta.cache_hit', 'Campaign ads served from cache', '{\"client_id\": 3, \"campaign_id\": \"120235513216180303\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:06:54'),
(18889, 1, 'debug', 'client_meta.cache_hit', 'Campaigns served from cache', '{\"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\", \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:07:15'),
(18890, 1, 'debug', 'client_meta.cache_hit', 'Insights served from cache', '{\"level\": \"campaign\", \"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:07:15'),
(18891, 1, 'debug', 'client_meta.cache_hit', 'Campaign ads served from cache', '{\"client_id\": 3, \"campaign_id\": \"120235513216180303\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:07:15'),
(18892, 1, 'debug', 'client_meta.cache_hit', 'Insights served from cache', '{\"level\": \"campaign\", \"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:11:42'),
(18893, 1, 'debug', 'client_meta.cache_hit', 'Campaigns served from cache', '{\"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\", \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:11:42'),
(18894, 1, 'info', 'client.campaigns_status_enriched', 'Enriching insights with campaign status', '{\"ad_account_id\": \"act_1313797233782082\", \"insights_count\": 110, \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 00:11:42'),
(18895, 1, 'info', 'auth.login_success', 'User logged in successfully', '{\"user_id\": 1}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:12'),
(18896, 1, 'debug', 'meta_api.raw_response', 'Resposta bruta da Meta API', '{\"context\": \"client_insights\", \"metadata\": {\"level\": \"campaign\", \"client_id\": 3}, \"safe_data\": {\"data_count\": 115, \"has_paging\": true, \"sample_fields\": [\"date_start\", \"date_stop\", \"campaign_id\", \"campaign_name\", \"impressions\", \"clicks\", \"spend\", \"ctr\", \"cpc\", \"cpm\", \"reach\", \"frequency\", \"actions\", \"cost_per_action_type\"], \"action_types_found\": [\"offsite_complete_registration_add_meta_leads\", \"link_click\", \"page_engagement\", \"landing_page_view\", \"omni_landing_page_view\", \"onsite_conversion.post_unlike\", \"post_engagement\", \"post_interaction_gross\", \"offsite_search_add_meta_leads\", \"onsite_conversion.post_net_like\", \"lead\", \"offsite_content_view_add_meta_leads\", \"onsite_conversion.lead_grouped\", \"video_view\", \"post_reaction\"]}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18897, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"lead\": 4, \"onsite_conversion.lead_grouped\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18898, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 8, \"types\": {\"lead\": 4, \"onsite_conversion.lead_grouped\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18899, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 45.14, \"clicks\": 47, \"results\": 1256, \"date_start\": \"2026-01-05\", \"conversions\": 8, \"impressions\": 7245, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 11.285}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18900, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 6, \"types_found\": {\"lead\": 3, \"onsite_conversion.lead_grouped\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18901, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 6, \"types\": {\"lead\": 3, \"onsite_conversion.lead_grouped\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18902, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 6, \"spend\": 41.9, \"clicks\": 208, \"results\": 516, \"date_start\": \"2026-01-05\", \"conversions\": 6, \"impressions\": 11559, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 13.966667}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18903, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 12, \"types_found\": {\"lead\": 6, \"onsite_conversion.lead_grouped\": 5, \"offsite_conversion.fb_pixel_lead\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18904, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 12, \"types\": {\"lead\": 6, \"onsite_conversion.lead_grouped\": 5, \"offsite_conversion.fb_pixel_lead\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18905, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 12, \"spend\": 204.53, \"clicks\": 103, \"results\": 414, \"date_start\": \"2026-01-05\", \"conversions\": 12, \"impressions\": 6040, \"campaign_name\": \"[Jan/26][Formulário] Ofertas do mês\", \"cost_per_conversion\": 40.906}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18906, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 14, \"types_found\": {\"lead\": 7, \"onsite_conversion.lead_grouped\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18907, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 14, \"types\": {\"lead\": 7, \"onsite_conversion.lead_grouped\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18908, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 14, \"spend\": 45.98, \"clicks\": 56, \"results\": 1126, \"date_start\": \"2026-01-06\", \"conversions\": 14, \"impressions\": 6424, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 6.568571}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18909, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18910, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 2, \"types\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18911, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 45.3, \"clicks\": 184, \"results\": 442, \"date_start\": \"2026-01-06\", \"conversions\": 2, \"impressions\": 10946, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 45.3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18912, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"lead\": 4, \"onsite_conversion.lead_grouped\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18913, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 8, \"types\": {\"lead\": 4, \"onsite_conversion.lead_grouped\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18914, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 243.67, \"clicks\": 118, \"results\": 572, \"date_start\": \"2026-01-06\", \"conversions\": 8, \"impressions\": 6087, \"campaign_name\": \"[Jan/26][Formulário] Ofertas do mês\", \"cost_per_conversion\": 60.9175}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18915, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 22, \"types_found\": {\"lead\": 11, \"onsite_conversion.lead_grouped\": 10, \"offsite_conversion.fb_pixel_lead\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18916, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 22, \"types\": {\"lead\": 11, \"onsite_conversion.lead_grouped\": 10, \"offsite_conversion.fb_pixel_lead\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18917, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 22, \"spend\": 149.32, \"clicks\": 122, \"results\": 3270, \"date_start\": \"2026-01-07\", \"conversions\": 22, \"impressions\": 17727, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 14.932}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18918, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 28, \"types_found\": {\"lead\": 14, \"onsite_conversion.lead_grouped\": 14}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18919, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 28, \"types\": {\"lead\": 14, \"onsite_conversion.lead_grouped\": 14}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18920, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 28, \"spend\": 154.16, \"clicks\": 542, \"results\": 1291, \"date_start\": \"2026-01-07\", \"conversions\": 28, \"impressions\": 32762, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 11.011429}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18921, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 5, \"types_found\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18922, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 4, \"types\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18923, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 5, \"spend\": 212.98, \"clicks\": 120, \"results\": 636, \"date_start\": \"2026-01-07\", \"conversions\": 4, \"impressions\": 6220, \"campaign_name\": \"[Jan/26][Formulário] Ofertas do mês\", \"cost_per_conversion\": 106.49}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18924, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 32, \"types_found\": {\"lead\": 16, \"onsite_conversion.lead_grouped\": 16}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18925, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 32, \"types\": {\"lead\": 16, \"onsite_conversion.lead_grouped\": 16}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18926, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 32, \"spend\": 256.69, \"clicks\": 190, \"results\": 5340, \"date_start\": \"2026-01-08\", \"conversions\": 32, \"impressions\": 27015, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 16.043125}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18927, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 64, \"types_found\": {\"lead\": 32, \"onsite_conversion.lead_grouped\": 32}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18928, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 64, \"types\": {\"lead\": 32, \"onsite_conversion.lead_grouped\": 32}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18929, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 64, \"spend\": 262.67, \"clicks\": 824, \"results\": 1967, \"date_start\": \"2026-01-08\", \"conversions\": 64, \"impressions\": 46314, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 8.208438}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18930, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 12, \"types_found\": {\"lead\": 6, \"onsite_conversion.lead_grouped\": 6}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18931, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 12, \"types\": {\"lead\": 6, \"onsite_conversion.lead_grouped\": 6}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18932, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 12, \"spend\": 230.76, \"clicks\": 124, \"results\": 740, \"date_start\": \"2026-01-08\", \"conversions\": 12, \"impressions\": 5554, \"campaign_name\": \"[Jan/26][Formulário] Ofertas do mês\", \"cost_per_conversion\": 38.46}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18933, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 36, \"types_found\": {\"lead\": 17, \"onsite_conversion.lead_grouped\": 17, \"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18934, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 34, \"types\": {\"lead\": 17, \"onsite_conversion.lead_grouped\": 17}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(18935, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 36, \"spend\": 257.05, \"clicks\": 169, \"results\": 4750, \"date_start\": \"2026-01-09\", \"conversions\": 34, \"impressions\": 25113, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 15.120588}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:20'),
(18936, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 52, \"types_found\": {\"lead\": 26, \"onsite_conversion.lead_grouped\": 26}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:20'),
(18937, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 52, \"types\": {\"lead\": 26, \"onsite_conversion.lead_grouped\": 26}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:20'),
(18938, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 52, \"spend\": 256.71, \"clicks\": 906, \"results\": 2223, \"date_start\": \"2026-01-09\", \"conversions\": 52, \"impressions\": 46606, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 9.873462}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:20'),
(18939, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 6, \"types_found\": {\"lead\": 3, \"onsite_conversion.lead_grouped\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:20'),
(18940, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 6, \"types\": {\"lead\": 3, \"onsite_conversion.lead_grouped\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:20'),
(18941, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 6, \"spend\": 221.06, \"clicks\": 120, \"results\": 826, \"date_start\": \"2026-01-09\", \"conversions\": 6, \"impressions\": 5787, \"campaign_name\": \"[Jan/26][Formulário] Ofertas do mês\", \"cost_per_conversion\": 73.686667}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:20'),
(18942, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 40, \"types_found\": {\"lead\": 20, \"onsite_conversion.lead_grouped\": 20}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:20'),
(18943, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 40, \"types\": {\"lead\": 20, \"onsite_conversion.lead_grouped\": 20}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:20'),
(18944, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 40, \"spend\": 252.95, \"clicks\": 177, \"results\": 4925, \"date_start\": \"2026-01-10\", \"conversions\": 40, \"impressions\": 24415, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 12.6475}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18945, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 62, \"types_found\": {\"lead\": 31, \"onsite_conversion.lead_grouped\": 31}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18946, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 62, \"types\": {\"lead\": 31, \"onsite_conversion.lead_grouped\": 31}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18947, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 62, \"spend\": 245.28, \"clicks\": 1027, \"results\": 2502, \"date_start\": \"2026-01-10\", \"conversions\": 62, \"impressions\": 51061, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 7.912258}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18948, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 6, \"types_found\": {\"lead\": 3, \"onsite_conversion.lead_grouped\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18949, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 6, \"types\": {\"lead\": 3, \"onsite_conversion.lead_grouped\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18950, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 6, \"spend\": 168.56, \"clicks\": 100, \"results\": 635, \"date_start\": \"2026-01-10\", \"conversions\": 6, \"impressions\": 4734, \"campaign_name\": \"[Jan/26][Formulário] Ofertas do mês\", \"cost_per_conversion\": 56.186667}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18951, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 44, \"types_found\": {\"lead\": 22, \"onsite_conversion.lead_grouped\": 22}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18952, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 44, \"types\": {\"lead\": 22, \"onsite_conversion.lead_grouped\": 22}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18953, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 44, \"spend\": 292.59, \"clicks\": 255, \"results\": 6578, \"date_start\": \"2026-01-11\", \"conversions\": 44, \"impressions\": 30632, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 13.299545}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18954, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 56, \"types_found\": {\"lead\": 28, \"onsite_conversion.lead_grouped\": 28}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18955, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 56, \"types\": {\"lead\": 28, \"onsite_conversion.lead_grouped\": 28}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18956, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 56, \"spend\": 300.65, \"clicks\": 1276, \"results\": 3203, \"date_start\": \"2026-01-11\", \"conversions\": 56, \"impressions\": 66230, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 10.7375}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21');
INSERT INTO `logs` (`id`, `user_id`, `level`, `action`, `message`, `context_json`, `ip`, `user_agent`, `created_at`) VALUES
(18957, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18958, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 2, \"types\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18959, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 257.12, \"clicks\": 128, \"results\": 1027, \"date_start\": \"2026-01-11\", \"conversions\": 2, \"impressions\": 7018, \"campaign_name\": \"[Jan/26][Formulário] Ofertas do mês\", \"cost_per_conversion\": 257.12}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18960, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 30, \"types_found\": {\"lead\": 15, \"onsite_conversion.lead_grouped\": 15}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18961, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 30, \"types\": {\"lead\": 15, \"onsite_conversion.lead_grouped\": 15}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18962, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 30, \"spend\": 267.1, \"clicks\": 164, \"results\": 5079, \"date_start\": \"2026-01-12\", \"conversions\": 30, \"impressions\": 27864, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 17.806667}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18963, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 52, \"types_found\": {\"lead\": 25, \"onsite_conversion.lead_grouped\": 25, \"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18964, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 50, \"types\": {\"lead\": 25, \"onsite_conversion.lead_grouped\": 25}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18965, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 52, \"spend\": 270.29, \"clicks\": 1091, \"results\": 2559, \"date_start\": \"2026-01-12\", \"conversions\": 50, \"impressions\": 57283, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 10.8116}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18966, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 238.97, \"clicks\": 111, \"results\": 886, \"date_start\": \"2026-01-12\", \"conversions\": 0, \"impressions\": 5832, \"campaign_name\": \"[Jan/26][Formulário] Ofertas do mês\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18967, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 50, \"types_found\": {\"lead\": 25, \"onsite_conversion.lead_grouped\": 25}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18968, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 50, \"types\": {\"lead\": 25, \"onsite_conversion.lead_grouped\": 25}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18969, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 50, \"spend\": 261.59, \"clicks\": 169, \"results\": 4458, \"date_start\": \"2026-01-13\", \"conversions\": 50, \"impressions\": 22631, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 10.4636}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18970, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 42, \"types_found\": {\"lead\": 21, \"onsite_conversion.lead_grouped\": 21}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18971, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 42, \"types\": {\"lead\": 21, \"onsite_conversion.lead_grouped\": 21}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18972, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 42, \"spend\": 267.33, \"clicks\": 981, \"results\": 2413, \"date_start\": \"2026-01-13\", \"conversions\": 42, \"impressions\": 53411, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 12.73}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18973, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18974, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 4, \"types\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18975, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 230.71, \"clicks\": 100, \"results\": 873, \"date_start\": \"2026-01-13\", \"conversions\": 4, \"impressions\": 4738, \"campaign_name\": \"[Jan/26][Formulário] Ofertas do mês\", \"cost_per_conversion\": 115.355}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18976, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 42, \"types_found\": {\"lead\": 21, \"onsite_conversion.lead_grouped\": 21}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18977, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 42, \"types\": {\"lead\": 21, \"onsite_conversion.lead_grouped\": 21}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18978, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 42, \"spend\": 270.42, \"clicks\": 185, \"results\": 4749, \"date_start\": \"2026-01-14\", \"conversions\": 42, \"impressions\": 24615, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 12.877143}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18979, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 46, \"types_found\": {\"lead\": 23, \"onsite_conversion.lead_grouped\": 23}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18980, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 46, \"types\": {\"lead\": 23, \"onsite_conversion.lead_grouped\": 23}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18981, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 46, \"spend\": 269.01, \"clicks\": 971, \"results\": 2394, \"date_start\": \"2026-01-14\", \"conversions\": 46, \"impressions\": 49560, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 11.696087}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18982, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18983, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 4, \"types\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18984, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 209.74, \"clicks\": 131, \"results\": 1067, \"date_start\": \"2026-01-14\", \"conversions\": 4, \"impressions\": 4937, \"campaign_name\": \"[Jan/26][Formulário] Ofertas do mês\", \"cost_per_conversion\": 104.87}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18985, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 34, \"types_found\": {\"lead\": 17, \"onsite_conversion.lead_grouped\": 17}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18986, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 34, \"types\": {\"lead\": 17, \"onsite_conversion.lead_grouped\": 17}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18987, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 34, \"spend\": 255.89, \"clicks\": 169, \"results\": 4292, \"date_start\": \"2026-01-15\", \"conversions\": 34, \"impressions\": 22584, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 15.052353}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18988, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 36, \"types_found\": {\"lead\": 18, \"onsite_conversion.lead_grouped\": 18}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18989, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 36, \"types\": {\"lead\": 18, \"onsite_conversion.lead_grouped\": 18}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18990, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 36, \"spend\": 215.18, \"clicks\": 704, \"results\": 1725, \"date_start\": \"2026-01-15\", \"conversions\": 36, \"impressions\": 33555, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 11.954444}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18991, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 6, \"types_found\": {\"lead\": 3, \"onsite_conversion.lead_grouped\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18992, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 6, \"types\": {\"lead\": 3, \"onsite_conversion.lead_grouped\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18993, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 6, \"spend\": 99.4, \"clicks\": 54, \"results\": 420, \"date_start\": \"2026-01-15\", \"conversions\": 6, \"impressions\": 1958, \"campaign_name\": \"[Jan/26][Formulário] Ofertas do mês\", \"cost_per_conversion\": 33.133333}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18994, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 50, \"types_found\": {\"lead\": 24, \"onsite_conversion.lead_grouped\": 24, \"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18995, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 48, \"types\": {\"lead\": 24, \"onsite_conversion.lead_grouped\": 24}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18996, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 50, \"spend\": 235.02, \"clicks\": 155, \"results\": 4018, \"date_start\": \"2026-01-16\", \"conversions\": 48, \"impressions\": 21235, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 9.7925}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18997, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 38, \"types_found\": {\"lead\": 19, \"onsite_conversion.lead_grouped\": 19}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18998, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 38, \"types\": {\"lead\": 19, \"onsite_conversion.lead_grouped\": 19}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(18999, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 38, \"spend\": 278.98, \"clicks\": 817, \"results\": 2090, \"date_start\": \"2026-01-16\", \"conversions\": 38, \"impressions\": 40796, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 14.683158}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19000, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 1.58, \"clicks\": 2, \"results\": 8, \"date_start\": \"2026-01-16\", \"conversions\": 0, \"impressions\": 1310, \"campaign_name\": \"[Alcance] Lexus Day\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19001, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19002, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 2, \"types\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19003, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 50.11, \"clicks\": 50, \"results\": 99, \"date_start\": \"2026-01-16\", \"conversions\": 2, \"impressions\": 2838, \"campaign_name\": \"[Formulário] Lexus Day\", \"cost_per_conversion\": 50.11}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19004, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 44, \"types_found\": {\"lead\": 22, \"onsite_conversion.lead_grouped\": 22}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19005, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 44, \"types\": {\"lead\": 22, \"onsite_conversion.lead_grouped\": 22}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19006, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 44, \"spend\": 234.14, \"clicks\": 154, \"results\": 4239, \"date_start\": \"2026-01-17\", \"conversions\": 44, \"impressions\": 21404, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 10.642727}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19007, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 34, \"types_found\": {\"lead\": 17, \"onsite_conversion.lead_grouped\": 17}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19008, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 34, \"types\": {\"lead\": 17, \"onsite_conversion.lead_grouped\": 17}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19009, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 34, \"spend\": 280.24, \"clicks\": 901, \"results\": 2213, \"date_start\": \"2026-01-17\", \"conversions\": 34, \"impressions\": 48021, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 16.484706}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19010, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 41.47, \"clicks\": 60, \"results\": 132, \"date_start\": \"2026-01-17\", \"conversions\": 0, \"impressions\": 3230, \"campaign_name\": \"[Formulário] Lexus Day\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19011, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 52, \"types_found\": {\"lead\": 26, \"onsite_conversion.lead_grouped\": 25, \"offsite_conversion.fb_pixel_lead\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19012, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 52, \"types\": {\"lead\": 26, \"onsite_conversion.lead_grouped\": 25, \"offsite_conversion.fb_pixel_lead\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19013, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 52, \"spend\": 283.82, \"clicks\": 201, \"results\": 5379, \"date_start\": \"2026-01-18\", \"conversions\": 52, \"impressions\": 27469, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 11.3528}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19014, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 38, \"types_found\": {\"lead\": 19, \"onsite_conversion.lead_grouped\": 19}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19015, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 38, \"types\": {\"lead\": 19, \"onsite_conversion.lead_grouped\": 19}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19016, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 38, \"spend\": 305.43, \"clicks\": 871, \"results\": 2337, \"date_start\": \"2026-01-18\", \"conversions\": 38, \"impressions\": 51594, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 16.075263}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19017, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 63.5, \"clicks\": 68, \"results\": 141, \"date_start\": \"2026-01-18\", \"conversions\": 0, \"impressions\": 4029, \"campaign_name\": \"[Formulário] Lexus Day\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19018, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 32, \"types_found\": {\"lead\": 16, \"onsite_conversion.lead_grouped\": 16}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19019, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 32, \"types\": {\"lead\": 16, \"onsite_conversion.lead_grouped\": 16}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19020, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 32, \"spend\": 258.41, \"clicks\": 159, \"results\": 4641, \"date_start\": \"2026-01-19\", \"conversions\": 32, \"impressions\": 25161, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 16.150625}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19021, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 22, \"types_found\": {\"lead\": 11, \"onsite_conversion.lead_grouped\": 11}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19022, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 22, \"types\": {\"lead\": 11, \"onsite_conversion.lead_grouped\": 11}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19023, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 22, \"spend\": 268.86, \"clicks\": 656, \"results\": 1778, \"date_start\": \"2026-01-19\", \"conversions\": 22, \"impressions\": 41450, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 24.441818}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19024, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 63.59, \"clicks\": 57, \"results\": 108, \"date_start\": \"2026-01-19\", \"conversions\": 0, \"impressions\": 3208, \"campaign_name\": \"[Formulário] Lexus Day\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19025, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 54, \"types_found\": {\"lead\": 27, \"onsite_conversion.lead_grouped\": 27}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19026, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 54, \"types\": {\"lead\": 27, \"onsite_conversion.lead_grouped\": 27}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19027, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 54, \"spend\": 253.55, \"clicks\": 173, \"results\": 4046, \"date_start\": \"2026-01-20\", \"conversions\": 54, \"impressions\": 21964, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 9.390741}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19028, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 24, \"types_found\": {\"lead\": 12, \"onsite_conversion.lead_grouped\": 12}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19029, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 24, \"types\": {\"lead\": 12, \"onsite_conversion.lead_grouped\": 12}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19030, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 24, \"spend\": 267.49, \"clicks\": 665, \"results\": 1813, \"date_start\": \"2026-01-20\", \"conversions\": 24, \"impressions\": 35126, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 22.290833}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19031, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 3, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19032, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 3, \"spend\": 64.69, \"clicks\": 34, \"results\": 78, \"date_start\": \"2026-01-20\", \"conversions\": 0, \"impressions\": 2577, \"campaign_name\": \"[Formulário] Lexus Day\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19033, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 50, \"types_found\": {\"lead\": 25, \"onsite_conversion.lead_grouped\": 25}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19034, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 50, \"types\": {\"lead\": 25, \"onsite_conversion.lead_grouped\": 25}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19035, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 50, \"spend\": 263.2, \"clicks\": 170, \"results\": 3992, \"date_start\": \"2026-01-21\", \"conversions\": 50, \"impressions\": 21751, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 10.528}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19036, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 30, \"types_found\": {\"lead\": 15, \"onsite_conversion.lead_grouped\": 15}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19037, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 30, \"types\": {\"lead\": 15, \"onsite_conversion.lead_grouped\": 15}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19038, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 30, \"spend\": 263.58, \"clicks\": 656, \"results\": 1697, \"date_start\": \"2026-01-21\", \"conversions\": 30, \"impressions\": 33321, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 17.572}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19039, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 62.7, \"clicks\": 51, \"results\": 85, \"date_start\": \"2026-01-21\", \"conversions\": 0, \"impressions\": 2301, \"campaign_name\": \"[Formulário] Lexus Day\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19040, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"lead\": 4, \"onsite_conversion.lead_grouped\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19041, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 8, \"types\": {\"lead\": 4, \"onsite_conversion.lead_grouped\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19042, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 54, \"clicks\": 32, \"results\": 842, \"date_start\": \"2026-01-22\", \"conversions\": 8, \"impressions\": 4555, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 13.5}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19043, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"lead\": 4, \"onsite_conversion.lead_grouped\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19044, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 8, \"types\": {\"lead\": 4, \"onsite_conversion.lead_grouped\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19045, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 87.31, \"clicks\": 199, \"results\": 568, \"date_start\": \"2026-01-22\", \"conversions\": 8, \"impressions\": 12110, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 21.8275}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19046, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 15.21, \"clicks\": 10, \"results\": 27, \"date_start\": \"2026-01-22\", \"conversions\": 0, \"impressions\": 281, \"campaign_name\": \"[Formulário] Lexus Day\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19047, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 14, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 7, \"onsite_conversion.messaging_conversation_started_7d\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19048, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 14, \"spend\": 102.28, \"clicks\": 104, \"results\": 197, \"date_start\": \"2026-01-22\", \"conversions\": 0, \"impressions\": 5267, \"campaign_name\": \"[Mensagens][WhatsApp] Lexus Day\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19049, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 4, \"onsite_conversion.messaging_conversation_started_7d\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19050, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 136.8, \"clicks\": 72, \"results\": 2808, \"date_start\": \"2026-01-22\", \"conversions\": 0, \"impressions\": 3388, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19051, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1, \"onsite_conversion.messaging_first_reply\": 3, \"onsite_conversion.messaging_conversation_started_7d\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19052, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 2, \"types\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19053, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 61.87, \"clicks\": 100, \"results\": 993, \"date_start\": \"2026-01-22\", \"conversions\": 2, \"impressions\": 3041, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 61.87}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19054, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 16, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 8, \"onsite_conversion.messaging_conversation_started_7d\": 8}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19055, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 16, \"spend\": 223.64, \"clicks\": 183, \"results\": 349, \"date_start\": \"2026-01-23\", \"conversions\": 0, \"impressions\": 8575, \"campaign_name\": \"[Mensagens][WhatsApp] Lexus Day\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19056, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 20, \"types_found\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1, \"onsite_conversion.messaging_first_reply\": 9, \"onsite_conversion.messaging_conversation_started_7d\": 9}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19057, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 2, \"types\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19058, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 20, \"spend\": 207.08, \"clicks\": 90, \"results\": 3191, \"date_start\": \"2026-01-23\", \"conversions\": 2, \"impressions\": 4099, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 207.08}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19059, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 12, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 6, \"onsite_conversion.messaging_conversation_started_7d\": 6}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19060, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 12, \"spend\": 108.03, \"clicks\": 122, \"results\": 1323, \"date_start\": \"2026-01-23\", \"conversions\": 0, \"impressions\": 3598, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19061, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 26.37, \"clicks\": 17, \"results\": 1383, \"date_start\": \"2026-01-23\", \"conversions\": 0, \"impressions\": 21225, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19062, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 14, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 7, \"onsite_conversion.messaging_conversation_started_7d\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19063, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 14, \"spend\": 117.13, \"clicks\": 79, \"results\": 202, \"date_start\": \"2026-01-24\", \"conversions\": 0, \"impressions\": 3397, \"campaign_name\": \"[Mensagens][WhatsApp] Lexus Day\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19064, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 16, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 8, \"onsite_conversion.messaging_conversation_started_7d\": 8}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19065, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 16, \"spend\": 187.46, \"clicks\": 106, \"results\": 3273, \"date_start\": \"2026-01-24\", \"conversions\": 0, \"impressions\": 4497, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19066, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 22, \"types_found\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2, \"onsite_conversion.messaging_first_reply\": 9, \"onsite_conversion.messaging_conversation_started_7d\": 9}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19067, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 4, \"types\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19068, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 22, \"spend\": 97.87, \"clicks\": 114, \"results\": 850, \"date_start\": \"2026-01-24\", \"conversions\": 4, \"impressions\": 3538, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 48.935}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19069, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19070, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 30.1, \"clicks\": 29, \"results\": 1604, \"date_start\": \"2026-01-24\", \"conversions\": 0, \"impressions\": 24830, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19071, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19072, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 0, \"clicks\": 0, \"results\": 0, \"date_start\": \"2026-01-25\", \"conversions\": 0, \"impressions\": 0, \"campaign_name\": \"[Mensagens][WhatsApp] Lexus Day\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19073, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 30, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 15, \"onsite_conversion.messaging_conversation_started_7d\": 15}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19074, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 30, \"spend\": 257.12, \"clicks\": 142, \"results\": 4523, \"date_start\": \"2026-01-25\", \"conversions\": 0, \"impressions\": 6645, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19075, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 22, \"types_found\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1, \"onsite_conversion.messaging_first_reply\": 10, \"onsite_conversion.messaging_conversation_started_7d\": 10}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19076, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 2, \"types\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19077, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 22, \"spend\": 136.21, \"clicks\": 158, \"results\": 1112, \"date_start\": \"2026-01-25\", \"conversions\": 2, \"impressions\": 6199, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 136.21}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19078, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 37.4, \"clicks\": 31, \"results\": 1781, \"date_start\": \"2026-01-25\", \"conversions\": 0, \"impressions\": 32748, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19079, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 4, \"onsite_conversion.messaging_conversation_started_7d\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21');
INSERT INTO `logs` (`id`, `user_id`, `level`, `action`, `message`, `context_json`, `ip`, `user_agent`, `created_at`) VALUES
(19080, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 219.73, \"clicks\": 112, \"results\": 3554, \"date_start\": \"2026-01-26\", \"conversions\": 0, \"impressions\": 5482, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19081, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 14, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 7, \"onsite_conversion.messaging_conversation_started_7d\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19082, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 14, \"spend\": 118.44, \"clicks\": 142, \"results\": 510, \"date_start\": \"2026-01-26\", \"conversions\": 0, \"impressions\": 6593, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19083, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19084, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 32.4, \"clicks\": 24, \"results\": 1589, \"date_start\": \"2026-01-26\", \"conversions\": 0, \"impressions\": 25498, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19085, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 16, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 8, \"onsite_conversion.messaging_conversation_started_7d\": 8}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19086, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 16, \"spend\": 190.18, \"clicks\": 68, \"results\": 2092, \"date_start\": \"2026-01-27\", \"conversions\": 0, \"impressions\": 3335, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19087, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 4, \"onsite_conversion.messaging_conversation_started_7d\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19088, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 90.63, \"clicks\": 99, \"results\": 338, \"date_start\": \"2026-01-27\", \"conversions\": 0, \"impressions\": 3638, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19089, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 32.49, \"clicks\": 16, \"results\": 1674, \"date_start\": \"2026-01-27\", \"conversions\": 0, \"impressions\": 22950, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19090, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 18, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 9, \"onsite_conversion.messaging_conversation_started_7d\": 9}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19091, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 18, \"spend\": 187.8, \"clicks\": 95, \"results\": 2661, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 4158, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19092, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 12, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 6, \"onsite_conversion.messaging_conversation_started_7d\": 6}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19093, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 12, \"spend\": 86.76, \"clicks\": 76, \"results\": 293, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 3129, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19094, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 32.27, \"clicks\": 20, \"results\": 1474, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 22376, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19095, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 10, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 5, \"onsite_conversion.messaging_conversation_started_7d\": 5}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19096, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 10, \"spend\": 176.58, \"clicks\": 48, \"results\": 1976, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 3081, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19097, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19098, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 61.31, \"clicks\": 42, \"results\": 246, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 1831, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19099, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 32.14, \"clicks\": 29, \"results\": 1634, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 21351, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19100, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19101, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 185.33, \"clicks\": 41, \"results\": 1967, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 3113, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19102, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19103, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 107.97, \"clicks\": 30, \"results\": 342, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 2190, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19104, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 43.46, \"clicks\": 26, \"results\": 1958, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 27398, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19105, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 17.45, \"clicks\": 10, \"results\": 32, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 820, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19106, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19107, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 15.64, \"clicks\": 10, \"results\": 32, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 904, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19108, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19109, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 176.39, \"clicks\": 36, \"results\": 1855, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 2939, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19110, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 6, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 3, \"onsite_conversion.messaging_conversation_started_7d\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19111, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 6, \"spend\": 97.22, \"clicks\": 41, \"results\": 263, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 2201, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19112, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19113, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 23.18, \"clicks\": 22, \"results\": 972, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 14916, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19114, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 3, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19115, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 3, \"spend\": 36.64, \"clicks\": 22, \"results\": 56, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 1268, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19116, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 33.4, \"clicks\": 20, \"results\": 52, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 1749, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19117, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19118, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 4, \"types\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19119, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 142.56, \"clicks\": 77, \"results\": 2351, \"date_start\": \"2026-02-01\", \"conversions\": 4, \"impressions\": 13031, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 71.28}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19120, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 129.11, \"clicks\": 90, \"results\": 605, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 8816, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19121, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 14, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 7, \"onsite_conversion.messaging_conversation_started_7d\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19122, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 14, \"spend\": 244.47, \"clicks\": 63, \"results\": 2574, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 3630, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19123, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 4, \"onsite_conversion.messaging_conversation_started_7d\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19124, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 177.09, \"clicks\": 75, \"results\": 417, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 3830, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19125, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19126, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 2, \"types\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19127, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 28.6, \"clicks\": 19, \"results\": 344, \"date_start\": \"2026-02-01\", \"conversions\": 2, \"impressions\": 1163, \"campaign_name\": \"[Leads][Formulário] AON\", \"cost_per_conversion\": 28.6}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19128, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19129, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 50.66, \"clicks\": 38, \"results\": 110, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 4017, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19130, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 44.54, \"clicks\": 32, \"results\": 104, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 3604, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19131, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 14, \"types_found\": {\"lead\": 7, \"onsite_conversion.lead_grouped\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19132, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 14, \"types\": {\"lead\": 7, \"onsite_conversion.lead_grouped\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19133, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 14, \"spend\": 106.45, \"clicks\": 76, \"results\": 1752, \"date_start\": \"2026-02-02\", \"conversions\": 14, \"impressions\": 11251, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 15.207143}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19134, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 108.68, \"clicks\": 50, \"results\": 446, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 4520, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19135, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 16, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 8, \"onsite_conversion.messaging_conversation_started_7d\": 8}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19136, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 16, \"spend\": 205.12, \"clicks\": 57, \"results\": 2253, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 3487, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19137, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 4, \"onsite_conversion.messaging_conversation_started_7d\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19138, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 151.94, \"clicks\": 80, \"results\": 422, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 3801, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19139, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 17.08, \"clicks\": 11, \"results\": 219, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 1448, \"campaign_name\": \"[Leads][Formulário] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19140, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 6, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 3, \"onsite_conversion.messaging_conversation_started_7d\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19141, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 6, \"spend\": 43.64, \"clicks\": 50, \"results\": 150, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 4035, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19142, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 3, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19143, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 3, \"spend\": 41.54, \"clicks\": 30, \"results\": 83, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 3077, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19144, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19145, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 29.37, \"clicks\": 13, \"results\": 247, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 1000, \"campaign_name\": \"[Mensagens][WhatsApp] Oferta mes\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19146, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 22, \"types_found\": {\"lead\": 11, \"onsite_conversion.lead_grouped\": 10, \"offsite_conversion.fb_pixel_lead\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19147, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 22, \"types\": {\"lead\": 11, \"onsite_conversion.lead_grouped\": 10, \"offsite_conversion.fb_pixel_lead\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19148, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 22, \"spend\": 121.9, \"clicks\": 84, \"results\": 1742, \"date_start\": \"2026-02-03\", \"conversions\": 22, \"impressions\": 12309, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 12.19}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19149, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19150, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 4, \"types\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19151, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 116.18, \"clicks\": 41, \"results\": 352, \"date_start\": \"2026-02-03\", \"conversions\": 4, \"impressions\": 5308, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 58.09}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19152, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 12, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 5, \"onsite_conversion.messaging_conversation_started_7d\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19153, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 12, \"spend\": 171.14, \"clicks\": 48, \"results\": 1830, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 3231, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19154, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 15, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 7, \"onsite_conversion.messaging_conversation_started_7d\": 8}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19155, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 15, \"spend\": 136.72, \"clicks\": 76, \"results\": 342, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 2865, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19156, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 18.21, \"clicks\": 9, \"results\": 204, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 1624, \"campaign_name\": \"[Leads][Formulário] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19157, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 49.09, \"clicks\": 41, \"results\": 127, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 3594, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19158, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19159, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 45.35, \"clicks\": 22, \"results\": 64, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 2642, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19160, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19161, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 86.55, \"clicks\": 46, \"results\": 701, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 3945, \"campaign_name\": \"[Mensagens][WhatsApp] Oferta mes\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19162, 1, 'info', 'client_meta.insights_fetched', 'Fetched insights for client', '{\"count\": 115, \"level\": \"campaign\", \"cache_ttl\": 1800, \"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:21'),
(19163, 1, 'info', 'client_meta.campaigns_fetched', 'Campaigns fetched successfully', '{\"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\", \"total_campaigns\": 28, \"status_distribution\": {\"ACTIVE\": 8, \"PAUSED\": 18, \"ARCHIVED\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(19164, 1, 'info', 'client.campaigns_status_enriched', 'Enriching insights with campaign status', '{\"ad_account_id\": \"act_1313797233782082\", \"insights_count\": 115, \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:22'),
(19165, 1, 'debug', 'client_meta.cache_hit', 'Campaigns served from cache', '{\"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\", \"campaigns_count\": 28}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:49'),
(19166, 1, 'debug', 'meta_api.raw_response', 'Resposta bruta da Meta API', '{\"context\": \"client_insights\", \"metadata\": {\"level\": \"campaign\", \"client_id\": 3}, \"safe_data\": {\"data_count\": 39, \"has_paging\": true, \"sample_fields\": [\"date_start\", \"date_stop\", \"campaign_id\", \"campaign_name\", \"impressions\", \"clicks\", \"spend\", \"ctr\", \"cpc\", \"cpm\", \"reach\", \"frequency\", \"actions\", \"cost_per_action_type\"], \"action_types_found\": [\"onsite_conversion.total_messaging_connection\", \"link_click\", \"page_engagement\", \"post_engagement\", \"post_interaction_gross\", \"onsite_conversion.messaging_user_depth_2_message_send\", \"onsite_conversion.messaging_user_depth_3_message_send\", \"post\", \"onsite_conversion.post_save\", \"onsite_conversion.post_net_like\", \"onsite_conversion.post_net_save\", \"onsite_conversion.messaging_first_reply\", \"onsite_conversion.messaging_conversation_started_7d\", \"video_view\", \"post_reaction\"]}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19167, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 18, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 9, \"onsite_conversion.messaging_conversation_started_7d\": 9}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19168, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 18, \"spend\": 187.8, \"clicks\": 95, \"results\": 2661, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 4158, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19169, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 12, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 6, \"onsite_conversion.messaging_conversation_started_7d\": 6}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19170, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 12, \"spend\": 86.76, \"clicks\": 76, \"results\": 293, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 3129, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19171, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 32.27, \"clicks\": 20, \"results\": 1474, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 22376, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19172, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 10, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 5, \"onsite_conversion.messaging_conversation_started_7d\": 5}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19173, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 10, \"spend\": 176.58, \"clicks\": 48, \"results\": 1976, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 3081, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19174, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19175, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 61.31, \"clicks\": 42, \"results\": 246, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 1831, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19176, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 32.14, \"clicks\": 29, \"results\": 1634, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 21351, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19177, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19178, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 185.33, \"clicks\": 41, \"results\": 1967, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 3113, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19179, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19180, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 107.97, \"clicks\": 30, \"results\": 342, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 2190, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19181, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 43.46, \"clicks\": 26, \"results\": 1958, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 27398, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19182, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 17.45, \"clicks\": 10, \"results\": 32, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 820, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19183, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19184, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 15.64, \"clicks\": 10, \"results\": 32, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 904, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19185, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19186, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 176.39, \"clicks\": 36, \"results\": 1855, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 2939, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19187, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 6, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 3, \"onsite_conversion.messaging_conversation_started_7d\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19188, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 6, \"spend\": 97.22, \"clicks\": 41, \"results\": 263, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 2201, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19189, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19190, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 23.18, \"clicks\": 22, \"results\": 972, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 14916, \"campaign_name\": \"[Alcance][WhatsApp] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19191, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 3, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50');
INSERT INTO `logs` (`id`, `user_id`, `level`, `action`, `message`, `context_json`, `ip`, `user_agent`, `created_at`) VALUES
(19192, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 3, \"spend\": 36.64, \"clicks\": 22, \"results\": 56, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 1268, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19193, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 33.4, \"clicks\": 20, \"results\": 52, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 1749, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19194, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19195, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 4, \"types\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19196, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 142.56, \"clicks\": 77, \"results\": 2351, \"date_start\": \"2026-02-01\", \"conversions\": 4, \"impressions\": 13031, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 71.28}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19197, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 129.11, \"clicks\": 90, \"results\": 605, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 8816, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19198, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 14, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 7, \"onsite_conversion.messaging_conversation_started_7d\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19199, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 14, \"spend\": 244.47, \"clicks\": 63, \"results\": 2574, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 3630, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19200, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 4, \"onsite_conversion.messaging_conversation_started_7d\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19201, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 177.09, \"clicks\": 75, \"results\": 417, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 3830, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19202, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19203, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 2, \"types\": {\"lead\": 1, \"onsite_conversion.lead_grouped\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19204, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 28.6, \"clicks\": 19, \"results\": 344, \"date_start\": \"2026-02-01\", \"conversions\": 2, \"impressions\": 1163, \"campaign_name\": \"[Leads][Formulário] AON\", \"cost_per_conversion\": 28.6}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19205, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19206, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 50.66, \"clicks\": 38, \"results\": 110, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 4017, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19207, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 44.54, \"clicks\": 32, \"results\": 104, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 3604, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19208, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 14, \"types_found\": {\"lead\": 7, \"onsite_conversion.lead_grouped\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19209, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 14, \"types\": {\"lead\": 7, \"onsite_conversion.lead_grouped\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19210, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 14, \"spend\": 106.45, \"clicks\": 76, \"results\": 1752, \"date_start\": \"2026-02-02\", \"conversions\": 14, \"impressions\": 11251, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 15.207143}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19211, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 108.68, \"clicks\": 50, \"results\": 446, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 4520, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19212, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 16, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 8, \"onsite_conversion.messaging_conversation_started_7d\": 8}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19213, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 16, \"spend\": 205.12, \"clicks\": 57, \"results\": 2253, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 3487, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19214, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 8, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 4, \"onsite_conversion.messaging_conversation_started_7d\": 4}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19215, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 8, \"spend\": 151.94, \"clicks\": 80, \"results\": 422, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 3801, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19216, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 17.08, \"clicks\": 11, \"results\": 219, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 1448, \"campaign_name\": \"[Leads][Formulário] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19217, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 6, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 3, \"onsite_conversion.messaging_conversation_started_7d\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19218, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 6, \"spend\": 43.64, \"clicks\": 50, \"results\": 150, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 4035, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19219, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 3, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19220, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 3, \"spend\": 41.54, \"clicks\": 30, \"results\": 83, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 3077, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19221, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19222, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 29.37, \"clicks\": 13, \"results\": 247, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 1000, \"campaign_name\": \"[Mensagens][WhatsApp] Oferta mes\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19223, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 22, \"types_found\": {\"lead\": 11, \"onsite_conversion.lead_grouped\": 10, \"offsite_conversion.fb_pixel_lead\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19224, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 22, \"types\": {\"lead\": 11, \"onsite_conversion.lead_grouped\": 10, \"offsite_conversion.fb_pixel_lead\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19225, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 22, \"spend\": 121.9, \"clicks\": 84, \"results\": 1742, \"date_start\": \"2026-02-03\", \"conversions\": 22, \"impressions\": 12309, \"campaign_name\": \"[Leads][Formulário] Vídeos vendedores\", \"cost_per_conversion\": 12.19}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19226, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19227, 1, 'debug', 'meta_insights.conversions_extracted', 'Conversoes extraidas', '{\"total\": 4, \"types\": {\"lead\": 2, \"onsite_conversion.lead_grouped\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19228, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 116.18, \"clicks\": 41, \"results\": 352, \"date_start\": \"2026-02-03\", \"conversions\": 4, \"impressions\": 5308, \"campaign_name\": \"[Leads][Formulário] Chão de fábrica\", \"cost_per_conversion\": 58.09}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19229, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 12, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 5, \"onsite_conversion.messaging_conversation_started_7d\": 7}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19230, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 12, \"spend\": 171.14, \"clicks\": 48, \"results\": 1830, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 3231, \"campaign_name\": \"[Mensagens][WhatsApp] Vídeos Vendedores\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19231, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 15, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 7, \"onsite_conversion.messaging_conversation_started_7d\": 8}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19232, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 15, \"spend\": 136.72, \"clicks\": 76, \"results\": 342, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 2865, \"campaign_name\": \"[Mensagens][WhatsApp] Chão de fábrica\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19233, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 18.21, \"clicks\": 9, \"results\": 204, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 1624, \"campaign_name\": \"[Leads][Formulário] AON\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19234, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 49.09, \"clicks\": 41, \"results\": 127, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 3594, \"campaign_name\": \"[Mensagens][WhatsApp] Venda direta\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19235, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19236, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 45.35, \"clicks\": 22, \"results\": 64, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 2642, \"campaign_name\": \"[Mensagens][WhatsApp] Pós vendas\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19237, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19238, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 86.55, \"clicks\": 46, \"results\": 701, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 3945, \"campaign_name\": \"[Mensagens][WhatsApp] Oferta mes\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19239, 1, 'info', 'client_meta.insights_fetched', 'Fetched insights for client', '{\"count\": 39, \"level\": \"campaign\", \"cache_ttl\": 600, \"client_id\": 3, \"ad_account_id\": \"act_1313797233782082\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:50'),
(19240, 1, 'info', 'client_meta.campaign_ads_fetched', 'Campaign ads fetched successfully', '{\"ads_count\": 100, \"client_id\": 3, \"campaign_id\": \"120235513216180303\", \"ads_with_page_id\": 100}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:51:52'),
(19241, 1, 'debug', 'meta_api.raw_response', 'Resposta bruta da Meta API', '{\"context\": \"client_insights\", \"metadata\": {\"level\": \"campaign\", \"client_id\": 1}, \"safe_data\": {\"data_count\": 41, \"has_paging\": true, \"sample_fields\": [\"date_start\", \"date_stop\", \"campaign_id\", \"campaign_name\", \"impressions\", \"clicks\", \"spend\", \"ctr\", \"cpc\", \"cpm\", \"reach\", \"frequency\", \"actions\", \"cost_per_action_type\"], \"action_types_found\": [\"link_click\", \"page_engagement\", \"landing_page_view\", \"omni_landing_page_view\", \"onsite_conversion.post_unlike\", \"post_engagement\", \"comment\", \"like\", \"post_interaction_gross\", \"onsite_conversion.post_net_like\", \"onsite_conversion.messaging_first_reply\", \"onsite_conversion.messaging_conversation_started_7d\", \"video_view\", \"post_reaction\"]}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19242, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19243, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 66.63, \"clicks\": 190, \"results\": 2909, \"date_start\": \"2026-01-15\", \"conversions\": 0, \"impressions\": 8070, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19244, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 358.99, \"clicks\": 199, \"results\": 12474, \"date_start\": \"2026-01-15\", \"conversions\": 0, \"impressions\": 92632, \"campaign_name\": \"[Alcance][Tráfego] Expansão São Luís\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19245, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19246, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 104.79, \"clicks\": 318, \"results\": 1814, \"date_start\": \"2026-01-16\", \"conversions\": 0, \"impressions\": 13291, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19247, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 346.48, \"clicks\": 584, \"results\": 29830, \"date_start\": \"2026-01-16\", \"conversions\": 0, \"impressions\": 192785, \"campaign_name\": \"[Alcance][Tráfego] Expansão São Luís\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19248, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 6, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 3, \"onsite_conversion.messaging_conversation_started_7d\": 3}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19249, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 6, \"spend\": 87.47, \"clicks\": 231, \"results\": 3322, \"date_start\": \"2026-01-17\", \"conversions\": 0, \"impressions\": 9882, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19250, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 353.22, \"clicks\": 490, \"results\": 32779, \"date_start\": \"2026-01-17\", \"conversions\": 0, \"impressions\": 281546, \"campaign_name\": \"[Alcance][Tráfego] Expansão São Luís\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19251, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19252, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 81.72, \"clicks\": 215, \"results\": 3796, \"date_start\": \"2026-01-18\", \"conversions\": 0, \"impressions\": 9227, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19253, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 231.34, \"clicks\": 177, \"results\": 13779, \"date_start\": \"2026-01-18\", \"conversions\": 0, \"impressions\": 214066, \"campaign_name\": \"[Alcance][Tráfego] Expansão São Luís\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19254, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 41.92, \"clicks\": 103, \"results\": 1737, \"date_start\": \"2026-01-19\", \"conversions\": 0, \"impressions\": 4773, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19255, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 95.39, \"clicks\": 73, \"results\": 6036, \"date_start\": \"2026-01-19\", \"conversions\": 0, \"impressions\": 89845, \"campaign_name\": \"[Alcance][Tráfego] Expansão São Luís\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19256, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 2.12, \"clicks\": 6, \"results\": 22, \"date_start\": \"2026-01-19\", \"conversions\": 0, \"impressions\": 786, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19257, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19258, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 10.78, \"clicks\": 39, \"results\": 249, \"date_start\": \"2026-01-20\", \"conversions\": 0, \"impressions\": 1538, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19259, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 82.91, \"clicks\": 507, \"results\": 4604, \"date_start\": \"2026-01-20\", \"conversions\": 0, \"impressions\": 22635, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19260, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 3, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19261, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 3, \"spend\": 11.12, \"clicks\": 30, \"results\": 134, \"date_start\": \"2026-01-21\", \"conversions\": 0, \"impressions\": 886, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19262, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 82.98, \"clicks\": 460, \"results\": 5232, \"date_start\": \"2026-01-21\", \"conversions\": 0, \"impressions\": 22836, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19263, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 10.14, \"clicks\": 32, \"results\": 204, \"date_start\": \"2026-01-22\", \"conversions\": 0, \"impressions\": 1267, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19264, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 84.9, \"clicks\": 493, \"results\": 4413, \"date_start\": \"2026-01-22\", \"conversions\": 0, \"impressions\": 22017, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19265, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 11.88, \"clicks\": 37, \"results\": 302, \"date_start\": \"2026-01-23\", \"conversions\": 0, \"impressions\": 1311, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19266, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 79.82, \"clicks\": 491, \"results\": 4382, \"date_start\": \"2026-01-23\", \"conversions\": 0, \"impressions\": 21268, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19267, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19268, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 8.95, \"clicks\": 28, \"results\": 175, \"date_start\": \"2026-01-24\", \"conversions\": 0, \"impressions\": 863, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19269, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19270, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 79.77, \"clicks\": 488, \"results\": 4838, \"date_start\": \"2026-01-24\", \"conversions\": 0, \"impressions\": 22673, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19271, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 14.7, \"clicks\": 34, \"results\": 623, \"date_start\": \"2026-01-25\", \"conversions\": 0, \"impressions\": 1053, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19272, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 1, \"types_found\": {\"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19273, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 1, \"spend\": 92.44, \"clicks\": 611, \"results\": 5900, \"date_start\": \"2026-01-25\", \"conversions\": 0, \"impressions\": 27622, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19274, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19275, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 8.27, \"clicks\": 21, \"results\": 287, \"date_start\": \"2026-01-26\", \"conversions\": 0, \"impressions\": 532, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19276, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 82.13, \"clicks\": 508, \"results\": 5103, \"date_start\": \"2026-01-26\", \"conversions\": 0, \"impressions\": 25037, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19277, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 11.34, \"clicks\": 24, \"results\": 453, \"date_start\": \"2026-01-27\", \"conversions\": 0, \"impressions\": 1282, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19278, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 79.76, \"clicks\": 494, \"results\": 4773, \"date_start\": \"2026-01-27\", \"conversions\": 0, \"impressions\": 23569, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19279, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 10.19, \"clicks\": 33, \"results\": 563, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 736, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19280, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 80.21, \"clicks\": 491, \"results\": 4149, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 21073, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19281, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 10.91, \"clicks\": 34, \"results\": 452, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 841, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19282, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 78.53, \"clicks\": 497, \"results\": 3832, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 20896, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19283, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 10.34, \"clicks\": 28, \"results\": 463, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 661, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19284, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 81.5, \"clicks\": 427, \"results\": 4056, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 21663, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19285, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19286, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 10.14, \"clicks\": 38, \"results\": 513, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 1264, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19287, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 79.36, \"clicks\": 443, \"results\": 3800, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 21314, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19288, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19289, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 13.55, \"clicks\": 49, \"results\": 509, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 1856, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19290, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 98.66, \"clicks\": 574, \"results\": 4226, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 29293, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19291, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19292, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 10.15, \"clicks\": 47, \"results\": 280, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 1011, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19293, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19294, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 69.26, \"clicks\": 461, \"results\": 3542, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 21331, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19295, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19296, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 11.16, \"clicks\": 40, \"results\": 143, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 1557, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19297, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19298, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 153.64, \"clicks\": 913, \"results\": 6836, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 46610, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19299, 1, 'info', 'client_meta.insights_fetched', 'Fetched insights for client', '{\"count\": 41, \"level\": \"campaign\", \"cache_ttl\": 1800, \"client_id\": 1, \"ad_account_id\": \"act_1010236473812323\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:43'),
(19300, 1, 'info', 'client_meta.campaigns_fetched', 'Campaigns fetched successfully', '{\"client_id\": 1, \"ad_account_id\": \"act_1010236473812323\", \"total_campaigns\": 18, \"status_distribution\": {\"ACTIVE\": 4, \"PAUSED\": 14}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:44'),
(19301, 1, 'info', 'client.campaigns_status_enriched', 'Enriching insights with campaign status', '{\"ad_account_id\": \"act_1010236473812323\", \"insights_count\": 41, \"campaigns_count\": 18}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:44'),
(19302, 1, 'debug', 'client_meta.cache_hit', 'Campaigns served from cache', '{\"client_id\": 1, \"ad_account_id\": \"act_1010236473812323\", \"campaigns_count\": 18}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:49');
INSERT INTO `logs` (`id`, `user_id`, `level`, `action`, `message`, `context_json`, `ip`, `user_agent`, `created_at`) VALUES
(19303, 1, 'debug', 'meta_api.raw_response', 'Resposta bruta da Meta API', '{\"context\": \"client_insights\", \"metadata\": {\"level\": \"campaign\", \"client_id\": 1}, \"safe_data\": {\"data_count\": 14, \"has_paging\": true, \"sample_fields\": [\"date_start\", \"date_stop\", \"campaign_id\", \"campaign_name\", \"impressions\", \"clicks\", \"spend\", \"ctr\", \"cpc\", \"cpm\", \"reach\", \"frequency\", \"actions\", \"cost_per_action_type\"], \"action_types_found\": [\"link_click\", \"page_engagement\", \"post_engagement\", \"comment\", \"like\", \"post_interaction_gross\", \"onsite_conversion.post_net_like\", \"video_view\", \"post_reaction\"]}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19304, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 10.19, \"clicks\": 33, \"results\": 563, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 736, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19305, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 80.21, \"clicks\": 491, \"results\": 4149, \"date_start\": \"2026-01-28\", \"conversions\": 0, \"impressions\": 21073, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19306, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 10.91, \"clicks\": 34, \"results\": 452, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 841, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19307, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 78.53, \"clicks\": 497, \"results\": 3832, \"date_start\": \"2026-01-29\", \"conversions\": 0, \"impressions\": 20896, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19308, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 10.34, \"clicks\": 28, \"results\": 463, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 661, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19309, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 81.5, \"clicks\": 427, \"results\": 4056, \"date_start\": \"2026-01-30\", \"conversions\": 0, \"impressions\": 21663, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19310, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19311, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 10.14, \"clicks\": 38, \"results\": 513, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 1264, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19312, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 79.36, \"clicks\": 443, \"results\": 3800, \"date_start\": \"2026-01-31\", \"conversions\": 0, \"impressions\": 21314, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19313, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19314, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 13.55, \"clicks\": 49, \"results\": 509, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 1856, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19315, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 0, \"spend\": 98.66, \"clicks\": 574, \"results\": 4226, \"date_start\": \"2026-02-01\", \"conversions\": 0, \"impressions\": 29293, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19316, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19317, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 10.15, \"clicks\": 47, \"results\": 280, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 1011, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19318, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 4, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 2, \"onsite_conversion.messaging_conversation_started_7d\": 2}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19319, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 4, \"spend\": 69.26, \"clicks\": 461, \"results\": 3542, \"date_start\": \"2026-02-02\", \"conversions\": 0, \"impressions\": 21331, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19320, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19321, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 11.16, \"clicks\": 40, \"results\": 143, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 1557, \"campaign_name\": \"[Tráfego Página][Seguidores]\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19322, 1, 'debug', 'meta_insights.leads_extracted', 'Leads extraidos das actions', '{\"total_leads\": 2, \"types_found\": {\"onsite_conversion.messaging_first_reply\": 1, \"onsite_conversion.messaging_conversation_started_7d\": 1}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19323, 1, 'debug', 'meta_api.processed_insight', 'Insight processado', '{\"context\": \"client_campaign\", \"metrics\": {\"leads\": 2, \"spend\": 153.64, \"clicks\": 913, \"results\": 6836, \"date_start\": \"2026-02-03\", \"conversions\": 0, \"impressions\": 46610, \"campaign_name\": \"[Leads][Tráfego] Institucional + Serviços\", \"cost_per_conversion\": 0}}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19324, 1, 'info', 'client_meta.insights_fetched', 'Fetched insights for client', '{\"count\": 14, \"level\": \"campaign\", \"cache_ttl\": 600, \"client_id\": 1, \"ad_account_id\": \"act_1010236473812323\"}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:50'),
(19325, 1, 'info', 'client_meta.campaign_ads_fetched', 'Campaign ads fetched successfully', '{\"ads_count\": 39, \"client_id\": 1, \"campaign_id\": \"120234084827840268\", \"ads_with_page_id\": 12}', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', '2026-02-04 08:54:52');

-- --------------------------------------------------------

--
-- Estrutura para tabela `meta_connections`
--

CREATE TABLE `meta_connections` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `meta_user_id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ad_account_id` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ad_account_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '0',
  `access_token_encrypted` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `token_expires_at` datetime DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Despejando dados para a tabela `meta_connections`
--

INSERT INTO `meta_connections` (`id`, `user_id`, `meta_user_id`, `ad_account_id`, `ad_account_name`, `is_active`, `access_token_encrypted`, `token_expires_at`, `created_at`, `updated_at`) VALUES
(1, 1, '122123281257002635', NULL, NULL, 1, 'oWqahXmz2C+uVNvK/GlHrj+M2FAALauenTGjlR1dgnfgpY3guby4pOaX6cRLpTmACy84Jj22fWwvHDw1N6UAitLfw++VFKQEp1Dd0AqN815s0+1Hu43oNomofdcoSWVQ9s2oItakN18woGmyEgSwV7Bl0CrlYF/FAMDGyz6Zfavevpd8pivAuNeychJCd0mN/smAmnH9cei2tN8AHO6Emn+tzhta27mOWPx06NlbUDuuVleDgCK93S9OFEPh3eWHPJ8ptwMnqTbYI73jOh0SDoPHlPjedN7chJ26zZTxiak=', '2026-03-27 17:22:15', '2026-01-26 17:22:17', '2026-01-27 11:27:09'),
(2, 1, '122123281257002635', 'act_1010236473812323', 'Yamalog', 0, 'eb1IKr0tVRRf7X74aTmq9lsGZpwagzEvL6oUHelvfJsEyAL0fZqhszUjlMST6wg5g7wbI4iw4d6dIgzADaleAxeOJf4qe00syzu0vjMHuM6cRi5Joz+jPfyVwXEdUOktqsQ/0yeQ09VDYx3XwOE70AZEKRp5xk3wD8Xqeui6fQa/I9va5W4gW8p6+mmE0NbtZEG2XlKyGritgLkSoXO2NKVDuLrGCgUpitI38pujWnLZ/ZuD/TEGUye1+D+X2WrYeaIlxhLgva6BFtFutC59Ye7rmsuVhFujf6jz4xlMdlw=', '2026-03-29 20:47:03', '2026-01-28 20:55:22', '2026-01-28 20:55:22');

-- --------------------------------------------------------

--
-- Estrutura para tabela `rate_limits`
--

CREATE TABLE `rate_limits` (
  `id` bigint UNSIGNED NOT NULL,
  `identifier` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `requests` int UNSIGNED NOT NULL DEFAULT '1',
  `window_start` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Despejando dados para a tabela `rate_limits`
--

INSERT INTO `rate_limits` (`id`, `identifier`, `requests`, `window_start`) VALUES
(86, 'ip:::1', 1, '2026-02-04 08:54:50');

-- --------------------------------------------------------

--
-- Estrutura para tabela `roles`
--

CREATE TABLE `roles` (
  `id` int UNSIGNED NOT NULL,
  `name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Despejando dados para a tabela `roles`
--

INSERT INTO `roles` (`id`, `name`, `created_at`) VALUES
(1, 'admin', '2026-01-24 18:56:52'),
(2, 'user', '2026-01-24 18:56:52');

-- --------------------------------------------------------

--
-- Estrutura para tabela `users`
--

CREATE TABLE `users` (
  `id` int UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `password_hash` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Despejando dados para a tabela `users`
--

INSERT INTO `users` (`id`, `name`, `email`, `password_hash`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 'Administrador', 'ti@criah.com.br', '$2y$12$42mhl7.SCAIhk8mvax36.eTCSOKEcd07HfGhgtBBClxcKWa5CbzXe', 1, '2026-01-24 18:56:52', '2026-01-25 17:12:05');

--
-- Acionadores `users`
--
DELIMITER $$
CREATE TRIGGER `trg_user_default_lead_statuses` AFTER INSERT ON `users` FOR EACH ROW BEGIN
    INSERT INTO `lead_statuses` (`user_id`, `name`, `slug`, `color`, `sort_order`, `is_default`, `is_final`) VALUES
    (NEW.id, 'Novo', 'novo', '#3b82f6', 1, 1, 0),
    (NEW.id, 'Em Contato', 'em-contato', '#f59e0b', 2, 0, 0),
    (NEW.id, 'Qualificado', 'qualificado', '#8b5cf6', 3, 0, 0),
    (NEW.id, 'Convertido', 'convertido', '#10b981', 4, 0, 1),
    (NEW.id, 'Descartado', 'descartado', '#ef4444', 5, 0, 1);
END$$
DELIMITER ;

-- --------------------------------------------------------

--
-- Estrutura para tabela `user_roles`
--

CREATE TABLE `user_roles` (
  `user_id` int UNSIGNED NOT NULL,
  `role_id` int UNSIGNED NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Despejando dados para a tabela `user_roles`
--

INSERT INTO `user_roles` (`user_id`, `role_id`, `created_at`) VALUES
(1, 1, '2026-01-24 18:56:52');

-- --------------------------------------------------------

--
-- Estrutura para tabela `webhook_subscriptions`
--

CREATE TABLE `webhook_subscriptions` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `client_id` int UNSIGNED DEFAULT NULL,
  `page_id` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'ID da pagina do Facebook',
  `page_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Nome da pagina',
  `page_access_token_encrypted` text COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Token criptografado',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `subscribed_fields` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'leadgen' COMMENT 'Campos inscritos',
  `last_webhook_at` datetime DEFAULT NULL COMMENT 'Ultimo webhook recebido',
  `webhook_count` int UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Total de webhooks recebidos',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Índices para tabelas despejadas
--

--
-- Índices de tabela `api_tokens`
--
ALTER TABLE `api_tokens`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_api_tokens_hash` (`token_hash`),
  ADD KEY `idx_api_tokens_user` (`user_id`),
  ADD KEY `idx_api_tokens_prefix` (`token_prefix`);

--
-- Índices de tabela `clients`
--
ALTER TABLE `clients`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_clients_user_slug` (`user_id`,`slug`),
  ADD KEY `idx_clients_user` (`user_id`);

--
-- Índices de tabela `client_ad_accounts`
--
ALTER TABLE `client_ad_accounts`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_client_ad_accounts` (`client_id`,`ad_account_id`),
  ADD KEY `idx_client_ad_accounts_client` (`client_id`);

--
-- Índices de tabela `client_webhook_tokens`
--
ALTER TABLE `client_webhook_tokens`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_client_webhook_client` (`client_id`);

--
-- Índices de tabela `leads`
--
ALTER TABLE `leads`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_leads_meta_lead` (`meta_lead_id`),
  ADD KEY `idx_leads_user` (`user_id`),
  ADD KEY `idx_leads_form` (`lead_form_id`),
  ADD KEY `idx_leads_status` (`status_id`),
  ADD KEY `idx_leads_email` (`email`),
  ADD KEY `idx_leads_phone` (`phone`),
  ADD KEY `idx_leads_campaign` (`campaign_id`),
  ADD KEY `idx_leads_ad` (`ad_id`),
  ADD KEY `idx_leads_created` (`lead_created_at`),
  ADD KEY `idx_leads_user_date` (`user_id`,`lead_created_at`),
  ADD KEY `idx_leads_user_status` (`user_id`,`status_id`),
  ADD KEY `idx_leads_client` (`client_id`);

--
-- Índices de tabela `lead_activities`
--
ALTER TABLE `lead_activities`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_lead_activities_lead` (`lead_id`),
  ADD KEY `idx_lead_activities_created` (`created_at`),
  ADD KEY `idx_lead_activities_action` (`action`),
  ADD KEY `fk_lead_activities_user` (`user_id`);

--
-- Índices de tabela `lead_forms`
--
ALTER TABLE `lead_forms`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_lead_forms_user_form` (`user_id`,`meta_form_id`),
  ADD KEY `idx_lead_forms_page` (`page_id`),
  ADD KEY `idx_lead_forms_status` (`status`),
  ADD KEY `idx_lead_forms_user` (`user_id`),
  ADD KEY `idx_lead_forms_client` (`client_id`);

--
-- Índices de tabela `lead_statuses`
--
ALTER TABLE `lead_statuses`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_lead_statuses_user_slug` (`user_id`,`slug`),
  ADD KEY `idx_lead_statuses_order` (`user_id`,`sort_order`);

--
-- Índices de tabela `lead_sync_jobs`
--
ALTER TABLE `lead_sync_jobs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_lead_sync_jobs_user` (`user_id`),
  ADD KEY `idx_lead_sync_jobs_status` (`status`),
  ADD KEY `idx_lead_sync_jobs_type` (`sync_type`),
  ADD KEY `idx_lead_sync_jobs_client` (`client_id`);

--
-- Índices de tabela `logs`
--
ALTER TABLE `logs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_logs_user` (`user_id`),
  ADD KEY `idx_logs_level` (`level`),
  ADD KEY `idx_logs_action` (`action`),
  ADD KEY `idx_logs_created` (`created_at`);

--
-- Índices de tabela `meta_connections`
--
ALTER TABLE `meta_connections`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_meta_connections_user_account` (`user_id`,`ad_account_id`),
  ADD KEY `idx_meta_connections_meta_user` (`meta_user_id`),
  ADD KEY `idx_meta_connections_user_active` (`user_id`,`is_active`);

--
-- Índices de tabela `rate_limits`
--
ALTER TABLE `rate_limits`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_rate_limits_identifier` (`identifier`),
  ADD KEY `idx_rate_limits_window` (`window_start`);

--
-- Índices de tabela `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_roles_name` (`name`);

--
-- Índices de tabela `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_users_email` (`email`),
  ADD KEY `idx_users_is_active` (`is_active`);

--
-- Índices de tabela `user_roles`
--
ALTER TABLE `user_roles`
  ADD PRIMARY KEY (`user_id`,`role_id`),
  ADD KEY `fk_user_roles_role` (`role_id`);

--
-- Índices de tabela `webhook_subscriptions`
--
ALTER TABLE `webhook_subscriptions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_webhook_subs_user_page` (`user_id`,`page_id`),
  ADD KEY `idx_webhook_subs_active` (`is_active`),
  ADD KEY `idx_webhook_subs_page` (`page_id`),
  ADD KEY `idx_webhook_subs_client` (`client_id`);

--
-- AUTO_INCREMENT para tabelas despejadas
--

--
-- AUTO_INCREMENT de tabela `api_tokens`
--
ALTER TABLE `api_tokens`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT de tabela `clients`
--
ALTER TABLE `clients`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT de tabela `client_ad_accounts`
--
ALTER TABLE `client_ad_accounts`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT de tabela `client_webhook_tokens`
--
ALTER TABLE `client_webhook_tokens`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de tabela `leads`
--
ALTER TABLE `leads`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2276;

--
-- AUTO_INCREMENT de tabela `lead_activities`
--
ALTER TABLE `lead_activities`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2276;

--
-- AUTO_INCREMENT de tabela `lead_forms`
--
ALTER TABLE `lead_forms`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de tabela `lead_statuses`
--
ALTER TABLE `lead_statuses`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT de tabela `lead_sync_jobs`
--
ALTER TABLE `lead_sync_jobs`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de tabela `logs`
--
ALTER TABLE `logs`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19326;

--
-- AUTO_INCREMENT de tabela `meta_connections`
--
ALTER TABLE `meta_connections`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT de tabela `rate_limits`
--
ALTER TABLE `rate_limits`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=87;

--
-- AUTO_INCREMENT de tabela `roles`
--
ALTER TABLE `roles`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT de tabela `users`
--
ALTER TABLE `users`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT de tabela `webhook_subscriptions`
--
ALTER TABLE `webhook_subscriptions`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- Restrições para tabelas despejadas
--

--
-- Restrições para tabelas `api_tokens`
--
ALTER TABLE `api_tokens`
  ADD CONSTRAINT `fk_api_tokens_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Restrições para tabelas `clients`
--
ALTER TABLE `clients`
  ADD CONSTRAINT `fk_clients_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Restrições para tabelas `client_ad_accounts`
--
ALTER TABLE `client_ad_accounts`
  ADD CONSTRAINT `fk_client_ad_accounts_client` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE;

--
-- Restrições para tabelas `client_webhook_tokens`
--
ALTER TABLE `client_webhook_tokens`
  ADD CONSTRAINT `fk_client_webhook_client` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE;

--
-- Restrições para tabelas `leads`
--
ALTER TABLE `leads`
  ADD CONSTRAINT `fk_leads_client` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `fk_leads_form` FOREIGN KEY (`lead_form_id`) REFERENCES `lead_forms` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `fk_leads_status` FOREIGN KEY (`status_id`) REFERENCES `lead_statuses` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `fk_leads_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Restrições para tabelas `lead_activities`
--
ALTER TABLE `lead_activities`
  ADD CONSTRAINT `fk_lead_activities_lead` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_lead_activities_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Restrições para tabelas `lead_forms`
--
ALTER TABLE `lead_forms`
  ADD CONSTRAINT `fk_lead_forms_client` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `fk_lead_forms_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Restrições para tabelas `lead_statuses`
--
ALTER TABLE `lead_statuses`
  ADD CONSTRAINT `fk_lead_statuses_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Restrições para tabelas `lead_sync_jobs`
--
ALTER TABLE `lead_sync_jobs`
  ADD CONSTRAINT `fk_lead_sync_jobs_client` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_lead_sync_jobs_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Restrições para tabelas `logs`
--
ALTER TABLE `logs`
  ADD CONSTRAINT `fk_logs_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Restrições para tabelas `meta_connections`
--
ALTER TABLE `meta_connections`
  ADD CONSTRAINT `fk_meta_connections_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Restrições para tabelas `user_roles`
--
ALTER TABLE `user_roles`
  ADD CONSTRAINT `fk_user_roles_role` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_user_roles_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Restrições para tabelas `webhook_subscriptions`
--
ALTER TABLE `webhook_subscriptions`
  ADD CONSTRAINT `fk_webhook_subs_client` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_webhook_subs_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;
COMMIT;

