# Campaign performance: what we feed the LLM

This note explains the data layers PHP sends to the model, then shows the **stored snapshot** for one live campaign.

- Campaign: [Lucos - Retargeting - LP Visitors - 30d-20260921](http://127.0.0.1:8087/campaign-performance/meta/120251936608840626)
- Platform / ID: Meta `120251936608840626`
- Stored at: 2026-10-28 10:19:33 (suggestion row 13)
- Verdict / source: watch from llm (openai)

This file is a copy of what was already on file. It is **not** a new hourly run. `campaign_review` is not in this packet yet; that field is only added after the next hourly job.

---

## What “snapshot” means

A snapshot is the one JSON packet PHP builds for a campaign at one hour.

1. The hourly job gathers Meta delivery, internal results, creatives, audiences, ad sets, and breakdowns.
2. PHP adds treated facts: verdict, allowed/forbidden moves, bottleneck, budget recommendation.
3. That packet is stored on `campaign_performance_suggestions.snapshot`.
4. The same packet is sent to the LLM as the prompt.
5. The campaign-performance page reads the **stored** packet. It does not rebuild it when you open the URL.

The prompt looks like this:

```
Treated campaign (PHP facts). Write the suggestion from this bottleneck and these levels...
{campaign_review JSON}          ← missing on this 28 Oct snapshot

Snapshot:
{full snapshot JSON}

Attached still images, in order:
1. ad … (image)
…

You may read these URLs. Quote a page only when its words come back.
```

There are two model calls on the same snapshot:

| Call | Job |
|---|---|
| `explainBrief` | Short next actions + reason |
| `explainReview` | Full memo, creative replacements, landing rewrite, still-image review |

PHP owns the facts. The LLM only writes copy inside those facts. If a layer is empty, the model must not invent it.

---

## Data layers in the packet

### Layer 1 — Campaign identity

Name, platform, account, objective, bid strategy/amount, daily budget, Meta status, delivery state, learning stage, campaign age.

On this campaign: leads objective, `$5` daily, ACTIVE, Meta learning **FAIL**, US, ages 21–65.

### Layer 2 — Delivery windows (Meta)

Hour windows (`3h` / `5h` / `7h`) and day windows (`3d` / `7d` / `15d` / `30d`): spend, impressions, clicks, CTR, CPC, CPM, reach, frequency, landing-page views. `daily_history` says how many expected days were actually on file.

### Layer 3 — Internal results

Affiliate / ROI: orders, revenue, CPA, ROAS, lag days. Used only when matched. Missing internal rows are not treated as zero.

On this campaign: `windows.outcome_7d` has `$37.19` platform spend and **0 leads**. Top-level `affiliate` and `roi_performance` are empty.

### Layer 4 — Creatives and page

`creative_context`: ads (id, name, headline, primary text, CTA, status), creatives, landing URL, scraped headings/text, extra site pages. The review call also attaches still images (not video).

### Layer 5 — Audiences

Saved interests, job titles, audience type/size, retargeting vs prospecting. Cold interests are forbidden on retargeting.

On this campaign: custom audience `Lucos - LP Visitors - 30d`. No interests or job titles.

### Layer 6 — Ad sets and goals

Per-ad-set delivery, optimization event, billing, attribution, cost cap vs lowest cost, delivery issues. `campaign_goals` is the objective the model must judge against.

On this campaign: one ad set, `OFFSITE_CONVERSIONS`, lowest cost without cap, `$5` at ad-set level.

### Layer 7 — Breakdowns (when Whale has the tables)

Placements, countries/regions, devices, age/gender: spend, clicks, conversions. Empty if those tables are missing — the model must not invent them.

This campaign **did** have placement, device, and region rows. Country rows were empty.

### Layer 8 — PHP treated campaign (the model must follow this)

- `campaign_review` — objective, primary metric, bottleneck, five levels (tracking / traffic / funnel / economics / stability), 3-line plan. **Not on this 28 Oct snapshot.**
- `performance_strategy` + `improvement_brief` — allowed/forbidden moves, must_say / must_not_say
- `marketing_diagnosis` — lever (`improve_creative` / `fix_landing_page` / `spend_more` / `hold`)
- `budget_recommendation` — the only spend change allowed
- `verdict` — Watch / Maintain / Scale up / Decrease / Pause / Learning — the model cannot change this

On this old run PHP disagreed with itself: strategy bottleneck was **volume** (raise budget / soften event), marketing diagnosis was **fix_landing_page**. That is what the model was given.

---

## This campaign’s snapshot, by layer

**Lucos - Retargeting - LP Visitors - 30d-20260921**  
Leads · ACTIVE · `$5`/day · Watch · LLM (openai)

### Identity / goals

- Name: `Lucos - Retargeting - LP Visitors - 30d-20260921`
- Account: `1950320145707342`
- Objective: `OUTCOME_LEADS` / buying type `AUCTION`
- Optimization: `OFFSITE_CONVERSIONS`
- Platform status: `ACTIVE`
- Learning: `FAIL`
- Region label: Alabama, Arizona, Arkansas, California, Colorado, Connecticut, Delaware, Florida +43
- Started: `2026-09-25 08:31:44`
- PHP reason at evaluate: Meta learning is FAIL. This is not passive monitoring — raise budget, soften the optimization event, or fix tracking before testing creatives.
- Evaluated at: `2026-10-28 10:15:55`

### Delivery windows

| Window | Spend | Impressions | Clicks | CTR | CPC | Notes |
|---|---:|---:|---:|---:|---:|---|
| 3h | $0.00 | 0 | 0 | — | — | insufficient; 0/3 buckets |
| 5h | $0.00 | 0 | 0 | — | — | insufficient; 0/5 buckets |
| 7h | $0.00 | 0 | 0 | — | — | insufficient; 0/7 buckets |
| 1d | $0.00 | 0 | 0 | — | — | insufficient; 0/1 buckets |
| 3d | $11.95 | 170 | 2 | 1.18% | $5.97 | 2/3 buckets |
| 7d | $30.63 | 461 | 10 | 2.17% | $3.06 | 6/7 buckets |
| 14d | $78.45 | 1102 | 28 | 2.54% | $2.80 | 13/14 buckets |
| 15d | $89.37 | 1252 | 34 | 2.72% | $2.63 | 14/15 buckets |
| 30d | $238.43 | 2782 | 82 | 2.95% | $2.91 | 29/30 buckets |

**Internal 7d outcome** (`windows.outcome_7d`, source `roi_dashboard`): spend $37.19, leads `0`, orders `0`, revenue `0`, days with rows `7`. Window `2026-10-20` → `2026-10-26`.

Daily history: **29 of 30** days on file, `2026-09-29` → `2026-10-28`.

Hour windows that day were `$0` (no delivery in the last 7 hours at evaluate time).

### Audience

- Custom audience: `True`
- Advantage+ audience (campaign facts): `False`
- Ages `21`–`65`
- Countries: US
- Interests: []
- Job titles: []

Ad-set targeting also names included audience **Lucos - LP Visitors - 30d** (`120251936454020626`), devices mobile + desktop, and a long list of Facebook/Instagram placement labels.

### Creatives and landing page

Landing URL: `https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}`

Headings on file:

- Write code as fast as you think
- Start Now
- A platform for building, not just editing
- Pricing that scales with you
- Common Questions

Page text starts: Lucos · The AI agent-first editor Write code as fast as you think The smart code editor used by 1M+ developers and 50% of the Fortune 500. Tab autocomplete, autonomous agents, cloud runners — all from one screen. Start Now Enjoy complete access for $9.99/month MM 01 02 03 04 0…

**Ads**

| Ad | Name | Headline | CTA |
|---|---|---|---|
| `120252007591870626` | New Leads Ad – Copy 3 | One Wrong File Change Can Cost You 20 Minutes | `SEE_DETAILS` |
| `120252007565630626` | New Leads Ad – Copy 2 | More AI Models. Same Monthly Price. | `SEE_DETAILS` |
| `120252007038090626` | New Leads Ad – Copy | Lucos vs. Copilot vs. Cursor — Same Price, More Agents | `SEE_DETAILS` |
| `120251936608820626` | New Leads Ad | Why Pay $200? Build With Lucos for $9.99. | `SEE_DETAILS` |
| `120251936809680626` | New Leads Ad - Copy | Why Pay $200? Build With Lucos for $9.99. | `SEE_DETAILS` |

Still images attached: **5**.

### Placements (7d ad-set breakdown, 0 conversions on every row)

| Placement | Spend | Clicks | Impressions |
|---|---:|---:|---:|
| Facebook Feed | $12.16 | 11 | 202 |
| Facebook Reels | $6.46 | 2 | 55 |
| Instagram Reels | $1.59 | 0 | 32 |
| Instagram Feed | $1.34 | 0 | 19 |
| Facebook Facebook Reels Overlay | $0.96 | 0 | 17 |
| Instagram Stories | $0.64 | 0 | 10 |
| Facebook Marketplace | $0.60 | 0 | 9 |
| Facebook Stories | $0.31 | 0 | 3 |
| Facebook Right Hand Column | $0.11 | 0 | 8 |
| Facebook Search | $0.03 | 0 | 3 |
| Facebook Instream Video | $0.03 | 0 | 1 |

Campaign-level segments (longer window) also had Facebook `$164.59` / 78 clicks and Instagram `$67.24` / 27 clicks.

### Devices (7d ad-set breakdown)

| Device | Group | Spend | Clicks | Impressions |
|---|---|---:|---:|---:|
| iphone | mobile | $10.51 | 4 | 147 |
| android_smartphone | mobile | $9.45 | 6 | 140 |
| desktop | desktop | $3.94 | 3 | 65 |
| android_tablet | tablet | $0.18 | 0 | 3 |
| ipad | tablet | $0.10 | 0 | 3 |
| other | other | $0.05 | 0 | 1 |

### Geographies

Country rows: **empty**.

US regions (top of 43):

| Region | Spend | Clicks | Impressions |
|---|---:|---:|---:|
| Florida | $2.75 | 3 | 45 |
| California | $2.62 | 0 | 32 |
| New Jersey | $1.95 | 2 | 26 |
| Georgia | $1.65 | 0 | 14 |
| Arizona | $1.63 | 1 | 9 |
| Ohio | $1.13 | 1 | 20 |
| Kentucky | $0.88 | 0 | 6 |
| Indiana | $0.86 | 1 | 8 |
| Michigan | $0.82 | 0 | 12 |
| Illinois | $0.81 | 1 | 10 |
| North Carolina | $0.78 | 1 | 12 |
| Texas | $0.78 | 0 | 21 |

(31 more regions follow in the JSON appendix, down to Hawaii `$0.01`.)

### PHP treated facts

**Verdict:** `watch` · recommended action `NONE` · leave `$5.00` daily budget.

**Strategy bottleneck:** `volume` · feasibility `underpowered_budget` · learning `FAIL` · audience mode `retargeting`.

Must say:

- Meta learning stage is FAIL.
- Daily budget is too low to reliably finish Meta learning for this conversion goal (about 50 results a week). Say raise budget or use an easier event.
- CPM is 66.44.
- reach is 378.
- frequency is 1.47.
- Link-click CTR is 2.17%.

Allowed moves:

- `raise_budget_to_learn`
- `soften_optimization_event`
- `hold_audience`
- `advantage_plus_placements`
- `widen_retargeting`
- `exclude_converters`
- `hold_cold_interests`

Forbidden moves:

- `invent_github_placements`
- `invent_competitor_placements`
- `add_cold_interests`
- `keep_goal_unchanged_while_learning`
- `say_monitoring_only`

**Marketing diagnosis lever:** `fix_landing_page`

- Looked at 29 of the last 30 days, from 2026-09-29 to 2026-10-28, and decided from the last 7 days.
- Improve the landing page: clearer offer above the fold, message match with the ad, and one strong CTA.
- Fix the landing page. CTR is 2.17% on 10 clicks, so the creative is earning the click, and lagged spend of 37.19 produced no sales, leads, or other results. All live ads use lucos.com/landing.

**LLM next actions stored on this snapshot:**

1. At https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}, the first heading is “Write code as fast as you think”; the page next asks visitors to “Start Now” and enter payment details. Replace the first heading with the saved ad headline “Lucos vs. Copilot vs. Cursor — Same Price, More Agents” and make the first screen ask for a lead before payment details.
2. Hold the “Lucos - LP Visitors - 30d” retargeting audience: CPM is 66.44, reach is 378, frequency is 1.47, and link-click CTR is 2.17%.

