code wiki / _hdl_build / nx_adnet_apply.nx
nx_adnet_apply.nx
buildroot/runtime/_hdl_build/nx_adnet_apply.nx
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
imports: nx_syscalls.nxnx_adnet_slot.nx
imported by: nx_adnet_apply_gate.nx
structs
| none |
consts
| 25 | const AAP_W: i64 = 728 |
| 26 | const AAP_H: i64 = 90 |
| 27 | const AAP_MAXKB: i64 = 64 |
| 225 | const AAP_MAX_BODY: i64 = 8192 |
| 226 | const AAP_MAX_JOURNAL: i64 = 4194304 |
functions
| 29 | func aap_catd(dst: *u8, off: i64, v: i64) -> i64 |
| 44 | func aap_page(out: *u8, cap: i64) -> i64 |
| 80 | func aap_ack(out: *u8, cap: i64) -> i64 |
| 103 | func aap_clean(src: *u8, out: *u8, cap: i64) -> i64 called by 1: aap_row |
| 123 | func aap_row(company: *u8, email: *u8, clickurl: *u8, note: *u8, received_at: i64, out: *u8, cap: i64) -> i64 |
| 155 | func aap_hexv(c: u8) -> i64 called by 1: aap_field |
| 162 | func aap_field(body: *u8, blen: i64, name: *u8, out: *u8, cap: i64) -> i64 |
| 228 | func aap_body_ok(blen: i64) -> i64 |
| 234 | func aap_journal_ok(cur_bytes: i64) -> i64 |