Ad-Supported Access
How a guest earns free WiFi data by watching ads, how a tenant prices and targets those campaigns, and how the platform proves a view actually happened. This goes deeper than the Documentation page's summary — read that first for the short version.
What it is, end to end
Ad-supported access is the default way most guests get online: no voucher, no card, no login. A guest hits Connect on the captive portal's Home screen (home.html) and is shown 1-3 data bundle choices, rendered from that captive's own configured ad-unlock tiers. Picking one starts the first ad immediately — no separate "selection screen" delay. Ads typically run 15-30 seconds each; the guest watches the number required by the tier they picked, and access unlocks the moment they've watched enough.
There are two separate server-side paths that can grant the bundle, and both read the exact same tenant-configured tiers so the result is identical no matter which one fires: completing the on-screen ad sequence in the Home modal, or an automatic top-up triggered as ad-watch progress events stream in from the player in real time (useful if a guest already has a partial session and tops up mid-browsing rather than sitting through a full fresh sequence). A guest gets full, uncapped speed for the entire time they're actively watching ads, including a guest who already has data and is watching more just to top up — ad playback is never throttled by whatever speed cap their current session already carries.
Setting the tiers: data, ad count, duration
Out of the box every captive runs the same three platform-default tiers:
| Data | Ads required | Access duration |
|---|---|---|
| 100MB | 5 | 1 hour |
| 250MB | 10 | 1.5 hours |
| 500MB | 15 | 2 hours |
A tenant replaces these from ISN Portal → Ad revenue → Ad-unlock bundles: up to 3 tiers, each set independently — data amount (1-100,000MB), ads required (1-50), access duration (anywhere above 0 hours up to 168, i.e. one week), and an optional per-tier speed cap (down/up in kbps; left at 0 it falls back to that tenant's own default device speed, same convention used on voucher presets). Each tier can also carry its own Fair Usage Policy override, separate from the tenant-wide default. One tier is enough if you'd rather keep it simple — the other two slots just stay unused. A tenant that hasn't touched this screen at all always shows the three defaults above, never a blank state, and saving fewer tiers than before (e.g. dropping from 3 to 2) is handled as a full delete-and-replace, so a tenant can never end up with a stale leftover tier.
Whatever is configured is enforced the same way on both grant paths described in Panel 1 — a guest gets the same bundle for the same number of ads regardless of which one actually fired the grant.
What advertisers pay: the 5 ad formats and per-view pricing
Five ad formats exist platform-wide, each with fixed, non-configurable playback behavior — what you control per captive is the price an advertiser pays per view and the minimum total campaign spend:
| Plan | Platform default price | Built-in behavior |
|---|---|---|
| Standard | R0.20 / view | Skippable after 15 seconds by default (advertiser can raise the skip delay, never remove it client-side — the server decides whether a plan is skippable at all) |
| Skip Disabled | R0.30 / view | Unskippable — forced server-side regardless of anything sent from the player |
| Homepage Takeover | R0.32 / view | Standard skip rules, counted as an "impression" event for budget purposes |
| Aggressive | R0.35 / view | 2× the delivery weight of Standard — shown roughly twice as often in rotation |
| Aggressive + Skip Disabled ("Max Impact" in the ISN Portal's pricing table) | R0.45 / view | Unskippable AND 2× delivery weight — the combination of the two rows above |
| Customizable / Custom | Advertiser-set rate | No fixed price; subject to a R15,000 minimum campaign spend by default |
Change any of these from ISN Portal → Ad revenue → Ad pricing. Leave a field blank and that captive uses the platform default shown above until you set your own — nothing breaks and nothing charges the wrong amount in the meantime. A price change updates everywhere it's shown or charged for that captive specifically (the Marketing Page at /business, the Captive Dashboard's own campaign builder, every revenue report) — another captive's pricing is never affected. Every price is bounded server-side to between R0.01 and R1000 — this isn't just a sane-default guardrail, it's a real security constraint: goal views for a campaign are calculated as budget ÷ price, so a near-zero price would let one tiny-budget campaign claim effectively unlimited rotation slots.
Delivery weight isn't just the plan multiplier above — it also self-paces against the campaign's own budget and elapsed time (an under-pacing campaign gets boosted in rotation, an over-pacing one gets throttled back), clamped so no campaign can ever be starved to zero or run away unbounded.
Targeting: locations, age range, schedule, frequency cap, takeover
Every one of these is set per-campaign in the Captive Dashboard's campaign builder (business-dashboard.html, under Campaigns), and every one fails closed — if the platform can't actually confirm a guest qualifies, the ad is withheld rather than shown by default.
| Item | Details |
|---|---|
| Locations | Restrict a campaign to specific routers instead of every one the tenant owns (e.g. a promo for one branch only). Leaving everything checked — the default — runs it everywhere, including any router added later. If the connecting router's identity isn't known at all, a location-restricted campaign is excluded for that guest rather than shown by accident; a stale or forged router ID from outside the tenant's own fleet is silently dropped server-side when the campaign is saved, so it can never scope a campaign onto a router it doesn't own. |
| Age Targeting | Type a numeric min and/or max age. Leave both blank for all ages. If a range is set, a guest whose age isn't known at all (no date of birth on file) is excluded exactly like a guest confirmed to be outside the range — "unknown" is never treated as "old enough." The guest's age is derived from an X-User-Dob header the client sends from the guest's own profile data, checked server-side on every ad request. |
| Schedule (dayparting) | Day-of-week checkboxes plus an optional hour range in SAST, 24-hour format (e.g. a lunch special restricted to Mon-Fri, 11:00-14:00). Outside the window the ad simply isn't shown; it doesn't pause the campaign or affect its budget or end date. Leaving every day checked and the hour fields blank runs it all the time. |
| Areas (countries and provinces) | Show a campaign only in certain places, for example Western Cape, Gauteng, Limpopo and Eswatini only. Under Areas type a country, province or state (anywhere in the world) and pick it from the list, or click the map and choose the country or province under your click; the chosen areas are outlined on the map and listed as chips you can remove with the little x. The same picker is on Add Campaign, Edit Campaign and the advertiser's Request a Campaign form. Nothing chosen (the default) means everywhere, as before. How a guest's place is worked out: a guest on a hotspot is where the router is, so the advert is checked against the position of the router they are connected through, using the real outline of each area (a router right on a border counts for both sides). A router that sends live GPS (a bus, a taxi, or a fixed router with GPS) is where its GPS says, as long as the fix is under 10 minutes old. A fixed router uses the GPS point saved by the installer checklist and, only if there is none, the rough place its internet address suggests (this can be wrong for a router on a mobile network, so complete the installer checklist for routers that matter). A router that moves (tick This router moves in its settings under Routers) is never placed by its internet address: with no fresh GPS its place is unknown. If the place is not known, or the areas on an advert can no longer be read, the advert is not shown (it never falls back to everyone); adverts with no areas are not affected. Map data is Natural Earth; Namibia's Kavango East and West are still drawn as one region. Guests' own locations are never collected, and an advert changes for a guest when their page next refreshes its adverts. A town and a distance: an area can also be a town (or any spot you click on the map) and 1 to 500 km around it, for example Siyabuswa, 50 km. Search a town under the area box (press Search towns and cities); this uses the venue's own map key (GraphHopper or TomTom, under Map settings in the ISN portal) and is limited to 60 searches an hour per address, and does nothing when the venue has no key. Clicking the map always works and offers a distance around that spot. The reach line: under the chosen areas the form says how many of the venue's active routers (and roughly how many guests a month, from the last 30 days of adverts watched through them) are inside, for example About 14 routers and about 2,300 guests a month are in these areas, and warns when there are none, so nobody books an area where the ad would never show. Routers that cannot be placed (a moving router with no GPS) are mentioned separately. A forged router name does not work: a guest's request names the router it is behind, but it is only believed when it arrives from that router's own recently reported public address; otherwise the router is treated as unknown for router and area targeting. |
| Start Date | Optional. Leave it blank (or choose today) and the campaign starts as soon as it is made. Choose a later day (up to a year away, South African time) and the campaign is made now but is not shown before that day begins; the campaign duration is counted from the start day, and the campaign card says Scheduled until then. You can change or clear it later in Edit Campaign (a later day moves the end date with it). For an advertiser's request, the start date is part of the request; if you approve after that day has already arrived, the campaign starts at once and runs for its full duration from then. |
| Views by area | Each play is saved with the province or state and country of the router the guest was on (never the guest's own location, and never guessed: a moving router with no GPS, or a router name that does not match the guest's real address, gives no place). On the advertiser's campaign card, Views by area lists the plays by province or state for the last 7, 30, 90 or 365 days, with a line for plays whose place was not recorded (for example plays from before this was kept). The monthly results e-mail and PDF show the top areas too. |
| Frequency Cap | Off by default (a guest can see a campaign as often as it's otherwise eligible). Turn it on and set a max view count per day, week, or month per guest; once a guest hits it, that one campaign stops being offered to them until the period resets (SAST-aligned) — every other active campaign is unaffected. This caps the campaign's own reach, not a competitor's — a low cap can mean its budget or goal-views target takes longer to spend, or never fully spends, so it's best reserved for a genuine reason to avoid repetition (e.g. a one-time event promo) rather than switched on by habit. |
| Priority | Low, Normal (default), High or Top. When several campaigns can show to the same guest, priority decides which one is picked more often: Low about half as often as Normal, High about twice, Top about three times. It only changes how often an ad is chosen, never who is eligible, so age, location, schedule, budget and frequency-cap rules all still apply first. The sponsor name guests see is the campaign's Ad Display Name (or the advertiser you pick for it). |
| Brand Takeover Day | Makes one campaign the ONLY ad shown (fleet-wide, or restricted to whichever Locations it also targets) for one full calendar day. Only one takeover can be booked per calendar day per captive; picking an already-booked date shows a conflict warning immediately. A takeover still has to pass every other eligibility check first (age, location, budget, end date) — it only wins over every other active campaign a guest would otherwise have seen, never over the checks that would have excluded that guest anyway. |
Proof-of-play: how the system knows a guest really watched
Every ad-watch second is reported to the server by the player — not assumed client-side — through two tracking paths (/api/ad/progress for per-second ticks, and the batched /api/ad/report, up to 100 events per request, 5MB body limit) that both converge on the same ad_views table, which is treated as the single authoritative source of truth for how many views a campaign has actually delivered. The cached views_delivered counter on a campaign's own row can lag or drift; wherever the two disagree, the real ad_views count wins, and a drifted counter is corrected and the campaign force-paused on first sight rather than left to over-serve.
Because the same playback can legitimately get reported through more than one of these paths, a 10-second per-(ad, guest) dedup window prevents the same view from being billed twice. Skip behavior can't be tampered with client-side either: whether a given plan is skippable at all is decided server-side purely from the plan name (Skip Disabled and Aggressive + Skip Disabled are hardcoded unskippable, skipSec forced to 0, no matter what the player sends back).
Budget enforcement is layered: the view-serving endpoint (/api/ads/active) excludes a campaign the instant its real view count reaches its required views, and the reporting endpoints independently force-pause a campaign (is_active:false, paused_reason:'budget_exhausted') the moment it crosses that line, closing the brief race window that's possible at very high concurrency. The advertiser gets milestone emails as their campaign's budget is consumed (50/75/90/100%, or 50/75/100% depending on which reporting path reaches the threshold first) so a campaign running out never surprises them.
The server keeps its own clock. The server never takes the page's word for how long a guest watched. It notes when each ad really started, using its own clock, and only counts an "ad completed" report toward a data bundle if it matches an advert that really started for that signed-in guest, and enough real time has passed since the guest began for the adverts completed so far (at least 40% of those adverts' own lengths added together, never less than 5 seconds per advert; an advert that can be skipped counts only up to its skip time). Only adverts the server knows (the advert is in the database, for this venue) count as plays: an invented advert id counts for nothing, except at a venue that has no live adverts at all, where the page plays its own fallback videos and each counts as 12 seconds. Only a signed-in guest session counts: a business or staff session cannot start, complete or bill an advert for anyone. The older /api/video/complete call, which the portal page makes right after a real grant, is now accepted once per grant and refused on its own. A completion with no start, or one that arrives faster than the adverts can play, is refused and earns nothing, whatever the page says. This is the same for video, picture-gallery and uploaded-video adverts, because it looks only at the start and completion reports. Billing uses the same idea: one guest is billed for an advert at most once per half of its length (never less than 10 seconds), so a flood of made-up "start" reports cannot run up an advertiser's bill. Refusals are written to the security log as ad_watch_refused. The operator can set AD_WATCH_CHECK to log (judge and log, but let everything through) or off; the default is on.
Proof-of-play reports. Every campaign card under the Captive Dashboard's My Campaigns has a Proof of play button — pick a date range and download a branded PDF or CSV. It shows how many times the ad played, how many different people saw it, how many watched to completion, skipped, or clicked, broken down by location (router name, area, route or router group), by day, and by hour in South African time — up to 400 days per report. It counts viewers but never identifies them; nothing in it is personal information. An advertiser can only pull reports for its own campaigns; the captive's own admin can pull one for any campaign on its captive.
Revenue: who sees what, and who gets paid
A campaign's spend is tracked as views delivered × the tenant's own configured price for that plan, capped at its budget — on the tenant's My revenue tab and the Captive Dashboard's own reporting, revenue bucketed by the actual timestamp each view happened, not by when the campaign was created. No payment gateway sits between the tenant and the advertiser: ISN is never a party to that transaction and never takes a cut of it. How the tenant actually collects — invoice, EFT, cash — is entirely between them and the advertiser.
An Admin or IT team member can click Add Business on the Captive Dashboard to create a real, independent login for a local advertiser (business name + login email is enough — no card needed to create the account). That business logs into the same Captive Dashboard from then on to build and fund its own campaigns, see its own results and proof-of-play reports, and — where assigned — its own survey question results, without ever seeing the tenant's other data, other advertisers, or account settings. The tenant sets price and minimum spend once; every business it onboards funds its own campaigns from there.
The advertiser's own view of the Captive Dashboard
Add Business creates a normal advertiser (account type "Business"). From then on the advertiser signs in at the same address and form as your own team, and the platform shows it a restricted dashboard automatically:
| Item | Details |
|---|---|
| My Campaign Performance | A card per campaign: its status, the share of budget used, views delivered against the goal, and notices such as a campaign that has ended or run out of budget. Campaigns with a survey attached show a View results button. |
| Request a campaign | Only when the venue has switched Advertiser Self-Serve on (see the next row; it is off by default, and while it is off advertisers see no button and the venue adds every advert itself, as before). On the Campaigns tab an advertiser presses Request a campaign and fills in the same kind of form as Add Ad Campaign: the name shown on the ad, a headline, their advert, the advertising plan (Standard, Skip Disabled, Aggressive or Aggressive + Skip Disabled), a budget (at least your minimum campaign spend) and how long to run (1 to 365 days). The advert is one of three things: up to 15 pictures uploaded from their computer (jpg, png, webp or gif, up to 10 MB each, checked as real pictures; more than one plays as a slideshow of 5 to 300 seconds), one video uploaded from their computer (the same size limit and 720p preparation as the venue's own video upload, up to 5 videos a day), or an https link to a picture or a video file (mp4, webm). Uploaded pictures and videos are kept on ISN, so the advertiser never sees or handles a storage address. The venue reviews an uploaded video in ISN's own video player, opened from the request or in its own page, drawn in the venue's colours with play, seek, sound and full-screen controls that work on phones, tablets and desktops. The ad can have a Call-to-Action Button (Website, Call Us, WhatsApp, Email, Directions or No Button; the advertiser types only the plain value and ISN builds the real link itself) with an optional Button Label, and the advertiser can also choose a Schedule (days and hours) and a per-guest Frequency Cap, the same options as your own Add Campaign form. The form shows about how many views the budget buys at your price. The advertiser never sets a price, a view count, a skip rule or who the advert belongs to: your server works all of that out. An advertiser can have 5 requests waiting at a time, 10 a day and 10 picture uploads an hour, and can cancel one that is still waiting. The windows close only from the X (or Escape), never from a click beside them, and ask before throwing away anything typed. |
| Your side: Advertiser Self-Serve | Full guide: Advertiser Self-Serve. The Advertiser Self-Serve button (next to Add Campaign, with the number waiting) opens one window with your choices and the queue. Your choice 1: on or off. Off (the default) means only you create adverts for your businesses. Your choice 2: how a request is handled. I review each one first (recommended): a person looks at the advert, then approves or declines it here. Go live straight away, I check afterwards (the way social apps work): the advert starts the moment the advertiser sends it, with the same price, minimum spend and https checks, and it appears under Live, to check in the same window. There you see whether it is live and how many views it has had, you can look at it (a picture uploaded through ISN shows at once; for anything an advertiser linked to you press Preview here, so merely opening the list never contacts their server), then press Keep it live or Take it down with an optional note. Taking it down pauses the advert straight away, the same way you already pause adverts, and the advertiser is emailed straight away that it was taken down, with your note if you wrote one, and sees it marked taken down on their own page. Taken-down adverts are listed under their own Taken down tab, not under Approved. The button on your dashboard shows how many requests and live adverts need you. Choosing this mode asks for an explicit yes. A request whose advert or button website is a bare IP address or a link shortener (such as bit.ly) is never started by itself: it waits for you like in review mode. In review mode each request shows who sent it, budget, days, links to look at the advert and where its button goes, and a note box. Approve and start creates the real campaign at your current price (not the price when it was sent), live straight away, and emails the advertiser; Decline sends your note back. A request that no longer fits your rules (a budget now under the minimum) is refused and stays waiting so you can decline it. Two clicks on Approve make only one campaign. You get at most one email a day about new requests (switch it off under Notifications). Payment stays between you and the advertiser (put your payment details in the note); nothing in this feature takes money. The advertiser can also limit where the advert shows to countries and provinces (see Areas above). Adverts with a survey, targeting to specific routers, a priority or a Brand Takeover Day are still created by you with Add Campaign. |
| Card payment for requests (optional) | Full guide: Advertiser Card Payments. If you have connected a card gateway (Paystack, PayFast, Yoco or DPO) under Payment Gateways, tick Advertisers pay by card before their request is sent in the Self-Serve settings. The advertiser then pays the full budget they choose, by card, to your own gateway account; ISN does not hold the money. Until the gateway confirms the payment the request is only a draft: you never see it, nothing goes live, and a declined card, a closed page or a lost connection sends nothing and charges nothing. The advertiser can try again, or remove the draft, and an unpaid draft with its pictures and video is deleted after 48 hours. A confirmed payment sends the request to your queue (or starts it, in go-live-first mode, except videos, which always wait for you), and the advertiser is e-mailed a numbered invoice as a PDF, which shows your legal name, address and VAT number when you have set them under invoice details. If you decline a paid request, the advertiser cancels it, or you take an advert down, the Payments tab shows what is owed back: the full amount if it never ran, or the unused part if it ran (the views delivered, at the price per view, are kept). The advertiser gets a credit note by e-mail; you return the money to their card or account yourself, then press Mark refund sent (all or part), and they are told. The Payments tab also lists every payment with its history, amounts, invoices and credit notes, and flags any payment that needs your check (for example one made in the wrong amount or currency, which never releases a request). |
| Targeting | The same locations, age, schedule, frequency cap, priority and Brand Takeover Day controls described in panel 4, on the same form. |
| My Ad Billing & Spend | A live tracker of what each of the advertiser's campaigns has spent (views delivered times the price), so both sides know what is due. Nothing here takes a payment. |
| Proof of play | PDF or CSV for any date range up to 400 days, as in panel 5. Only the advertiser's own campaigns. |
| Settings | Their own business details, password and two-step sign-in. Nothing about your business. |
| API Integration | Under Settings an advertiser can generate read-only keys (they start with psk_live_, shown once, 60 requests a minute) and pull their own figures into a spreadsheet, Power BI, Zapier or their own software: GET /api/v1/analytics, /api/v1/campaigns, /api/v1/invoices and /api/v1/keys/me on https://your-captive.isnfreewifi.co.za, with the key in an X-Api-Key header. A key sees only its own advertiser's data and cannot change anything. Steps and copy-ready code for JavaScript, Python and Google Sheets are on the public For Advertisers page. |
Where an advertiser is cut off: it cannot see or change another advertiser's campaigns, your guests, your routers, your pricing screens or your revenue; the server checks that every campaign and report belongs to the signed-in advertiser, not just the page. Sponsor and bank accounts (a read-only login for multi-venue campaigns) are switched off for now, so Add Business offers only the normal advertiser type. Businesses that ask how to advertise can be sent to the public For Advertisers page.
Related: cross-venue campaigns
A separate, adjacent system lets one sponsor run the same campaign across several independently-owned captives at once, rather than setting it up manually with each one. A tenant invites other tenants into its own network (tenant_cross_venue_members — a tenant can belong to more than one different owner's network at the same time, so this is a one-way invitation relationship, not a symmetric partnership). A sponsor — a "bank" business account, onboarded the same way as any other advertiser via Add Business but flagged as a sponsor and restricted to a read-only cross-venue report instead of the normal dashboard — posts one campaign, which is snapshotted out to every current member venue as its own row (cross_venue_campaign_venues) that walks independently through posted → proposed/declined → approved/rejected → active → withdrawn, each with its own price and budget so a mixed-price campaign across venues never conflates one venue's numbers with another's.
Budget mode is per-campaign: individual (default) means each venue's own budget caps it alone, unaffected by any other venue; pooled means one shared Rand budget is drawn down by views at ANY participating venue, and every venue pauses together the moment the shared pool is exhausted. This is the mechanism behind a single sponsor (e.g. a bank or a national brand) running one coordinated campaign across a network of otherwise-unrelated captives.
Edge cases and limits worth knowing
- A tenant can configure at most 3 ad-unlock tiers — enforced by a hard database trigger, not just the dashboard form, so even a raw scripted request to exceed it is rejected outright rather than silently truncated.
- A campaign that reaches its end date pauses automatically, and is permanently deleted 14 days later if an admin hasn't reactivated it.
- Ad-pricing fields are bounded R0.01-R1000 per plan; minimum campaign spend must be 0 or greater. There is no upper bound on a tenant's own custom ad-unlock tier values beyond the field limits themselves (100,000MB, 50 ads, 168 hours).
- If ads are the only access mode a captive offers (no vouchers, data plans, or surveys) and a guest has hit the Frequency Cap on every single active campaign, Connect automatically falls back to showing My Usage instead of a dead-end ad player with nothing left to show — the same fallback a brand-new captive with no ads at all already gets. It switches back the moment the guest's cap period resets, a new campaign is uploaded, or another access mode is turned on — no page reload required.
- The public ad-serving endpoints (
/api/ads/active,/api/ads/version) are rate-limited to 500 requests per 5 minutes per IP — enough for a captive portal polling every few seconds without false-positives, even across hundreds of millions of devices sharing the same deployment. - Clients poll
/api/ads/versionroughly every 60 seconds and only re-fetch the full active-ad list when its version counter has actually changed (new upload, pause, budget exhaustion, expiry) — this keeps ad-list updates reaching an in-session guest quickly without constant full re-fetches. - Ad video quality. Our system is built to adjust an ad video to each guest's connection while it keeps playing: it starts at a lower quality on a weak connection, steps down if the ad keeps stalling, and never goes above 720p. If the adaptive version cannot be used on a guest's device, the ad plays as the normal single video, so an ad always plays. Each play is also measured anonymously (start-up time, stalls, quality reached, whether it finished) with no personal details. Measurements are kept for 30 days and are indicative, not a billing basis.
