Press enter to see results or esc to cancel.

Showing and hiding ads with delay

Showing ads

Sometimes you may not want to show ad immediately but after some delay. This can easily be achieved with timed rotation code. This is an example to delay ad for 20 s:

[ADINSERTER ROTATE time="20" share="100"]
[ADINSERTER ROTATE]
AD CODE

This is a simple timed rotation code with two options. The first option has share 100% so it always triggers first and has time set to 20 s. The code is empty so it doesn’t insert (or show) anything.

The second option is inserted (or shown) after the time of the first option (20 s) and it stops there as it has no time set.

Hiding ads

Similar approach with timed rotation can be used to hide ad after some time:

[ADINSERTER ROTATE time="20" share="100"]
AD CODE
[ADINSERTER ROTATE]

The first option has share 100% so it always triggers first and has time set to 20 s.

The second option is empty so it doesn’t insert (or show) anything. It is used after the time of the first option (20 s) and it stops there as it has no time set.

Showing and hiding ads

You can also set delay to show ad and then hide it after some time:

[ADINSERTER ROTATE time="10" share="100"]
[ADINSERTER ROTATE time="20"]
AD CODE
[ADINSERTER ROTATE]

The first option has no code, share is set to 100% so it always triggers first and has time set to 10 s.

The second option is the actual ad that is shown for 20 s.

The third option is empty so it doesn’t insert (or show) anything. It is used after the second option ends and it stops there as it has no time set.