fix: mostrar Google Ads desde ad_daily cuando kpi_weekly está vacío

kpi_weekly es una MV de solo lectura sin canales paid; canal/seguimiento
ahora hacen fallback a ad_daily. Bump Google Ads API a v21 en sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
4Ventures
2026-09-23 12:13:41 +02:00
parent a1a00840d5
commit fba025da76
7 changed files with 159 additions and 24 deletions

View File

@@ -349,7 +349,8 @@ export default function MetricsDashboard({
{channelRows.length === 0 ? (
<p className="text-xs text-gray-500 py-6 text-center">
Sin series de canal en el periodo. Cuando Windsor cargue
`kpi_weekly.channel`, aparecerán aquí.
Los canales con inversión en ads (Meta, Google) aparecen cuando hay
filas en ad_daily o kpi_weekly para este cliente.
</p>
) : (
<div className="overflow-x-auto">