From 5652987675de35ff835aa3e708ab10691be03fa4 Mon Sep 17 00:00:00 2001 From: martbost Date: Thu, 10 Sep 2026 07:39:27 -0500 Subject: [PATCH] Verified visits: budget derives from the pack count (form has no budget box) Co-Authored-By: Claude Fable 5.1 --- ads.js | Bin 67478 -> 67705 bytes public/assets/my.js | 2 +- public/my.html | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ads.js b/ads.js index 11f784b641ab89417d823a655e6890a1282f6d6c..eae9fb79081cfa9cb778fea476567dbff22e2c0e 100644 GIT binary patch delta 204 zcmXwzy$ymu0EHVWbptFO7W^0!dXpQ$Ar3g?B5>sHAX+hj(S*b}hKYqP;2aKMOJgUX zmhbP&I~|Po(YVxR?fa;>;#z@928uYP8U+nEOX!3lD5Evg;A&94k3#a0Ef6uuD;6P^ zA{)X`l(~l6uVNuHBvc_6e?lO(-UvuL*pErDqPlssw#DOawksG2A#lET9N0FjZ`Et= Z?W{SwlQHISCDly1UbFY6*PHo#eE{UJNCE%= delta 23 fcmex4fn{1h%Z7SsmgM}r;>jPREjG`Sx&0addP@qy diff --git a/public/assets/my.js b/public/assets/my.js index 8426eae..5d82998 100644 --- a/public/assets/my.js +++ b/public/assets/my.js @@ -796,7 +796,7 @@ days: Number($('cFeatDays').value), startDay: featStartDay, count: Number($('cVisitCount').value), ctaLabel: isVideo ? $('cVideoCta').value : $('cCtaLabel').value, - budget: isFeat ? (Number($('cFeatDays').value) * (lastRates.featuredPerDay || 40)) : Number($('cBudget').value) }); + budget: isFeat ? (Number($('cFeatDays').value) * (lastRates.featuredPerDay || 40)) : t === 'visits' ? (Number($('cVisitCount').value) * (lastRates.visitCostPerVisit || 3)) : Number($('cBudget').value) }); IAP.status('Campaign is live. It starts serving right away.', 'ok'); // clear EVERY field so no target/creative carries into the next campaign ['cName', 'cBudget', 'cTarget', 'cImage', 'cTitle', 'cBody', 'cCtaLabel', diff --git a/public/my.html b/public/my.html index 0778aa7..980150f 100644 --- a/public/my.html +++ b/public/my.html @@ -857,7 +857,7 @@ - +