`campaign_review` is **absent**. `review` (the long memo) is also **absent** on this stored row; the listing/detail page is using the brief next actions and reason above.

---

## Appendix — stored snapshot JSON

This is the packet from `campaign_performance_suggestions.snapshot` for Meta `120251936608840626`, pretty-printed. Daily history rows are truncated to 3 examples. Image bytes are not included (paths/URLs only). Numbers are copied from the database; they were not re-fetched from Meta.

```json
{
  "_stored_row": {
    "suggestion_id": 13,
    "stored_at": "2026-10-28 10:19:33",
    "status": "watch",
    "source": "llm",
    "model": "openai",
    "reason": "Issue: The issue is the landing page. People click the ad, and the page is not turning them into leads. $238.43 has been spent and there are still 0 leads. That is enough to judge.\nWhat to do: At https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}, the first heading is “Write code as fast as you think”; the page next asks visitors to “Start Now” and enter payment details. Replace the first heading with the saved ad headline “Lucos vs. Copilot vs. Cursor — Same Price, More Agents” and make the first screen ask for a lead before payment details. Hold the “Lucos - LP Visitors - 30d” retargeting audience: CPM is 66.44, reach is 378, frequency is 1.47, and link-click CTR is 2.17%."
  },
  "snapshot": {
    "brief": {
      "issue": "The issue is the landing page. People click the ad, and the page is not turning them into leads. $238.43 has been spent and there are still 0 leads. That is enough to judge.",
      "metrics": [
        {
          "group": "platform",
          "label": "Spend",
          "value": "$238.43"
        },
        {
          "group": "platform",
          "label": "Impressions",
          "value": "2,782"
        },
        {
          "group": "platform",
          "label": "Link clicks",
          "value": "82"
        },
        {
          "group": "platform",
          "label": "CTR",
          "value": "2.17%"
        },
        {
          "group": "platform",
          "label": "CPC",
          "value": "$2.91"
        },
        {
          "group": "platform",
          "label": "Platform conversions",
          "value": "0"
        },
        {
          "group": "platform",
          "label": "CPM",
          "value": "$66.44"
        },
        {
          "group": "platform",
          "label": "Reach",
          "value": "378"
        },
        {
          "group": "platform",
          "label": "Frequency",
          "value": "1.47"
        },
        {
          "group": "platform",
          "label": "Landing page views",
          "value": "11"
        },
        {
          "group": "platform",
          "label": "Cost per LPV",
          "value": "$2.78"
        },
        {
          "group": "platform",
          "label": "Meta learning",
          "value": "FAIL"
        },
        {
          "group": "internal",
          "label": "Internal orders",
          "value": "0.00"
        },
        {
          "group": "internal",
          "label": "Internal revenue",
          "value": "$0.00"
        },
        {
          "group": "internal",
          "label": "ROAS",
          "value": "—"
        },
        {
          "group": "internal",
          "label": "CPA",
          "value": "—"
        }
      ],
      "summary": "",
      "verdict": "watch",
      "version": 17,
      "insights": [
        "Health: Underperforming.",
        "Performance: Poor. $238.43 has been spent and there are still no leads. Spend $238.43; link-click CTR 2.95%; CPC $2.91; LPV rate 99%; 0 leads, so there is no cost per lead yet.",
        "Meta is spending, but our own records for this period are still at zero. Those records arrive a few days after the spend."
      ],
      "objective": "Leads",
      "data_notes": [],
      "short_lines": [
        "Pause the campaign. $238.43 is already spent, and the page is still not producing leads. Leaving it on spends more on the same page.",
        "The page title is “lucos.com”. The first line is “Write code as fast as you think”. Then the page asks “Start Now”. Change the first screen so it asks for the leads and the first line states “One Wrong File Change Can Cost You 20 Minutes” before “Start Now”.",
        "After that first screen is live, turn the campaign back on at the same budget. Do not raise the budget on the restart."
      ],
      "next_actions": [
        "At https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}, the first heading is “Write code as fast as you think”; the page next asks visitors to “Start Now” and enter payment details. Replace the first heading with the saved ad headline “Lucos vs. Copilot vs. Cursor — Same Price, More Agents” and make the first screen ask for a lead before payment details.",
        "Hold the “Lucos - LP Visitors - 30d” retargeting audience: CPM is 66.44, reach is 378, frequency is 1.47, and link-click CTR is 2.17%."
      ],
      "window_label": "last 30 days (2026-09-29 → 2026-10-28)",
      "allowed_moves": [
        "pause",
        "restart_same_budget",
        "fix_first_screen",
        "new_heading"
      ],
      "primary_lever": "fix_landing_page",
      "verdict_label": "Watch",
      "scaling_stance": "The issue is the landing page. People click the ad, and the page is not turning them into leads. $238.43 has been spent and there are still 0 leads. That is enough to judge.",
      "page_heading_saved": true,
      "primary_bottleneck": "Landing page",
      "next_actions_source": "llm",
      "internal_window_label": "Internal lag window 2026-10-20 → 2026-10-26"
    },
    "trend": {
      "status": "STRONG_NEGATIVE",
      "roas_7d": null,
      "spend_change_percent": -35.95
    },
    "reason": "Meta learning is FAIL. This is not passive monitoring — raise budget, soften the optimization event, or fix tracking before testing creatives.",
    "ad_sets": [
      {
        "name": "Lucos - Retargeting - LP Visitors - 30d-20260921",
        "status": "ACTIVE",
        "ad_set_id": "120251936608830626",
        "daily_budget": 5,
        "billing_event": "IMPRESSIONS",
        "optimization_goal": "OFFSITE_CONVERSIONS"
      }
    ],
    "reasons": [
      {
        "impact": "negative",
        "metric": "learning_stage",
        "channel": "platform",
        "current": "FAIL",
        "age_days": 34
      }
    ],
    "trigger": "scheduled_hourly",
    "verdict": "watch",
    "windows": {
      "1d": {
        "to": "2026-10-28 00:00:00",
        "cpa": null,
        "cpc": null,
        "ctr": null,
        "cvr": null,
        "from": "2026-10-28 00:00:00",
        "roas": null,
        "spend": 0,
        "clicks": 0,
        "orders": 0,
        "window": "1d",
        "buckets": 0,
        "revenue": 0,
        "conversions": 0,
        "impressions": 0,
        "link_clicks": null,
        "outbound_clicks": null,
        "conversion_value": 0,
        "expected_buckets": 1,
        "insufficient_data": true
      },
      "3d": {
        "to": "2026-10-28 00:00:00",
        "cpa": null,
        "cpc": 5.975,
        "ctr": 0.0118,
        "cvr": 0,
        "from": "2026-10-26 00:00:00",
        "roas": null,
        "spend": 11.95,
        "clicks": 2,
        "orders": 0,
        "window": "3d",
        "buckets": 2,
        "revenue": 0,
        "conversions": 0,
        "impressions": 170,
        "link_clicks": 2,
        "outbound_clicks": 2,
        "conversion_value": 0,
        "expected_buckets": 3,
        "insufficient_data": false
      },
      "3h": {
        "to": "2026-10-28 10:00:00",
        "cpa": null,
        "cpc": null,
        "ctr": null,
        "cvr": null,
        "from": "2026-10-28 08:00:00",
        "roas": null,
        "spend": 0,
        "clicks": 0,
        "orders": 0,
        "window": "3h",
        "buckets": 0,
        "revenue": 0,
        "conversions": 0,
        "impressions": 0,
        "link_clicks": null,
        "outbound_clicks": null,
        "conversion_value": 0,
        "expected_buckets": 3,
        "insufficient_data": true
      },
      "5h": {
        "to": "2026-10-28 10:00:00",
        "cpa": null,
        "cpc": null,
        "ctr": null,
        "cvr": null,
        "from": "2026-10-28 06:00:00",
        "roas": null,
        "spend": 0,
        "clicks": 0,
        "orders": 0,
        "window": "5h",
        "buckets": 0,
        "revenue": 0,
        "conversions": 0,
        "impressions": 0,
        "link_clicks": null,
        "outbound_clicks": null,
        "conversion_value": 0,
        "expected_buckets": 5,
        "insufficient_data": true
      },
      "7d": {
        "to": "2026-10-28 00:00:00",
        "cpa": null,
        "cpc": 3.063,
        "ctr": 0.0217,
        "cvr": 0,
        "from": "2026-10-22 00:00:00",
        "roas": null,
        "spend": 30.63,
        "clicks": 10,
        "orders": 0,
        "window": "7d",
        "buckets": 6,
        "revenue": 0,
        "conversions": 0,
        "impressions": 461,
        "link_clicks": 10,
        "outbound_clicks": 10,
        "conversion_value": 0,
        "expected_buckets": 7,
        "insufficient_data": false
      },
      "7h": {
        "to": "2026-10-28 10:00:00",
        "cpa": null,
        "cpc": null,
        "ctr": null,
        "cvr": null,
        "from": "2026-10-28 04:00:00",
        "roas": null,
        "spend": 0,
        "clicks": 0,
        "orders": 0,
        "window": "7h",
        "buckets": 0,
        "revenue": 0,
        "conversions": 0,
        "impressions": 0,
        "link_clicks": null,
        "outbound_clicks": null,
        "conversion_value": 0,
        "expected_buckets": 7,
        "insufficient_data": true
      },
      "14d": {
        "to": "2026-10-28 00:00:00",
        "cpa": null,
        "cpc": 2.8018,
        "ctr": 0.0254,
        "cvr": 0,
        "from": "2026-10-15 00:00:00",
        "roas": null,
        "spend": 78.45,
        "clicks": 28,
        "orders": 0,
        "window": "14d",
        "buckets": 13,
        "revenue": 0,
        "conversions": 0,
        "impressions": 1102,
        "link_clicks": 28,
        "outbound_clicks": 27,
        "conversion_value": 0,
        "expected_buckets": 14,
        "insufficient_data": false
      },
      "15d": {
        "to": "2026-10-28 00:00:00",
        "cpa": null,
        "cpc": 2.6285,
        "ctr": 0.0272,
        "cvr": 0,
        "from": "2026-10-14 00:00:00",
        "roas": null,
        "spend": 89.37,
        "clicks": 34,
        "orders": 0,
        "window": "15d",
        "buckets": 14,
        "revenue": 0,
        "conversions": 0,
        "impressions": 1252,
        "link_clicks": 34,
        "outbound_clicks": 33,
        "conversion_value": 0,
        "expected_buckets": 15,
        "insufficient_data": false
      },
      "30d": {
        "to": "2026-10-28 00:00:00",
        "cpa": null,
        "cpc": 2.9077,
        "ctr": 0.0295,
        "cvr": 0,
        "from": "2026-09-29 00:00:00",
        "roas": null,
        "spend": 238.43,
        "clicks": 82,
        "orders": 0,
        "window": "30d",
        "buckets": 29,
        "revenue": 0,
        "conversions": 0,
        "impressions": 2782,
        "link_clicks": 82,
        "outbound_clicks": 81,
        "conversion_value": 0,
        "expected_buckets": 30,
        "insufficient_data": false
      },
      "outcome_7d": {
        "to": "2026-10-26",
        "cpa": null,
        "cpc": null,
        "ctr": null,
        "cvr": null,
        "from": "2026-10-20",
        "roas": null,
        "leads": 0,
        "spend": 37.19,
        "clicks": 0,
        "orders": 0,
        "revenue": 0,
        "sum_cpc": 0,
        "bookings": 0,
        "installs": 0,
        "arb_orders": 0,
        "conversions": 0,
        "impressions": 0,
        "net_revenue": 0,
        "subscriptions": 0,
        "days_with_rows": 7,
        "platform_spend": 37.19,
        "revenue_source": "roi_dashboard",
        "estimated_revenue": 0
      }
    },
    "audience": {
      "age_max": 65,
      "age_min": 21,
      "countries": [
        "US"
      ],
      "interests": [],
      "job_titles": [],
      "custom_audience": true,
      "advantage_audience": false
    },
    "channels": {
      "day": {
        "to": "2026-10-28 00:00:00",
        "cpa": null,
        "cpc": 3.063,
        "ctr": 0.0217,
        "cvr": 0,
        "from": "2026-10-22 00:00:00",
        "roas": null,
        "spend": 30.63,
        "clicks": 10,
        "orders": 0,
        "window": "7d",
        "buckets": 6,
        "revenue": 0,
        "conversions": 0,
        "impressions": 461,
        "link_clicks": 10,
        "outbound_clicks": 10,
        "conversion_value": 0,
        "expected_buckets": 7,
        "insufficient_data": false
      },
      "hour": {
        "to": "2026-10-28 10:00:00",
        "cpa": null,
        "cpc": null,
        "ctr": null,
        "cvr": null,
        "from": "2026-10-28 04:00:00",
        "roas": null,
        "spend": 0,
        "clicks": 0,
        "orders": 0,
        "window": "7h",
        "buckets": 0,
        "revenue": 0,
        "conversions": 0,
        "impressions": 0,
        "link_clicks": null,
        "outbound_clicks": null,
        "conversion_value": 0,
        "expected_buckets": 7,
        "insufficient_data": true
      },
      "outcome": {
        "to": "2026-10-26",
        "cpa": null,
        "from": "2026-10-20",
        "roas": null,
        "leads": 0,
        "spend": 37.19,
        "orders": 0,
        "revenue": 0,
        "bookings": 0,
        "installs": 0,
        "available": true,
        "arb_orders": 0,
        "conversions": 0,
        "subscriptions": 0,
        "platform_spend": 37.19,
        "revenue_source": "roi_dashboard"
      }
    },
    "platform": "meta",
    "ai_status": "watch",
    "guardrail": {
      "notes": []
    },
    "account_id": "1950320145707342",
    "breakdowns": {
      "regions": [],
      "segments": [
        {
          "spend": 164.59,
          "value": "facebook",
          "clicks": 78,
          "dimension": "placement",
          "impressions": 2022
        },
        {
          "spend": 110.58,
          "value": "iphone",
          "clicks": 56,
          "dimension": "device",
          "impressions": 1180
        },
        {
          "spend": 85.15,
          "value": "android_smartphone",
          "clicks": 35,
          "dimension": "device",
          "impressions": 1081
        },
        {
          "spend": 67.24,
          "value": "instagram",
          "clicks": 27,
          "dimension": "placement",
          "impressions": 653
        },
        {
          "spend": 28.88,
          "value": "desktop",
          "clicks": 11,
          "dimension": "device",
          "impressions": 345
        },
        {
          "spend": 4.25,
          "value": "android_tablet",
          "clicks": 0,
          "dimension": "device",
          "impressions": 27
        },
        {
          "spend": 2.61,
          "value": "ipad",
          "clicks": 3,
          "dimension": "device",
          "impressions": 37
        },
        {
          "spend": 0.51,
          "value": "other",
          "clicks": 0,
          "dimension": "device",
          "impressions": 7
        }
      ]
    },
    "confidence": 0.85,
    "campaign_id": "120251936608840626",
    "data_source": "whale_adops",
    "capabilities": {
      "ingest_healthy": true,
      "campaign_mapping_ok": true,
      "internal_orders_available": false,
      "internal_revenue_available": true,
      "platform_metrics_available": true,
      "platform_conversions_available": false
    },
    "daily_budget": 5,
    "data_quality": {
      "status": "HEALTHY",
      "reasons": []
    },
    "evaluated_at": "2026-10-28 10:15:55",
    "campaign_name": "Lucos - Retargeting - LP Visitors - 30d-20260921",
    "daily_history": {
      "to": "2026-10-28",
      "from": "2026-09-29",
      "rows": [
        {
          "cpc": 1.2333,
          "ctr": 0.0811,
          "date": "2026-09-29",
          "leads": 0,
          "spend": 11.1,
          "clicks": 9,
          "orders": 0,
          "revenue": 0,
          "bookings": 0,
          "installs": 0,
          "conversions": 0,
          "impressions": 111,
          "platform_row": true,
          "subscriptions": 0,
          "roi_conversions": 0,
          "conversion_value": 0
        },
        {
          "cpc": 10.59,
          "ctr": 0.0099,
          "date": "2026-09-30",
          "leads": 0,
          "spend": 10.59,
          "clicks": 1,
          "orders": 0,
          "revenue": 0,
          "bookings": 0,
          "installs": 0,
          "conversions": 0,
          "impressions": 101,
          "platform_row": true,
          "subscriptions": 0,
          "roi_conversions": 0,
          "conversion_value": 0
        },
        {
          "cpc": 4.34,
          "ctr": 0.0337,
          "date": "2026-10-01",
          "leads": 0,
          "spend": 13.02,
          "clicks": 3,
          "orders": 0,
          "revenue": 0,
          "bookings": 0,
          "installs": 0,
          "conversions": 0,
          "impressions": 89,
          "platform_row": true,
          "subscriptions": 0,
          "roi_conversions": 0,
          "conversion_value": 0
        }
      ],
      "days_on_file": 29,
      "expected_days": 30,
      "row_count": 29,
      "_note": "Full day rows truncated here to 3 examples; stored snapshot has row_count days."
    },
    "action_allowed": true,
    "campaign_goals": {
      "status": "ACTIVE",
      "objective": "OUTCOME_LEADS",
      "buying_type": "AUCTION",
      "optimization_goals": [
        "OFFSITE_CONVERSIONS"
      ]
    },
    "engine_version": "v2",
    "decision_engine": "v2",
    "campaign_profile": {
      "name": "Lucos - Retargeting - LP Visitors - 30d-20260921",
      "platform": "meta",
      "objective": "OUTCOME_LEADS",
      "account_id": "1950320145707342",
      "started_at": "2026-09-25 08:31:44",
      "daily_budget": 5,
      "region_label": "Alabama, Arizona, Arkansas, California, Colorado, Connecticut, Delaware, Florida +43",
      "platform_status": "ACTIVE",
      "external_campaign_id": "120251936608840626",
      "platform_learning_label": "FAIL"
    },
    "creative_context": {
      "ads": [
        {
          "cta": "SEE_DETAILS",
          "name": "New Leads Ad – Copy 3",
          "ad_id": "120252007591870626",
          "images": [
            {
              "url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/807881557_28356415793980145_6924221377727116448_n.png?stp=dst-jpg_tt6&_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=mnQxQsADlyUQ7kNvwETS7BI&_nc_oc=AdqchP6uR2Ex4UCA3uHkYF8POV3rNHjB8E4U9gmxd7WzYCBEYbH7lRfrvyPb8Xkx-0o&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQLNZuL_zXwdP5sgc4AiJHp600cQ1ZD2BmVgUxYuyW49Gk2N06aMKj_wSmgiiWyH_wivy-ggf2Kb&oh=00_AQNfZXb1x1CEFn7UZpjPIIQeXzEJK7ZbWVufS_nFG6IHpw&oe=6ACEAE15",
              "kind": "image",
              "ad_id": "120252007591870626",
              "creative_id": "925887686918149"
            }
          ],
          "status": "ACTIVE",
          "headline": "One Wrong File Change Can Cost You 20 Minutes",
          "headlines": [
            "One Wrong File Change Can Cost You 20 Minutes",
            "Code Smarter, Not Harder",
            "Build, Code, Ship with Lucos",
            "One Plan, Many AI Superstars",
            "Unlock Best-in-Class AI"
          ],
          "image_url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/807881557_28356415793980145_6924221377727116448_n.png?stp=dst-jpg_tt6&_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=mnQxQsADlyUQ7kNvwETS7BI&_nc_oc=AdqchP6uR2Ex4UCA3uHkYF8POV3rNHjB8E4U9gmxd7WzYCBEYbH7lRfrvyPb8Xkx-0o&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQLNZuL_zXwdP5sgc4AiJHp600cQ1ZD2BmVgUxYuyW49Gk2N06aMKj_wSmgiiWyH_wivy-ggf2Kb&oh=00_AQNfZXb1x1CEFn7UZpjPIIQeXzEJK7ZbWVufS_nFG6IHpw&oe=6ACEAE15",
          "creative_id": "925887686918149",
          "description": null,
          "landing_url": "https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}",
          "last_7_days": {
            "cpc": null,
            "ctr": 0,
            "ad_id": "120252007591870626",
            "spend": 1.58,
            "clicks": 0,
            "impressions": 15
          },
          "last_30_days": {
            "cpc": 2.3167,
            "ctr": 0.0411,
            "ad_id": "120252007591870626",
            "spend": 13.9,
            "clicks": 6,
            "impressions": 146
          },
          "primary_text": "Lucos reviews every step before it touches your code — so you approve the change, not clean up after it. Most AI editors don't ask first."
        },
        {
          "cta": "SEE_DETAILS",
          "name": "New Leads Ad – Copy 2",
          "ad_id": "120252007565630626",
          "images": [
            {
              "url": "https://scontent-iad3-2.xx.fbcdn.net/v/t45.1600-4/817332330_28356368003984924_7554481272678988728_n.png?stp=dst-jpg_tt6&_nc_cat=111&ccb=1-7&_nc_sid=ff4730&_nc_ohc=qM-Pzoe7ilMQ7kNvwGgBIMV&_nc_oc=Adozjg9E84RYgUwYxeOpXm5u-h4f0DchKdsEgzWd0T86znwPpmKqPOCbeZKozdb_TpU&_nc_zt=1&_nc_ht=scontent-iad3-2.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQJVDgeuxEXdh4gg4kR52OOBdmceurbwU5FpeUpd_r5kta-NJhfX56FmZsqAR6KG4rr0N8Ydy0mX&oh=00_AQNl2xFU9ZYtPbne80XFpHEf0jVfqOWlioS_wC8qZ8EL3Q&oe=6ACE8584",
              "kind": "image",
              "ad_id": "120252007565630626",
              "creative_id": "2415409975657447"
            }
          ],
          "status": "ACTIVE",
          "headline": "More AI Models. Same Monthly Price.",
          "headlines": [
            "More AI Models. Same Monthly Price.",
            "Code Smarter, Not Harder",
            "Build, Code, Ship with Lucos",
            "One Plan, Many AI Superstars",
            "Unlock Best-in-Class AI"
          ],
          "image_url": "https://scontent-iad3-2.xx.fbcdn.net/v/t45.1600-4/817332330_28356368003984924_7554481272678988728_n.png?stp=dst-jpg_tt6&_nc_cat=111&ccb=1-7&_nc_sid=ff4730&_nc_ohc=qM-Pzoe7ilMQ7kNvwGgBIMV&_nc_oc=Adozjg9E84RYgUwYxeOpXm5u-h4f0DchKdsEgzWd0T86znwPpmKqPOCbeZKozdb_TpU&_nc_zt=1&_nc_ht=scontent-iad3-2.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQJVDgeuxEXdh4gg4kR52OOBdmceurbwU5FpeUpd_r5kta-NJhfX56FmZsqAR6KG4rr0N8Ydy0mX&oh=00_AQNl2xFU9ZYtPbne80XFpHEf0jVfqOWlioS_wC8qZ8EL3Q&oe=6ACE8584",
          "creative_id": "2415409975657447",
          "description": null,
          "landing_url": "https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}",
          "last_7_days": {
            "cpc": 3.475,
            "ctr": 0.0303,
            "ad_id": "120252007565630626",
            "spend": 6.95,
            "clicks": 2,
            "impressions": 66
          },
          "last_30_days": {
            "cpc": 3.2516,
            "ctr": 0.0326,
            "ad_id": "120252007565630626",
            "spend": 61.78,
            "clicks": 19,
            "impressions": 582
          },
          "primary_text": "Why pay for one AI model when Lucos gives you your pick of the best — Claude Opus, GPT-5.5, Gemini 2.5 Pro, and more — all on your existing plan."
        },
        {
          "cta": "SEE_DETAILS",
          "name": "New Leads Ad – Copy",
          "ad_id": "120252007038090626",
          "images": [
            {
              "url": "https://scontent-iad6-1.xx.fbcdn.net/v/t45.1600-4/803068009_28355968094024915_4067564384694805973_n.png?stp=dst-jpg_tt6&_nc_cat=109&ccb=1-7&_nc_sid=ff4730&_nc_ohc=zc_jv90LMZoQ7kNvwGBxfoc&_nc_oc=AdplVqiX49hDWgvBk7msZfXoojyxYiSu_v4s2KPnBBFGFT_bihaldVQccHHR74Zf_50&_nc_zt=1&_nc_ht=scontent-iad6-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQJT87uF2993mAjaRZoGVIRUE0hUwTL0G3aDX7VQBwSLmEtH9DBfX16uNlygxjmZNT8D6rSiGv6V&oh=00_AQM65IUI2KcPH7cKA5JZwedjXk4iwLYzWLa9A6NahCJzFw&oe=6ACE964B",
              "kind": "image",
              "ad_id": "120252007038090626",
              "creative_id": "1405974611011743"
            }
          ],
          "status": "ACTIVE",
          "headline": "Lucos vs. Copilot vs. Cursor — Same Price, More Agents",
          "headlines": [
            "Lucos vs. Copilot vs. Cursor — Same Price, More Agents",
            "Code Smarter, Not Harder",
            "Build, Code, Ship with Lucos"
          ],
          "image_url": "https://scontent-iad6-1.xx.fbcdn.net/v/t45.1600-4/803068009_28355968094024915_4067564384694805973_n.png?stp=dst-jpg_tt6&_nc_cat=109&ccb=1-7&_nc_sid=ff4730&_nc_ohc=zc_jv90LMZoQ7kNvwGBxfoc&_nc_oc=AdplVqiX49hDWgvBk7msZfXoojyxYiSu_v4s2KPnBBFGFT_bihaldVQccHHR74Zf_50&_nc_zt=1&_nc_ht=scontent-iad6-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQJT87uF2993mAjaRZoGVIRUE0hUwTL0G3aDX7VQBwSLmEtH9DBfX16uNlygxjmZNT8D6rSiGv6V&oh=00_AQM65IUI2KcPH7cKA5JZwedjXk4iwLYzWLa9A6NahCJzFw&oe=6ACE964B",
          "creative_id": "1405974611011743",
          "description": null,
          "landing_url": "https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}",
          "last_7_days": {
            "cpc": 2.112,
            "ctr": 0.0296,
            "ad_id": "120252007038090626",
            "spend": 10.56,
            "clicks": 5,
            "impressions": 169
          },
          "last_30_days": {
            "cpc": 2.5519,
            "ctr": 0.038,
            "ad_id": "120252007038090626",
            "spend": 81.66,
            "clicks": 32,
            "impressions": 843
          },
          "primary_text": "Still paying $200/month for your coding tools?\nBuild, code, and ship with Lucos for $9.99/month.\n\nAI agents, multiple models, indexed repositories, and cloud agents — all in one place.\n\nTry Lucos today."
        },
        {
          "cta": "SEE_DETAILS",
          "name": "New Leads Ad",
          "ad_id": "120251936608820626",
          "images": [
            {
              "url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/793561868_122199120788749071_1502699403418065593_n.png?stp=dst-jpg_tt6&_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=4eidbuqyT5UQ7kNvwFDFqLP&_nc_oc=Adok5b2FvTatnPAbfkjQXFas5RZV-ZUzTqEEFMML3_fdhY_ziNtoWRCcNC6gkZT7xTc&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQKP2fOa564odtbjpbLRGdhRomngkWlC16WjARuIknMImsyodXtCFcQejCa0ng_NwoEFKiO0IzGN&oh=00_AQP2r3uB4iF5MijhAE-Mzj6KXx0XRt9oZRqIqu5SdHuExg&oe=6ACE7E65",
              "kind": "image",
              "ad_id": "120251936608820626",
              "creative_id": "4685275421716266"
            }
          ],
          "status": "ACTIVE",
          "headline": "Why Pay $200? Build With Lucos for $9.99.",
          "headlines": [
            "Why Pay $200? Build With Lucos for $9.99.",
            "Code Smarter, Not Harder",
            "Build, Code, Ship with Lucos"
          ],
          "image_url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/793561868_122199120788749071_1502699403418065593_n.png?stp=dst-jpg_tt6&_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=4eidbuqyT5UQ7kNvwFDFqLP&_nc_oc=Adok5b2FvTatnPAbfkjQXFas5RZV-ZUzTqEEFMML3_fdhY_ziNtoWRCcNC6gkZT7xTc&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQKP2fOa564odtbjpbLRGdhRomngkWlC16WjARuIknMImsyodXtCFcQejCa0ng_NwoEFKiO0IzGN&oh=00_AQP2r3uB4iF5MijhAE-Mzj6KXx0XRt9oZRqIqu5SdHuExg&oe=6ACE7E65",
          "creative_id": "4685275421716266",
          "description": null,
          "landing_url": "https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}",
          "last_7_days": {
            "cpc": 3.8467,
            "ctr": 0.0142,
            "ad_id": "120251936608820626",
            "spend": 11.54,
            "clicks": 3,
            "impressions": 211
          },
          "last_30_days": {
            "cpc": 3.2436,
            "ctr": 0.0206,
            "ad_id": "120251936608820626",
            "spend": 81.09,
            "clicks": 25,
            "impressions": 1211
          },
          "primary_text": "Still paying $200/month for your coding tools?\nBuild, code, and ship with Lucos for $9.99/month.\n\nAI agents, multiple models, indexed repositories, and cloud agents — all in one place.\n\nTry Lucos today."
        },
        {
          "cta": "SEE_DETAILS",
          "name": "New Leads Ad - Copy",
          "ad_id": "120251936809680626",
          "images": [
            {
              "url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/797828927_122199121304749071_18562062992238863_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=CDtBXou_YyUQ7kNvwGB-1aq&_nc_oc=Adq1fXQ6lhGPsmWgJwM9JUKb2qAatW6t5LcghIKHPo-1KrUwPvtSF3LgbTsZ2agwtqw&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQLagAszHx3tUne9yr-zWDFkqaRProGe9HXtnKfVbywYnJ2p9g7mw25zyBqmK5eFLkUxAlN5KbGG&oh=00_AQNf0qwC9LlzRNkBHo0QYXfRD04byI-2B5D1oC8UQdmRTg&oe=6ACE9F6C",
              "kind": "image",
              "ad_id": "120251936809680626",
              "creative_id": "1633477905076439"
            }
          ],
          "status": "ACTIVE",
          "headline": "Why Pay $200? Build With Lucos for $9.99.",
          "headlines": [
            "Why Pay $200? Build With Lucos for $9.99.",
            "Code Smarter, Not Harder",
            "Build, Code, Ship with Lucos"
          ],
          "image_url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/797828927_122199121304749071_18562062992238863_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=CDtBXou_YyUQ7kNvwGB-1aq&_nc_oc=Adq1fXQ6lhGPsmWgJwM9JUKb2qAatW6t5LcghIKHPo-1KrUwPvtSF3LgbTsZ2agwtqw&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQLagAszHx3tUne9yr-zWDFkqaRProGe9HXtnKfVbywYnJ2p9g7mw25zyBqmK5eFLkUxAlN5KbGG&oh=00_AQNf0qwC9LlzRNkBHo0QYXfRD04byI-2B5D1oC8UQdmRTg&oe=6ACE9F6C",
          "creative_id": "1633477905076439",
          "description": null,
          "landing_url": "https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}",
          "last_30_days": {
            "cpc": null,
            "ctr": null,
            "ad_id": "120251936809680626",
            "spend": 0,
            "clicks": 0,
            "impressions": 0
          },
          "primary_text": "Still paying $200/month for your coding tools?\nBuild, code, and ship with Lucos for $9.99/month.\n\nAI agents, multiple models, indexed repositories, and cloud agents — all in one place.\n\nTry Lucos today."
        }
      ],
      "found": true,
      "images": [
        {
          "url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/807881557_28356415793980145_6924221377727116448_n.png?stp=dst-jpg_tt6&_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=mnQxQsADlyUQ7kNvwETS7BI&_nc_oc=AdqchP6uR2Ex4UCA3uHkYF8POV3rNHjB8E4U9gmxd7WzYCBEYbH7lRfrvyPb8Xkx-0o&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQLNZuL_zXwdP5sgc4AiJHp600cQ1ZD2BmVgUxYuyW49Gk2N06aMKj_wSmgiiWyH_wivy-ggf2Kb&oh=00_AQNfZXb1x1CEFn7UZpjPIIQeXzEJK7ZbWVufS_nFG6IHpw&oe=6ACEAE15",
          "kind": "image",
          "ad_id": "120252007591870626",
          "creative_id": "925887686918149"
        },
        {
          "url": "https://scontent-iad3-2.xx.fbcdn.net/v/t45.1600-4/817332330_28356368003984924_7554481272678988728_n.png?stp=dst-jpg_tt6&_nc_cat=111&ccb=1-7&_nc_sid=ff4730&_nc_ohc=qM-Pzoe7ilMQ7kNvwGgBIMV&_nc_oc=Adozjg9E84RYgUwYxeOpXm5u-h4f0DchKdsEgzWd0T86znwPpmKqPOCbeZKozdb_TpU&_nc_zt=1&_nc_ht=scontent-iad3-2.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQJVDgeuxEXdh4gg4kR52OOBdmceurbwU5FpeUpd_r5kta-NJhfX56FmZsqAR6KG4rr0N8Ydy0mX&oh=00_AQNl2xFU9ZYtPbne80XFpHEf0jVfqOWlioS_wC8qZ8EL3Q&oe=6ACE8584",
          "kind": "image",
          "ad_id": "120252007565630626",
          "creative_id": "2415409975657447"
        },
        {
          "url": "https://scontent-iad6-1.xx.fbcdn.net/v/t45.1600-4/803068009_28355968094024915_4067564384694805973_n.png?stp=dst-jpg_tt6&_nc_cat=109&ccb=1-7&_nc_sid=ff4730&_nc_ohc=zc_jv90LMZoQ7kNvwGBxfoc&_nc_oc=AdplVqiX49hDWgvBk7msZfXoojyxYiSu_v4s2KPnBBFGFT_bihaldVQccHHR74Zf_50&_nc_zt=1&_nc_ht=scontent-iad6-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQJT87uF2993mAjaRZoGVIRUE0hUwTL0G3aDX7VQBwSLmEtH9DBfX16uNlygxjmZNT8D6rSiGv6V&oh=00_AQM65IUI2KcPH7cKA5JZwedjXk4iwLYzWLa9A6NahCJzFw&oe=6ACE964B",
          "kind": "image",
          "ad_id": "120252007038090626",
          "creative_id": "1405974611011743"
        },
        {
          "url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/793561868_122199120788749071_1502699403418065593_n.png?stp=dst-jpg_tt6&_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=4eidbuqyT5UQ7kNvwFDFqLP&_nc_oc=Adok5b2FvTatnPAbfkjQXFas5RZV-ZUzTqEEFMML3_fdhY_ziNtoWRCcNC6gkZT7xTc&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQKP2fOa564odtbjpbLRGdhRomngkWlC16WjARuIknMImsyodXtCFcQejCa0ng_NwoEFKiO0IzGN&oh=00_AQP2r3uB4iF5MijhAE-Mzj6KXx0XRt9oZRqIqu5SdHuExg&oe=6ACE7E65",
          "kind": "image",
          "ad_id": "120251936608820626",
          "creative_id": "4685275421716266"
        },
        {
          "url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/797828927_122199121304749071_18562062992238863_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=CDtBXou_YyUQ7kNvwGB-1aq&_nc_oc=Adq1fXQ6lhGPsmWgJwM9JUKb2qAatW6t5LcghIKHPo-1KrUwPvtSF3LgbTsZ2agwtqw&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQLagAszHx3tUne9yr-zWDFkqaRProGe9HXtnKfVbywYnJ2p9g7mw25zyBqmK5eFLkUxAlN5KbGG&oh=00_AQNf0qwC9LlzRNkBHo0QYXfRD04byI-2B5D1oC8UQdmRTg&oe=6ACE9F6C",
          "kind": "image",
          "ad_id": "120251936809680626",
          "creative_id": "1633477905076439"
        }
      ],
      "source": "whale",
      "website": {
        "host": "lucos.com",
        "pages": [
          {
            "url": "https://lucos.com/",
            "role": "homepage",
            "text": "",
            "title": "lucos.com",
            "headings": [],
            "description": null
          }
        ]
      },
      "creatives": [
        {
          "cta": "SEE_DETAILS",
          "name": "New Leads Ad – Copy 3",
          "ad_id": "120252007591870626",
          "images": [
            {
              "url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/807881557_28356415793980145_6924221377727116448_n.png?stp=dst-jpg_tt6&_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=mnQxQsADlyUQ7kNvwETS7BI&_nc_oc=AdqchP6uR2Ex4UCA3uHkYF8POV3rNHjB8E4U9gmxd7WzYCBEYbH7lRfrvyPb8Xkx-0o&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQLNZuL_zXwdP5sgc4AiJHp600cQ1ZD2BmVgUxYuyW49Gk2N06aMKj_wSmgiiWyH_wivy-ggf2Kb&oh=00_AQNfZXb1x1CEFn7UZpjPIIQeXzEJK7ZbWVufS_nFG6IHpw&oe=6ACEAE15",
              "kind": "image",
              "ad_id": "120252007591870626",
              "creative_id": "925887686918149"
            }
          ],
          "status": "ACTIVE",
          "headline": "One Wrong File Change Can Cost You 20 Minutes",
          "headlines": [
            "One Wrong File Change Can Cost You 20 Minutes",
            "Code Smarter, Not Harder",
            "Build, Code, Ship with Lucos",
            "One Plan, Many AI Superstars",
            "Unlock Best-in-Class AI"
          ],
          "image_url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/807881557_28356415793980145_6924221377727116448_n.png?stp=dst-jpg_tt6&_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=mnQxQsADlyUQ7kNvwETS7BI&_nc_oc=AdqchP6uR2Ex4UCA3uHkYF8POV3rNHjB8E4U9gmxd7WzYCBEYbH7lRfrvyPb8Xkx-0o&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQLNZuL_zXwdP5sgc4AiJHp600cQ1ZD2BmVgUxYuyW49Gk2N06aMKj_wSmgiiWyH_wivy-ggf2Kb&oh=00_AQNfZXb1x1CEFn7UZpjPIIQeXzEJK7ZbWVufS_nFG6IHpw&oe=6ACEAE15",
          "creative_id": "925887686918149",
          "description": null,
          "landing_url": "https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}",
          "last_7_days": {
            "cpc": null,
            "ctr": 0,
            "ad_id": "120252007591870626",
            "spend": 1.58,
            "clicks": 0,
            "impressions": 15
          },
          "last_30_days": {
            "cpc": 2.3167,
            "ctr": 0.0411,
            "ad_id": "120252007591870626",
            "spend": 13.9,
            "clicks": 6,
            "impressions": 146
          },
          "primary_text": "Lucos reviews every step before it touches your code — so you approve the change, not clean up after it. Most AI editors don't ask first."
        },
        {
          "cta": "SEE_DETAILS",
          "name": "New Leads Ad – Copy 2",
          "ad_id": "120252007565630626",
          "images": [
            {
              "url": "https://scontent-iad3-2.xx.fbcdn.net/v/t45.1600-4/817332330_28356368003984924_7554481272678988728_n.png?stp=dst-jpg_tt6&_nc_cat=111&ccb=1-7&_nc_sid=ff4730&_nc_ohc=qM-Pzoe7ilMQ7kNvwGgBIMV&_nc_oc=Adozjg9E84RYgUwYxeOpXm5u-h4f0DchKdsEgzWd0T86znwPpmKqPOCbeZKozdb_TpU&_nc_zt=1&_nc_ht=scontent-iad3-2.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQJVDgeuxEXdh4gg4kR52OOBdmceurbwU5FpeUpd_r5kta-NJhfX56FmZsqAR6KG4rr0N8Ydy0mX&oh=00_AQNl2xFU9ZYtPbne80XFpHEf0jVfqOWlioS_wC8qZ8EL3Q&oe=6ACE8584",
              "kind": "image",
              "ad_id": "120252007565630626",
              "creative_id": "2415409975657447"
            }
          ],
          "status": "ACTIVE",
          "headline": "More AI Models. Same Monthly Price.",
          "headlines": [
            "More AI Models. Same Monthly Price.",
            "Code Smarter, Not Harder",
            "Build, Code, Ship with Lucos",
            "One Plan, Many AI Superstars",
            "Unlock Best-in-Class AI"
          ],
          "image_url": "https://scontent-iad3-2.xx.fbcdn.net/v/t45.1600-4/817332330_28356368003984924_7554481272678988728_n.png?stp=dst-jpg_tt6&_nc_cat=111&ccb=1-7&_nc_sid=ff4730&_nc_ohc=qM-Pzoe7ilMQ7kNvwGgBIMV&_nc_oc=Adozjg9E84RYgUwYxeOpXm5u-h4f0DchKdsEgzWd0T86znwPpmKqPOCbeZKozdb_TpU&_nc_zt=1&_nc_ht=scontent-iad3-2.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQJVDgeuxEXdh4gg4kR52OOBdmceurbwU5FpeUpd_r5kta-NJhfX56FmZsqAR6KG4rr0N8Ydy0mX&oh=00_AQNl2xFU9ZYtPbne80XFpHEf0jVfqOWlioS_wC8qZ8EL3Q&oe=6ACE8584",
          "creative_id": "2415409975657447",
          "description": null,
          "landing_url": "https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}",
          "last_7_days": {
            "cpc": 3.475,
            "ctr": 0.0303,
            "ad_id": "120252007565630626",
            "spend": 6.95,
            "clicks": 2,
            "impressions": 66
          },
          "last_30_days": {
            "cpc": 3.2516,
            "ctr": 0.0326,
            "ad_id": "120252007565630626",
            "spend": 61.78,
            "clicks": 19,
            "impressions": 582
          },
          "primary_text": "Why pay for one AI model when Lucos gives you your pick of the best — Claude Opus, GPT-5.5, Gemini 2.5 Pro, and more — all on your existing plan."
        },
        {
          "cta": "SEE_DETAILS",
          "name": "New Leads Ad – Copy",
          "ad_id": "120252007038090626",
          "images": [
            {
              "url": "https://scontent-iad6-1.xx.fbcdn.net/v/t45.1600-4/803068009_28355968094024915_4067564384694805973_n.png?stp=dst-jpg_tt6&_nc_cat=109&ccb=1-7&_nc_sid=ff4730&_nc_ohc=zc_jv90LMZoQ7kNvwGBxfoc&_nc_oc=AdplVqiX49hDWgvBk7msZfXoojyxYiSu_v4s2KPnBBFGFT_bihaldVQccHHR74Zf_50&_nc_zt=1&_nc_ht=scontent-iad6-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQJT87uF2993mAjaRZoGVIRUE0hUwTL0G3aDX7VQBwSLmEtH9DBfX16uNlygxjmZNT8D6rSiGv6V&oh=00_AQM65IUI2KcPH7cKA5JZwedjXk4iwLYzWLa9A6NahCJzFw&oe=6ACE964B",
              "kind": "image",
              "ad_id": "120252007038090626",
              "creative_id": "1405974611011743"
            }
          ],
          "status": "ACTIVE",
          "headline": "Lucos vs. Copilot vs. Cursor — Same Price, More Agents",
          "headlines": [
            "Lucos vs. Copilot vs. Cursor — Same Price, More Agents",
            "Code Smarter, Not Harder",
            "Build, Code, Ship with Lucos"
          ],
          "image_url": "https://scontent-iad6-1.xx.fbcdn.net/v/t45.1600-4/803068009_28355968094024915_4067564384694805973_n.png?stp=dst-jpg_tt6&_nc_cat=109&ccb=1-7&_nc_sid=ff4730&_nc_ohc=zc_jv90LMZoQ7kNvwGBxfoc&_nc_oc=AdplVqiX49hDWgvBk7msZfXoojyxYiSu_v4s2KPnBBFGFT_bihaldVQccHHR74Zf_50&_nc_zt=1&_nc_ht=scontent-iad6-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQJT87uF2993mAjaRZoGVIRUE0hUwTL0G3aDX7VQBwSLmEtH9DBfX16uNlygxjmZNT8D6rSiGv6V&oh=00_AQM65IUI2KcPH7cKA5JZwedjXk4iwLYzWLa9A6NahCJzFw&oe=6ACE964B",
          "creative_id": "1405974611011743",
          "description": null,
          "landing_url": "https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}",
          "last_7_days": {
            "cpc": 2.112,
            "ctr": 0.0296,
            "ad_id": "120252007038090626",
            "spend": 10.56,
            "clicks": 5,
            "impressions": 169
          },
          "last_30_days": {
            "cpc": 2.5519,
            "ctr": 0.038,
            "ad_id": "120252007038090626",
            "spend": 81.66,
            "clicks": 32,
            "impressions": 843
          },
          "primary_text": "Still paying $200/month for your coding tools?\nBuild, code, and ship with Lucos for $9.99/month.\n\nAI agents, multiple models, indexed repositories, and cloud agents — all in one place.\n\nTry Lucos today."
        },
        {
          "cta": "SEE_DETAILS",
          "name": "New Leads Ad",
          "ad_id": "120251936608820626",
          "images": [
            {
              "url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/793561868_122199120788749071_1502699403418065593_n.png?stp=dst-jpg_tt6&_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=4eidbuqyT5UQ7kNvwFDFqLP&_nc_oc=Adok5b2FvTatnPAbfkjQXFas5RZV-ZUzTqEEFMML3_fdhY_ziNtoWRCcNC6gkZT7xTc&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQKP2fOa564odtbjpbLRGdhRomngkWlC16WjARuIknMImsyodXtCFcQejCa0ng_NwoEFKiO0IzGN&oh=00_AQP2r3uB4iF5MijhAE-Mzj6KXx0XRt9oZRqIqu5SdHuExg&oe=6ACE7E65",
              "kind": "image",
              "ad_id": "120251936608820626",
              "creative_id": "4685275421716266"
            }
          ],
          "status": "ACTIVE",
          "headline": "Why Pay $200? Build With Lucos for $9.99.",
          "headlines": [
            "Why Pay $200? Build With Lucos for $9.99.",
            "Code Smarter, Not Harder",
            "Build, Code, Ship with Lucos"
          ],
          "image_url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/793561868_122199120788749071_1502699403418065593_n.png?stp=dst-jpg_tt6&_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=4eidbuqyT5UQ7kNvwFDFqLP&_nc_oc=Adok5b2FvTatnPAbfkjQXFas5RZV-ZUzTqEEFMML3_fdhY_ziNtoWRCcNC6gkZT7xTc&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQKP2fOa564odtbjpbLRGdhRomngkWlC16WjARuIknMImsyodXtCFcQejCa0ng_NwoEFKiO0IzGN&oh=00_AQP2r3uB4iF5MijhAE-Mzj6KXx0XRt9oZRqIqu5SdHuExg&oe=6ACE7E65",
          "creative_id": "4685275421716266",
          "description": null,
          "landing_url": "https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}",
          "last_7_days": {
            "cpc": 3.8467,
            "ctr": 0.0142,
            "ad_id": "120251936608820626",
            "spend": 11.54,
            "clicks": 3,
            "impressions": 211
          },
          "last_30_days": {
            "cpc": 3.2436,
            "ctr": 0.0206,
            "ad_id": "120251936608820626",
            "spend": 81.09,
            "clicks": 25,
            "impressions": 1211
          },
          "primary_text": "Still paying $200/month for your coding tools?\nBuild, code, and ship with Lucos for $9.99/month.\n\nAI agents, multiple models, indexed repositories, and cloud agents — all in one place.\n\nTry Lucos today."
        },
        {
          "cta": "SEE_DETAILS",
          "name": "New Leads Ad - Copy",
          "ad_id": "120251936809680626",
          "images": [
            {
              "url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/797828927_122199121304749071_18562062992238863_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=CDtBXou_YyUQ7kNvwGB-1aq&_nc_oc=Adq1fXQ6lhGPsmWgJwM9JUKb2qAatW6t5LcghIKHPo-1KrUwPvtSF3LgbTsZ2agwtqw&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQLagAszHx3tUne9yr-zWDFkqaRProGe9HXtnKfVbywYnJ2p9g7mw25zyBqmK5eFLkUxAlN5KbGG&oh=00_AQNf0qwC9LlzRNkBHo0QYXfRD04byI-2B5D1oC8UQdmRTg&oe=6ACE9F6C",
              "kind": "image",
              "ad_id": "120251936809680626",
              "creative_id": "1633477905076439"
            }
          ],
          "status": "ACTIVE",
          "headline": "Why Pay $200? Build With Lucos for $9.99.",
          "headlines": [
            "Why Pay $200? Build With Lucos for $9.99.",
            "Code Smarter, Not Harder",
            "Build, Code, Ship with Lucos"
          ],
          "image_url": "https://scontent-iad3-1.xx.fbcdn.net/v/t45.1600-4/797828927_122199121304749071_18562062992238863_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=ff4730&_nc_ohc=CDtBXou_YyUQ7kNvwGB-1aq&_nc_oc=Adq1fXQ6lhGPsmWgJwM9JUKb2qAatW6t5LcghIKHPo-1KrUwPvtSF3LgbTsZ2agwtqw&_nc_zt=1&_nc_ht=scontent-iad3-1.xx&edm=AAT1rw8EAAAA&_nc_gid=YjCJD6wal-KZuSi_eEyZqg&_nc_tpa=Q5bMBQLagAszHx3tUne9yr-zWDFkqaRProGe9HXtnKfVbywYnJ2p9g7mw25zyBqmK5eFLkUxAlN5KbGG&oh=00_AQNf0qwC9LlzRNkBHo0QYXfRD04byI-2B5D1oC8UQdmRTg&oe=6ACE9F6C",
          "creative_id": "1633477905076439",
          "description": null,
          "landing_url": "https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}",
          "last_30_days": {
            "cpc": null,
            "ctr": null,
            "ad_id": "120251936809680626",
            "spend": 0,
            "clicks": 0,
            "impressions": 0
          },
          "primary_text": "Still paying $200/month for your coding tools?\nBuild, code, and ship with Lucos for $9.99/month.\n\nAI agents, multiple models, indexed repositories, and cloud agents — all in one place.\n\nTry Lucos today."
        }
      ],
      "landing_url": "https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}",
      "landing_page": {
        "text": "Lucos · The AI agent-first editor Write code as fast as you think The smart code editor used by 1M+ developers and 50% of the Fortune 500. Tab autocomplete, autonomous agents, cloud runners — all from one screen. Start Now Enjoy complete access for $9.99/month MM 01 02 03 04 05 06 07 08 09 10 11 12 YY 26 27 28 29 30 31 32 33 34 35 36 I agree to Offer Details, Terms of Use & Privacy Policy . Offer ",
        "title": "lucos.com",
        "headings": [
          "Write code as fast as you think",
          "Start Now",
          "A platform for building, not just editing",
          "Pricing that scales with you",
          "Common Questions"
        ],
        "fetched_at": "2026-10-28T10:16:07+00:00",
        "description": null
      },
      "landing_urls": [
        "https://lucos.com/landing?utm_source=meta&utm_campaign={{campaign.id}}"
      ],
      "ad_performance": [
        {
          "cpc": null,
          "ctr": 0,
          "ad_id": "120252007591870626",
          "spend": 1.58,
          "clicks": 0,
          "impressions": 15
        },
        {
          "cpc": 3.8467,
          "ctr": 0.0142,
          "ad_id": "120251936608820626",
          "spend": 11.54,
          "clicks": 3,
          "impressions": 211
        },
        {
          "cpc": 2.112,
          "ctr": 0.0296,
          "ad_id": "120252007038090626",
          "spend": 10.56,
          "clicks": 5,
          "impressions": 169
        },
        {
          "cpc": 3.475,
          "ctr": 0.0303,
          "ad_id": "120252007565630626",
          "spend": 6.95,
          "clicks": 2,
          "impressions": 66
        }
      ]
    },
    "improvement_brief": {
      "issue": "The issue is the landing page. People click the ad, and the page is not turning them into leads. $238.43 has been spent and there are still 0 leads. That is enough to judge.",
      "targets": {
        "max_cpc": 2,
        "target_cpa": 50,
        "maximum_cpa": 75,
        "target_roas": 2,
        "min_ad_spend_to_judge": 10,
        "weekly_optimization_events": 50
      },
      "audience": {
        "age_max": 65,
        "age_min": 21,
        "countries": [
          "US"
        ],
        "interests": [],
        "job_titles": [],
        "custom_audience": true,
        "advantage_audience": false
      },
      "delivery": {
        "cpm": 66.44,
        "reach": 378,
        "spend_7d": 30.63,
        "clicks_7d": 10,
        "frequency": 1.4683,
        "ctr_percent": 2.17,
        "cost_per_lpv": 2.78,
        "impressions_7d": 461,
        "link_clicks_7d": 10,
        "landing_page_views": 11
      },
      "must_say": [
        "Meta learning stage is FAIL.",
        "Daily budget is too low to reliably finish Meta learning for this conversion goal (about 50 results a week). Say raise budget or use an easier event.",
        "CPM is 66.44.",
        "reach is 378.",
        "frequency is 1.47.",
        "Link-click CTR is 2.17%."
      ],
      "objective": "Leads",
      "broken_step": "volume",
      "feasibility": "underpowered_budget",
      "landing_page": {
        "text": "Lucos · The AI agent-first editor Write code as fast as you think The smart code editor used by 1M+ developers and 50% of the Fortune 500. Tab autocomplete, autonomous agents, cloud runners — all from one screen. Start Now Enjoy complete access for $9.99/month MM 01 02 03 04 05 06 07 08 09 10 11 12 YY 26 27 28 29 30 31 32 33 34 35 36 I agree to Offer Details, Terms of Use & Privacy Policy . Offer ",
        "title": "lucos.com",
        "headings": [
          "Write code as fast as you think",
          "Start Now",
          "A platform for building, not just editing",
          "Pricing that scales with you",
          "Common Questions"
        ]
      },
      "must_not_say": [
        "Do not say Meta can show ads on GitHub, Stack Overflow, or VS Code as placements.",
        "Do not add cold interest audiences to a retargeting ad set.",
        "Do not say the campaign is still learning or monitoring only when Meta learning succeeded or delivery is broken or the budget cannot learn."
      ],
      "allowed_moves": [
        "pause",
        "restart_same_budget",
        "fix_first_screen",
        "new_heading",
        "raise_budget_to_learn",
        "soften_optimization_event",
        "hold_audience",
        "advantage_plus_placements",
        "widen_retargeting",
        "exclude_converters",
        "hold_cold_interests"
      ],
      "audience_mode": "retargeting",
      "delivery_state": "delivering",
      "forbidden_moves": [
        "invent_github_placements",
        "invent_competitor_placements",
        "add_cold_interests",
        "keep_goal_unchanged_while_learning",
        "say_monitoring_only"
      ],
      "page_heading_saved": true,
      "meta_learning_stage": "FAIL",
      "primary_result_event": "lead",
      "primary_result_label": "leads"
    },
    "window_comparison": {
      "3d": {
        "spend": 11.95,
        "clicks": 2,
        "buckets": 2,
        "conversions": 0,
        "impressions": 170,
        "conversion_value": 0,
        "expected_buckets": 3
      },
      "7d": {
        "spend": 30.63,
        "clicks": 10,
        "buckets": 6,
        "conversions": 0,
        "impressions": 461,
        "conversion_value": 0,
        "expected_buckets": 7
      },
      "15d": {
        "spend": 89.37,
        "clicks": 34,
        "buckets": 14,
        "conversions": 0,
        "impressions": 1252,
        "conversion_value": 0,
        "expected_buckets": 15
      }
    },
    "recommended_action": "NONE",
    "ad_set_optimization": {
      "to": "2026-10-28",
      "from": "2026-10-22",
      "ad_sets": [
        {
          "bid": {
            "bid_amount": null,
            "target_cpa": null,
            "target_roas": null,
            "bid_strategy": "LOWEST_COST_WITHOUT_CAP",
            "budget_level": "adset",
            "daily_budget": 5,
            "lifetime_budget": null,
            "budget_remaining": 5
          },
          "name": "Lucos - Retargeting - LP Visitors - 30d-20260921",
          "status": "ACTIVE",
          "audience": {
            "type": "custom",
            "age_max": 65,
            "age_min": 21,
            "devices": [
              "mobile",
              "desktop"
            ],
            "genders": null,
            "countries": [
              "US"
            ],
            "interests": [],
            "country_source": "setup",
            "audience_overlap": null,
            "placement_labels": [
              "Facebook Feed",
              "Facebook Right Hand Column",
              "Facebook Instream Video",
              "Facebook Marketplace",
              "Facebook Stories",
              "Facebook Search",
              "Facebook Biz Disco Feed",
              "Facebook Reels",
              "Facebook Facebook Reels Overlay",
              "Facebook Profile Feed",
              "Facebook Notification",
              "Instagram Feed",
              "Instagram Stories",
              "Instagram Reels",
              "Instagram Explore Home",
              "Instagram Profile Feed",
              "Instagram Ig Search"
            ],
            "advantage_audience": true,
            "included_audiences": [
              {
                "id": "120251936454020626",
                "name": "Lucos - LP Visitors - 30d",
                "subtype": null
              }
            ],
            "audience_size_lower": null,
            "audience_size_upper": null
          },
          "delivery": {
            "cpa": null,
            "cpc": 2.19,
            "cpm": 66.44,
            "roas": 0,
            "reach": 378,
            "spend": 30.63,
            "clicks": 14,
            "frequency": 1.4683,
            "conversions": 0,
            "impressions": 461,
            "outbound_ctr": 0.0217,
            "outbound_clicks": 10,
            "conversion_value": 0,
            "frequency_window": "7d",
            "landing_page_views": 11
          },
          "ad_set_id": "120251936608830626",
          "breakdowns": {
            "ages": [],
            "devices": [
              {
                "group": "mobile",
                "spend": 10.51,
                "clicks": 4,
                "device": "iphone",
                "conversions": 0,
                "impressions": 147
              },
              {
                "group": "mobile",
                "spend": 9.45,
                "clicks": 6,
                "device": "android_smartphone",
                "conversions": 0,
                "impressions": 140
              },
              {
                "group": "desktop",
                "spend": 3.94,
                "clicks": 3,
                "device": "desktop",
                "conversions": 0,
                "impressions": 65
              },
              {
                "group": "tablet",
                "spend": 0.18,
                "clicks": 0,
                "device": "android_tablet",
                "conversions": 0,
                "impressions": 3
              },
              {
                "group": "tablet",
                "spend": 0.1,
                "clicks": 0,
                "device": "ipad",
                "conversions": 0,
                "impressions": 3
              },
              {
                "group": "other",
                "spend": 0.05,
                "clicks": 0,
                "device": "other",
                "conversions": 0,
                "impressions": 1
              }
            ],
            "genders": [],
            "regions": [
              {
                "spend": 2.75,
                "clicks": 3,
                "region": "Florida",
                "conversions": 0,
                "impressions": 45
              },
              {
                "spend": 2.62,
                "clicks": 0,
                "region": "California",
                "conversions": 0,
                "impressions": 32
              },
              {
                "spend": 1.95,
                "clicks": 2,
                "region": "New Jersey",
                "conversions": 0,
                "impressions": 26
              },
              {
                "spend": 1.65,
                "clicks": 0,
                "region": "Georgia",
                "conversions": 0,
                "impressions": 14
              },
              {
                "spend": 1.63,
                "clicks": 1,
                "region": "Arizona",
                "conversions": 0,
                "impressions": 9
              },
              {
                "spend": 1.13,
                "clicks": 1,
                "region": "Ohio",
                "conversions": 0,
                "impressions": 20
              },
              {
                "spend": 0.88,
                "clicks": 0,
                "region": "Kentucky",
                "conversions": 0,
                "impressions": 6
              },
              {
                "spend": 0.86,
                "clicks": 1,
                "region": "Indiana",
                "conversions": 0,
                "impressions": 8
              },
              {
                "spend": 0.82,
                "clicks": 0,
                "region": "Michigan",
                "conversions": 0,
                "impressions": 12
              },
              {
                "spend": 0.81,
                "clicks": 1,
                "region": "Illinois",
                "conversions": 0,
                "impressions": 10
              },
              {
                "spend": 0.78,
                "clicks": 1,
                "region": "North Carolina",
                "conversions": 0,
                "impressions": 12
              },
              {
                "spend": 0.78,
                "clicks": 0,
                "region": "Texas",
                "conversions": 0,
                "impressions": 21
              },
              {
                "spend": 0.69,
                "clicks": 1,
                "region": "Alabama",
                "conversions": 0,
                "impressions": 9
              },
              {
                "spend": 0.58,
                "clicks": 0,
                "region": "New York",
                "conversions": 0,
                "impressions": 12
              },
              {
                "spend": 0.54,
                "clicks": 0,
                "region": "Massachusetts",
                "conversions": 0,
                "impressions": 10
              },
              {
                "spend": 0.49,
                "clicks": 0,
                "region": "Utah",
                "conversions": 0,
                "impressions": 2
              },
              {
                "spend": 0.47,
                "clicks": 0,
                "region": "Louisiana",
                "conversions": 0,
                "impressions": 5
              },
              {
                "spend": 0.46,
                "clicks": 2,
                "region": "Virginia",
                "conversions": 0,
                "impressions": 9
              },
              {
                "spend": 0.42,
                "clicks": 0,
                "region": "Pennsylvania",
                "conversions": 0,
                "impressions": 10
              },
              {
                "spend": 0.39,
                "clicks": 0,
                "region": "Missouri",
                "conversions": 0,
                "impressions": 14
              },
              {
                "spend": 0.39,
                "clicks": 0,
                "region": "Oregon",
                "conversions": 0,
                "impressions": 8
              },
              {
                "spend": 0.37,
                "clicks": 0,
                "region": "Iowa",
                "conversions": 0,
                "impressions": 1
              },
              {
                "spend": 0.33,
                "clicks": 0,
                "region": "Tennessee",
                "conversions": 0,
                "impressions": 6
              },
              {
                "spend": 0.31,
                "clicks": 0,
                "region": "Maryland",
                "conversions": 0,
                "impressions": 6
              },
              {
                "spend": 0.3,
                "clicks": 0,
                "region": "Oklahoma",
                "conversions": 0,
                "impressions": 7
              },
              {
                "spend": 0.29,
                "clicks": 0,
                "region": "Minnesota",
                "conversions": 0,
                "impressions": 6
              },
              {
                "spend": 0.27,
                "clicks": 0,
                "region": "Colorado",
                "conversions": 0,
                "impressions": 6
              },
              {
                "spend": 0.27,
                "clicks": 0,
                "region": "Wisconsin",
                "conversions": 0,
                "impressions": 3
              },
              {
                "spend": 0.15,
                "clicks": 0,
                "region": "Kansas",
                "conversions": 0,
                "impressions": 1
              },
              {
                "spend": 0.12,
                "clicks": 0,
                "region": "Washington",
                "conversions": 0,
                "impressions": 2
              },
              {
                "spend": 0.12,
                "clicks": 0,
                "region": "South Carolina",
                "conversions": 0,
                "impressions": 1
              },
              {
                "spend": 0.11,
                "clicks": 0,
                "region": "Arkansas",
                "conversions": 0,
                "impressions": 2
              },
              {
                "spend": 0.11,
                "clicks": 0,
                "region": "Connecticut",
                "conversions": 0,
                "impressions": 5
              },
              {
                "spend": 0.08,
                "clicks": 0,
                "region": "Nevada",
                "conversions": 0,
                "impressions": 3
              },
              {
                "spend": 0.07,
                "clicks": 0,
                "region": "Nebraska",
                "conversions": 0,
                "impressions": 5
              },
              {
                "spend": 0.06,
                "clicks": 0,
                "region": "Washington, District of Columbia",
                "conversions": 0,
                "impressions": 2
              },
              {
                "spend": 0.05,
                "clicks": 0,
                "region": "New Hampshire",
                "conversions": 0,
                "impressions": 1
              },
              {
                "spend": 0.04,
                "clicks": 0,
                "region": "Delaware",
                "conversions": 0,
                "impressions": 3
              },
              {
                "spend": 0.03,
                "clicks": 0,
                "region": "Montana",
                "conversions": 0,
                "impressions": 1
              },
              {
                "spend": 0.02,
                "clicks": 0,
                "region": "Idaho",
                "conversions": 0,
                "impressions": 1
              },
              {
                "spend": 0.02,
                "clicks": 0,
                "region": "South Dakota",
                "conversions": 0,
                "impressions": 1
              },
              {
                "spend": 0.01,
                "clicks": 0,
                "region": "Mississippi",
                "conversions": 0,
                "impressions": 1
              },
              {
                "spend": 0.01,
                "clicks": 0,
                "region": "Hawaii",
                "conversions": 0,
                "impressions": 1
              }
            ],
            "countries": [],
            "age_gender": [
              {
                "age": "35-44",
                "spend": 8.99,
                "clicks": 3,
                "gender": "male",
                "conversions": 0,
                "impressions": 131
              },
              {
                "age": "45-54",
                "spend": 6.64,
                "clicks": 4,
                "gender": "male",
                "conversions": 0,
                "impressions": 77
              },
              {
                "age": "25-34",
                "spend": 4.96,
                "clicks": 3,
                "gender": "male",
                "conversions": 0,
                "impressions": 72
              },
              {
                "age": "55-64",
                "spend": 2.34,
                "clicks": 3,
                "gender": "male",
                "conversions": 0,
                "impressions": 41
              },
              {
                "age": "65+",
                "spend": 0.4,
                "clicks": 0,
                "gender": "male",
                "conversions": 0,
                "impressions": 10
              },
              {
                "age": "45-54",
                "spend": 0.26,
                "clicks": 0,
                "gender": "female",
                "conversions": 0,
                "impressions": 11
              },
              {
                "age": "18-24",
                "spend": 0.26,
                "clicks": 0,
                "gender": "male",
                "conversions": 0,
                "impressions": 9
              },
              {
                "age": "25-34",
                "spend": 0.13,
                "clicks": 0,
                "gender": "unknown",
                "conversions": 0,
                "impressions": 1
              },
              {
                "age": "65+",
                "spend": 0.12,
                "clicks": 0,
                "gender": "female",
                "conversions": 0,
                "impressions": 3
              },
              {
                "age": "25-34",
                "spend": 0.06,
                "clicks": 0,
                "gender": "female",
                "conversions": 0,
                "impressions": 1
              },
              {
                "age": "35-44",
                "spend": 0.06,
                "clicks": 0,
                "gender": "female",
                "conversions": 0,
                "impressions": 1
              },
              {
                "age": "45-54",
                "spend": 0.01,
                "clicks": 0,
                "gender": "unknown",
                "conversions": 0,
                "impressions": 1
              },
              {
                "age": "55-64",
                "spend": 0,
                "clicks": 0,
                "gender": "female",
                "conversions": 0,
                "impressions": 1
              }
            ],
            "placements": [
              {
                "label": "Facebook Feed",
                "spend": 12.16,
                "clicks": 11,
                "position": "feed",
                "publisher": "facebook",
                "conversions": 0,
                "impressions": 202
              },
              {
                "label": "Facebook Reels",
                "spend": 6.46,
                "clicks": 2,
                "position": "facebook_reels",
                "publisher": "facebook",
                "conversions": 0,
                "impressions": 55
              },
              {
                "label": "Instagram Reels",
                "spend": 1.59,
                "clicks": 0,
                "position": "instagram_reels",
                "publisher": "instagram",
                "conversions": 0,
                "impressions": 32
              },
              {
                "label": "Instagram Feed",
                "spend": 1.34,
                "clicks": 0,
                "position": "feed",
                "publisher": "instagram",
                "conversions": 0,
                "impressions": 19
              },
              {
                "label": "Facebook Facebook Reels Overlay",
                "spend": 0.96,
                "clicks": 0,
                "position": "facebook_reels_overlay",
                "publisher": "facebook",
                "conversions": 0,
                "impressions": 17
              },
              {
                "label": "Instagram Stories",
                "spend": 0.64,
                "clicks": 0,
                "position": "instagram_stories",
                "publisher": "instagram",
                "conversions": 0,
                "impressions": 10
              },
              {
                "label": "Facebook Marketplace",
                "spend": 0.6,
                "clicks": 0,
                "position": "marketplace",
                "publisher": "facebook",
                "conversions": 0,
                "impressions": 9
              },
              {
                "label": "Facebook Stories",
                "spend": 0.31,
                "clicks": 0,
                "position": "facebook_stories",
                "publisher": "facebook",
                "conversions": 0,
                "impressions": 3
              },
              {
                "label": "Facebook Right Hand Column",
                "spend": 0.11,
                "clicks": 0,
                "position": "right_hand_column",
                "publisher": "facebook",
                "conversions": 0,
                "impressions": 8
              },
              {
                "label": "Facebook Search",
                "spend": 0.03,
                "clicks": 0,
                "position": "search",
                "publisher": "facebook",
                "conversions": 0,
                "impressions": 3
              },
              {
                "label": "Facebook Instream Video",
                "spend": 0.03,
                "clicks": 0,
                "position": "instream_video",
                "publisher": "facebook",
                "conversions": 0,
                "impressions": 1
              }
            ]
          },
          "updated_at": "2026-10-19T11:25:07+00:00",
          "attribution": [
            {
              "event_type": "CLICK_THROUGH",
              "window_days": 7
            },
            {
              "event_type": "VIEW_THROUGH",
              "window_days": 1
            },
            {
              "event_type": "ENGAGED_VIDEO_VIEW",
              "window_days": 1
            }
          ],
          "billing_event": "IMPRESSIONS",
          "delivery_issues": [
            {
              "reason": "Learning limited",
              "issue_type": "learning_limited"
            }
          ],
          "edit_age_source": "significant_edit",
          "learning_status": "FAIL",
          "hours_since_edit": 718,
          "optimization_goal": "OFFSITE_CONVERSIONS",
          "optimization_event": null,
          "last_significant_edit_at": "2026-09-28T12:13:55+00:00"
        }
      ],
      "unavailable": [
        "audience_size",
        "audience_overlap",
        "optimization_event"
      ],
      "stats_available": true,
      "targeting_available": true,
      "breakdowns_available": true,
      "delivery_issues_available": true
    },
    "marketing_diagnosis": {
      "plan": [
        "Looked at 29 of the last 30 days, from 2026-09-29 to 2026-10-28, and decided from the last 7 days.",
        "Improve the landing page: clearer offer above the fold, message match with the ad, and one strong CTA.",
        "Fix the landing page. CTR is 2.17% on 10 clicks, so the creative is earning the click, and lagged spend of 37.19 produced no sales, leads, or other results. All live ads use lucos.com/landing."
      ],
      "signals": {
        "clicks": 10,
        "results": 0,
        "revenue": 0,
        "ctr_percent": 2.17,
        "impressions": 461,
        "landing_pages": 1,
        "outcome_spend": 37.19
      },
      "summary": "Do not spend more. Fix the landing page. CTR is 2.17% on 10 clicks, so the creative is earning the click, and lagged spend of 37.19 produced no sales, leads, or other results. All live ads use lucos.com/landing.",
      "creative": "secondary",
      "spend_more": "no",
      "window_used": "7d",
      "landing_page": "primary",
      "lookup_basis": "7d",
      "primary_lever": "fix_landing_page"
    },
    "performance_strategy": {
      "targets": {
        "max_cpc": 2,
        "target_cpa": 50,
        "maximum_cpa": 75,
        "target_roas": 2,
        "min_ad_spend_to_judge": 10,
        "weekly_optimization_events": 50
      },
      "delivery": {
        "cpm": 66.44,
        "reach": 378,
        "spend_7d": 30.63,
        "clicks_7d": 10,
        "frequency": 1.4683,
        "ctr_percent": 2.17,
        "cost_per_lpv": 2.78,
        "impressions_7d": 461,
        "link_clicks_7d": 10,
        "landing_page_views": 11
      },
      "must_say": [
        "Meta learning stage is FAIL.",
        "Daily budget is too low to reliably finish Meta learning for this conversion goal (about 50 results a week). Say raise budget or use an easier event.",
        "CPM is 66.44.",
        "reach is 378.",
        "frequency is 1.47.",
        "Link-click CTR is 2.17%."
      ],
      "broken_step": "volume",
      "feasibility": "underpowered_budget",
      "brand_tokens": [
        "lucos"
      ],
      "must_not_say": [
        "Do not say Meta can show ads on GitHub, Stack Overflow, or VS Code as placements.",
        "Do not add cold interest audiences to a retargeting ad set.",
        "Do not say the campaign is still learning or monitoring only when Meta learning succeeded or delivery is broken or the budget cannot learn."
      ],
      "allowed_moves": [
        "raise_budget_to_learn",
        "soften_optimization_event",
        "hold_audience",
        "advantage_plus_placements",
        "widen_retargeting",
        "exclude_converters",
        "hold_cold_interests"
      ],
      "audience_mode": "retargeting",
      "delivery_state": "delivering",
      "objective_kind": "leads",
      "forbidden_moves": [
        "invent_github_placements",
        "invent_competitor_placements",
        "add_cold_interests",
        "keep_goal_unchanged_while_learning",
        "say_monitoring_only"
      ],
      "internal_results": 0,
      "metrics_required": [
        "spend",
        "impressions",
        "link_clicks",
        "ctr_percent",
        "cpm",
        "reach",
        "frequency",
        "platform_results",
        "internal_results",
        "cost_per_result"
      ],
      "platform_results": 0,
      "tracking_mismatch": false,
      "meta_learning_stage": "FAIL",
      "primary_result_event": "lead",
      "primary_result_label": "leads",
      "creative_brand_mismatch": false
    },
    "budget_recommendation": {
      "summary": "Leave the $5.00 daily budget unchanged until the next check.",
      "change_amount": null,
      "change_percent": 0,
      "current_daily_budget": 5,
      "recommended_daily_budget": null
    },
    "recommended_budget_change_percent": 0
  }
}
```
