Date preset

Troca o preset pra ver o que a Meta retorna em cada janela. Se hoje (today) vier vazio, confirma que é lag da Meta e não problema do LeadHub.

today yesterday last_3d last_7d last_14d last_30d maximum

📊 Insights (agregado)

✅ fetchCampaignsWithInsights · 1 campanha(s) · filtro [SEMENTE] [LEAD] AULA 04
{
  "campaigns": [
    {
      "campaign_id": "120244032210430546",
      "campaign_name": "[SEMENTE] [LEAD] AULA 04 - LER CIFRAS",
      "spend": 538.38,
      "impressions": 25621,
      "clicks": 1371,
      "link_clicks": 804,
      "link_ctr": 3.138051,
      "landing_page_views": 591,
      "connect_rate": 73.50746268656717,
      "attributed_leads": 256,
      "cost_per_attributed_lead": 2.103046875,
      "cpm": 21.013231,
      "cpc": 0.392691,
      "reach": 19871
    }
  ],
  "totals": {
    "spend": 538.38,
    "impressions": 25621,
    "clicks": 1371,
    "link_clicks": 804,
    "landing_page_views": 591,
    "attributed_leads": 256,
    "reach": 19871,
    "ctr_aggregate": 5.351079192849616,
    "link_ctr_aggregate": 3.1380508176886144,
    "connect_rate_aggregate": 73.50746268656717,
    "cost_per_attributed_lead_aggregate": 2.103046875,
    "cpm_aggregate": 21.013231333671598,
    "cpc_aggregate": 0.392691466083151
  },
  "total_in_account": 238,
  "sample_names": [
    "[SEMENTE] [LEAD] AULA 04 - LER CIFRAS",
    "[JPM2] [VENDAS] VOLTA AULAS 2026",
    "JPM - COMPRA - JAN - VOLTA AULAS 2026 — Cópia",
    "[SEMENTE] [LEAD] AULA 03 - LER CIFRAS",
    "[REPRISE] [TRAFEGO] [Q] Aula experimental 01",
    "[SEMENTE] [LEAD] AULA 02 - LER CIFRAS",
    "[REPRISE] [TRAFEGO] [Q] Aula gratuita 01",
    "[SEMENTE] [LEAD] AULA 01 - LER CIFRAS",
    "[JPM] [VENDAS] VOLTA AULAS 2026",
    "Instagram post: Quantas maneiras diferentes de...",
    "Instagram post: 👇🏻Não é fácil dar aula 🎵 para...",
    "Instagram post: Solfejar as notas, para os alunos...",
    "Instagram post: 👇🏻O aluno já chegou tocando,...",
    "[PIANO POP 2] [VENDAS] - Kit de acompanhamentos",
    "Instagram post: Pensa aquele momento onde a...",
    "[JPM] [VENDAS] - Black November Musical 2025 - Perpetuo",
    "[ERRO] [JPM] [VENDAS] - Black November Musical 2025",
    "Post do Instagram: 👇🏻Com a partitura certa fica...",
    "[PIANO POP] [VENDAS] - Kit de acompanhamentos",
    "Post do Instagram: 👇🏻Não é triste o aluno..."
  ],
  "debug_needle": "sementeleadaula04",
  "debug_sample_normalized": [
    "sementeleadaula04lercifras",
    "jpm2vendasvoltaaulas2026",
    "jpmcomprajanvoltaaulas2026cpia",
    "sementeleadaula03lercifras",
    "reprisetrafegoqaulaexperimental01",
    "sementeleadaula02lercifras",
    "reprisetrafegoqaulagratuita01",
    "sementeleadaula01lercifras",
    "jpmvendasvoltaaulas2026",
    "instagrampostquantasmaneirasdiferentesde",
    "instagrampostnofcildaraulapara",
    "instagrampostsolfejarasnotasparaosalunos",
    "instagrampostoalunojchegoutocando",
    "pianopop2vendaskitdeacompanhamentos",
    "instagrampostpensaaquelemomentoondea",
    "jpmvendasblacknovembermusical2025perpetuo",
    "errojpmvendasblacknovembermusical2025",
    "postdoinstagramcomapartituracertafica",
    "pianopopvendaskitdeacompanhamentos",
    "postdoinstagramnotristeoaluno"
  ],
  "insights_errors": []
}

