One custom sequence

A live popunder capping example.

One popunder setting, shown at each stage on its way from Adok to New Adscript.

Adok UI

Seconds
10
Multiple popunders
2 seconds, 4 seconds
Once per page
On

Backend response

refresh_rate
10
config.multiple
["2", "4"]
config.noLoop
"true"

New Adscript

intervalSeconds
10
customCappingScheduleSeconds
[2, 4]
repeatAdSequenceInSamePageview
false

After an attempt, New Adscript takes the next value from customCappingScheduleSeconds: 2s, then 4s. Once the array has no next value, it uses intervalSeconds (10s). With repeatAdSequenceInSamePageview: false, the attempt that reaches the end of the schedule finishes this pageview. The saved deadline still applies to a later pageview.

Current Adok UI note: this exact response is legacy/backend-only. Selecting “Once per page” in Adok sets “Seconds” to 0, so it cannot produce refresh_rate: 10.

Starting…
Current time—
Cooldown remaining—
Next eligible time—

When you try it, this tab opens a harmless ad page; the newly opened tab continues this demo. A cooldown becoming ready lets your next click open an ad—it does not open one automatically.