Promo kit: add 336x280 (Large box) for every angle (Marty 2026-11-16, Network Ad Space gaps)
New kit shapes rendered from HTML in the site's own look by tools/art.mjs (a shape list now renders only those shapes and leaves the other art alone). Listed in promokit.js SHAPES, so /promote, /api/promo-kit and InstantAdPay's Network sites tab show them. Smoke test counts updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -205,7 +205,7 @@ async function main() {
|
||||
ok(k.links.every(l => /^https:\/\/linkspin\.app\/r\/nw5x\?src=fivex&s1=coachann/.test(l.tracked)), 'every link has a LinkSpin-tracked twin (nw5x, source fivex)', k.links.map(l => l.tracked));
|
||||
const words = JSON.stringify([k.lines, k.headlines, k.email, k.posts, k.note, k.tagline]);
|
||||
ok(!/[\u2014\u2013]/.test(words) && !/passive income|guaranteed (income|returns|profit)|make money|metamask/i.test(words) && /\$10 one-time position gives you 5 picks right away/.test(words) && /SafePal or any other crypto wallet/.test(words) && /never a subscription/.test(words), 'kit copy: no dashes, no income promises, facts from config, SafePal wording, never a subscription');
|
||||
ok(k.creatives.length === 21 && new Set(k.creatives.map(c => c.angle)).size === 3, 'kit: 21 creatives in 3 angles', k.creatives.length);
|
||||
ok(k.creatives.length === 24 && new Set(k.creatives.map(c => c.angle)).size === 3, 'kit: 24 creatives in 3 angles', k.creatives.length);
|
||||
const bad = k.creatives.filter(c => /\d{2,4}x\d{2,4}|banner|[-_/]ads?[-_./]/i.test(c.url.replace('https://5xyourteam.com', ''))); ok(!bad.length, 'kit: creative paths are ad-blocker neutral', bad.map(c => c.url));
|
||||
let dimOk = true; const dimBad = [];
|
||||
for (const c of k.creatives) { const rr = await anon.req(new URL(c.url).pathname); const buf = Buffer.from(await rr.arrayBuffer()); const w = buf.readUInt32BE(16), h = buf.readUInt32BE(20); if (rr.status !== 200 || w !== c.w || h !== c.h) { dimOk = false; dimBad.push(c.key + ' ' + w + 'x' + h); } }
|
||||
|
||||
Reference in New Issue
Block a user