📈 Time series (diário)

✅ fetchDailyTimeSeries · 2 dia(s) · de 2026-04-24 a 2026-04-25
[
  {
    "date": "2026-04-24",
    "spend": 538.38,
    "impressions": 25621,
    "link_clicks": 804,
    "landing_page_views": 591,
    "attributed_leads": 256,
    "link_ctr": 3.1380508176886144,
    "cpl": 2.103046875
  },
  {
    "date": "2026-04-25",
    "spend": 35.8,
    "impressions": 1582,
    "link_clicks": 37,
    "landing_page_views": 30,
    "attributed_leads": 17,
    "link_ctr": 2.338811630847029,
    "cpl": 2.105882352941176
  }
]

🔬 Raw fetch date_preset=today (BRT 2026-04-25)

Request cru pra cada campanha matched, com date_preset=today e time_zone=America/Sao_Paulo. Se vem HTTP 200 com data: [], a Meta confirma que não há gasto/impressão hoje (campanha pausada, budget zerado, ou ainda não saiu do forno). Se vem HTTP 4xx/5xx com error, aí é token / permissão / rate-limit.

HTTP 200 · [SEMENTE] [LEAD] AULA 04 - LER CIFRAS 120244032210430546

https://graph.facebook.com/v21.0/120244032210430546/insights?fields=date_start,spend,impressions,inline_link_clicks,inline_link_click_ctr,actions&date_preset=today&time_increment=1&time_zone=America%2FSao_Paulo

{
  "data": [
    {
      "date_start": "2026-04-25",
      "spend": "35.8",
      "impressions": "1582",
      "inline_link_clicks": "37",
      "inline_link_click_ctr": "2.338812",
      "actions": [
        {
          "action_type": "link_click",
          "value": "37"
        },
        {
          "action_type": "page_engagement",
          "value": "765"
        },
        {
          "action_type": "landing_page_view",
          "value": "30"
        },
        {
          "action_type": "omni_landing_page_view",
          "value": "30"
        },
        {
          "action_type": "onsite_conversion.post_unlike",
          "value": "2"
        },
        {
          "action_type": "post_engagement",
          "value": "762"
        },
        {
          "action_type": "like",
          "value": "3"
        },
        {
          "action_type": "post_interaction_gross",
          "value": "27"
        },
        {
          "action_type": "onsite_web_view_content",
          "value": "32"
        },
        {
          "action_type": "post_interaction_net",
          "value": "29"
        },
        {
          "action_type": "onsite_web_app_view_content",
          "value": "32"
        },
        {
          "action_type": "onsite_web_lead",
          "value": "17"
        },
        {
          "action_type": "post",
          "value": "2"
        },
        {
          "action_type": "view_content",
          "value": "32"
        },
        {
          "action_type": "onsite_conversion.post_net_like",
          "value": "23"
        },
        {
          "action_type": "lead",
          "value": "17"
        },
        {
          "action_type": "offsite_content_view_add_meta_leads",
          "value": "32"
        },
        {
          "action_type": "offsite_conversion.fb_pixel_lead",
          "value": "17"
        },
        {
          "action_type": "video_view",
          "value": "698"
        },
        {
          "action_type": "omni_view_content",
          "value": "32"
        },
        {
          "action_type": "offsite_conversion.fb_pixel_view_content",
          "value": "32"
        },
        {
          "action_type": "post_reaction",
          "value": "25"
        }
      ],
      "date_stop": "2026-04-25"
    }
  ],
  "paging": {
    "cursors": {
      "before": "MAZDZD",
      "after": "MAZDZD"
    }
  }
}