code wiki / _hdl_build / nx_adnet_apply.nx

nx_adnet_apply.nx

buildroot/runtime/_hdl_build/nx_adnet_apply.nx

13111 B237 linesdepth 4pulls 4 transitivereach 1 importersview sourcekind librarytopic adnet
docsdependenciesstructsconstsfunctions

about

nx_adnet_apply.nx -- LIB: the PUBLIC "advertise with us" surface. The last mile of the ad network. THE GAP: the lane can serve a slot, measure a VIEWABLE impression, price it, invoice it, enforce a campaign and record an advertiser -- and a prospective client had NO WAY TO APPLY. The catalog page showed what was for sale with no door next to it. Machinery nobody can reach is not a business. WHAT THIS PAGE SAYS IS THE PRODUCT. Three claims almost no network makes, all of them true here and all of them checkable by the client, which is why they are stated in public: * WE BILL ON MRC-VIEWABLE IMPRESSIONS, NOT SERVED. 50 percent of the creative's pixels for one CONTINUOUS second, or you are not charged for it. * WE SHOW YOU THE DELIVERY RATIO. served vs viewable on every invoice line. If we deliver badly you will see it before you have to ask. * NO COOKIE, NO VISITOR ID, NO CROSS-SITE ANYTHING. Placement is contextual -- by page section and a time rotation. There is no per-user profile to buy because there is none to build. A refusal is also public: an ad with no rate row is REFUSED at invoice time rather than billed at zero. PRIVACY BOUNDARY, unchanged from nx_adnet_selfserve: this is a B2B intake. The form collects an ADVERTISER contact, never a visitor. The schema HAS NO VISITOR FIELD by construction. license_tier: ORIGINAL

dependencies 2 imports · 1 importers

nx_syscalls.nx nx_adnet_slot.nx nx_adnet_apply.nx nx_adnet_apply_gate.nx

imports: nx_syscalls.nxnx_adnet_slot.nx

imported by: nx_adnet_apply_gate.nx

structs

none

consts

25const AAP_W: i64 = 728
26const AAP_H: i64 = 90
27const AAP_MAXKB: i64 = 64
225const AAP_MAX_BODY: i64 = 8192
226const AAP_MAX_JOURNAL: i64 = 4194304

functions

29func aap_catd(dst: *u8, off: i64, v: i64) -> i64
called by 3: aap_pageaap_ackaap_row calls 1: sys_mmap
44func aap_page(out: *u8, cap: i64) -> i64
called by 1: main calls 1: aap_catd
80func aap_ack(out: *u8, cap: i64) -> i64
called by 1: main calls 1: aap_catd
103func aap_clean(src: *u8, out: *u8, cap: i64) -> i64
called by 1: aap_row
123func aap_row(company: *u8, email: *u8, clickurl: *u8, note: *u8, received_at: i64, out: *u8, cap: i64) -> i64
called by 1: main calls 3: sys_mmapaap_cleanaap_catd
155func aap_hexv(c: u8) -> i64
called by 1: aap_field
162func aap_field(body: *u8, blen: i64, name: *u8, out: *u8, cap: i64) -> i64
called by 1: main calls 1: aap_hexv
228func aap_body_ok(blen: i64) -> i64
234func aap_journal_ok(cur_bytes: i64) -> i64