Text ads one price everywhere: on-site text 1 credit per 100 views (was 10), network text unchanged at 100 (nas ipc 100, divisor 1); chatbot + Campaigns copy updated (Marty 2026-11-20)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -40,7 +40,8 @@ const CATID_CRYPTO = Number(process.env.NAS_CATID || 5);
|
||||
// how many NAS impressions one IAP credit buys, per format. IAP charges credits
|
||||
// on its own surfaces at these same rates, so NAS delivery draws the same pool.
|
||||
function impressionsPerCredit(type) {
|
||||
return type === 'banner' ? 5 : type === 'text' ? 10 : type === 'video' ? 0 : 0;
|
||||
// text 100 since 2026-11-20 (was 10, with a 1/10 network divisor on top): the on-site text price moved to 100 views per credit
|
||||
return type === 'banner' ? 5 : type === 'text' ? 100 : type === 'video' ? 0 : 0;
|
||||
}
|
||||
function nasKind(type) {
|
||||
// pid encodes text(1)/banner(2); adtype is a separate small int — 1 is the
|
||||
|
||||
Reference in New Issue
Block a user