diff --git a/ads.js b/ads.js index 11f784b..eae9fb7 100644 Binary files a/ads.js and b/ads.js differ 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 @@ - +