Repository navigation
Commit 1bf585d
ads: surface the Text Link size on the Monetize page (#98)
Add the native, full-width text-link ad to the publisher size picker.
Unlike the banners, text_link predates the ad_slots.formats default, so
a migration widens the default and backfills existing slots — otherwise
serveAd() would gate it out and the copied embed would never fill.
- lib/ads/formats.ts: add text_link to PUBLISHER_FORMAT_IDS
- supabase/migrations: allow text_link on ad_slots.formats (+ backfill)
Note: prod migration history has diverged, so this must be applied by
hand via psql over the pooler (see the crawlproof-alerts runbook), not
`supabase db push`.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 530d03d commit 1bf585d
2 files changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments