{
  "created_at": "2026-05-14T19:59:29+02:00",
  "client": "aruba.rzeszow.pl",
  "task": "check_account_anomalies",
  "task_name": "Sprawdzenie anomalii konta",
  "currency_code": "PLN",
  "recent_period": {
    "label": "ostatnie 7 zakonczonych dni",
    "start": "2026-05-07",
    "end": "2026-05-13"
  },
  "previous_period": {
    "label": "poprzednie 7 dni",
    "start": "2026-04-30",
    "end": "2026-05-06"
  },
  "account_summary": [
    {
      "metric": "Koszt",
      "previous": "1157.15 PLN",
      "recent": "1293.76 PLN",
      "change_percent": "+11.8%"
    },
    {
      "metric": "Klikniecia",
      "previous": "849",
      "recent": "1039",
      "change_percent": "+22.4%"
    },
    {
      "metric": "Wyswietlenia",
      "previous": "39578",
      "recent": "54091",
      "change_percent": "+36.7%"
    },
    {
      "metric": "Konwersje",
      "previous": "44.98",
      "recent": "43.98",
      "change_percent": "-2.2%"
    },
    {
      "metric": "Wartosc konwersji",
      "previous": "10673.23 PLN",
      "recent": "6223.13 PLN",
      "change_percent": "-41.7%"
    },
    {
      "metric": "CTR",
      "previous": "2.1%",
      "recent": "1.9%",
      "change_percent": "-10.7%"
    },
    {
      "metric": "Sredni CPC",
      "previous": "1.36 PLN",
      "recent": "1.25 PLN",
      "change_percent": "-8.6%"
    },
    {
      "metric": "ROAS",
      "previous": "9.22",
      "recent": "4.81",
      "change_percent": "-47.8%"
    }
  ],
  "campaigns": [
    {
      "campaign_id": "21260050298",
      "campaign_name": "[PMax] products (catch-all)",
      "status": "ENABLED",
      "channel_type": "PERFORMANCE_MAX",
      "previous_cost": "611.37 PLN",
      "recent_cost": "647.01 PLN",
      "cost_change": "+5.8%",
      "previous_clicks": "542",
      "recent_clicks": "659",
      "clicks_change": "+21.6%",
      "previous_conversions": "30.56",
      "recent_conversions": "33.98",
      "conversions_change": "+11.2%",
      "previous_roas": "11.06",
      "recent_roas": "5.99",
      "roas_change": "-45.8%"
    },
    {
      "campaign_id": "20561423980",
      "campaign_name": "[DSA] produkty",
      "status": "ENABLED",
      "channel_type": "SEARCH",
      "previous_cost": "284.35 PLN",
      "recent_cost": "283.28 PLN",
      "cost_change": "-0.4%",
      "previous_clicks": "139",
      "recent_clicks": "158",
      "clicks_change": "+13.7%",
      "previous_conversions": "5.00",
      "recent_conversions": "3.00",
      "conversions_change": "-40.0%",
      "previous_roas": "5.94",
      "recent_roas": "2.34",
      "roas_change": "-60.6%"
    },
    {
      "campaign_id": "22926581178",
      "campaign_name": "[PLA] produkty (bestsellers)",
      "status": "ENABLED",
      "channel_type": "SHOPPING",
      "previous_cost": "216.61 PLN",
      "recent_cost": "274.81 PLN",
      "cost_change": "+26.9%",
      "previous_clicks": "96",
      "recent_clicks": "120",
      "clicks_change": "+25.0%",
      "previous_conversions": "6.42",
      "recent_conversions": "4.00",
      "conversions_change": "-37.7%",
      "previous_roas": "7.65",
      "recent_roas": "3.19",
      "roas_change": "-58.3%"
    },
    {
      "campaign_id": "19591441631",
      "campaign_name": "[Search] brand",
      "status": "ENABLED",
      "channel_type": "SEARCH",
      "previous_cost": "44.83 PLN",
      "recent_cost": "88.66 PLN",
      "cost_change": "+97.8%",
      "previous_clicks": "72",
      "recent_clicks": "102",
      "clicks_change": "+41.7%",
      "previous_conversions": "3.00",
      "recent_conversions": "3.00",
      "conversions_change": "+0.0%",
      "previous_roas": "12.51",
      "recent_roas": "9.09",
      "roas_change": "-27.3%"
    }
  ],
  "anomalies": [
    {
      "campaign_id": "20561423980",
      "campaign_name": "[DSA] produkty",
      "channel_type": "SEARCH",
      "status": "ENABLED",
      "metric": "ROAS",
      "severity": "wysokie",
      "previous_value": "5.94",
      "recent_value": "2.34",
      "change_percent": "-60.6%",
      "reason": "ROAS spadl przy istotnym koszcie bazowym",
      "recommendation": "sprawdz rentownosc, pomiar, produkt/feed i strategie stawek w zadaniach szczegolowych"
    },
    {
      "campaign_id": "20561423980",
      "campaign_name": "[DSA] produkty",
      "channel_type": "SEARCH",
      "status": "ENABLED",
      "metric": "wartosc konwersji",
      "severity": "wysokie",
      "previous_value": "1690.01 PLN",
      "recent_value": "662.00 PLN",
      "change_percent": "-60.8%",
      "reason": "wartosc konwersji spadla o co najmniej polowe",
      "recommendation": "sprawdz pomiar, koszyk, kampanie produktowe i jakosc ruchu"
    },
    {
      "campaign_id": "22926581178",
      "campaign_name": "[PLA] produkty (bestsellers)",
      "channel_type": "SHOPPING",
      "status": "ENABLED",
      "metric": "ROAS",
      "severity": "wysokie",
      "previous_value": "7.65",
      "recent_value": "3.19",
      "change_percent": "-58.3%",
      "reason": "ROAS spadl przy istotnym koszcie bazowym",
      "recommendation": "sprawdz rentownosc, pomiar, produkt/feed i strategie stawek w zadaniach szczegolowych"
    },
    {
      "campaign_id": "21260050298",
      "campaign_name": "[PMax] products (catch-all)",
      "channel_type": "PERFORMANCE_MAX",
      "status": "ENABLED",
      "metric": "ROAS",
      "severity": "wysokie",
      "previous_value": "11.06",
      "recent_value": "5.99",
      "change_percent": "-45.8%",
      "reason": "ROAS spadl przy istotnym koszcie bazowym",
      "recommendation": "sprawdz rentownosc, pomiar, produkt/feed i strategie stawek w zadaniach szczegolowych"
    }
  ],
  "scope": [
    {
      "area": "Okres porownania",
      "check": "Porownaj ostatnie 7 zakonczonych dni z poprzednimi 7 dniami, bez uzywania niepelnych danych z dzisiaj."
    },
    {
      "area": "Metryki kampanii",
      "check": "Sprawdz koszt, klikniecia, wyswietlenia, konwersje, wartosc konwersji, CTR, CPC i ROAS na poziomie kampanii."
    },
    {
      "area": "Nagly spadek",
      "check": "Oznacz kampanie, w ktorych spadl ruch, koszt, konwersje, wartosc konwersji albo ROAS."
    },
    {
      "area": "Nagly wzrost",
      "check": "Oznacz kampanie, w ktorych koszt, CPC albo ruch wzrosly szybciej niz wyniki."
    },
    {
      "area": "Priorytet reakcji",
      "check": "Nadaj anomaliom poziom waznosci, aby agent mogl szybko zdecydowac, ktore kampanie sprawdzic jako pierwsze."
    }
  ],
  "out_of_scope": [
    "zmiany budzetow i ocena pacingu budzetu",
    "zmiany strategii stawek oraz celow Docelowy ROAS/Docelowy CPA",
    "analiza zapytan uzytkownikow oraz wykluczen",
    "analiza reklam RSA, zasobow i kreacji",
    "wdrazanie zmian na koncie Google Ads"
  ],
  "knowledge_rules": [],
  "warnings": [
    "Do tego zadania nie przypisano jeszcze regul z bazy wiedzy. Reguly dotyczace anomalii i alertow bedziemy dopisywac osobno po akceptacji uzytkownika."
  ],
  "changes": []
}