AdAdmin ad scripts with document.write

Script banners that uses document.write javascript function doesn’t work anymore with AdAdmin positions since version v.3.85 (03/11/2020). This happens because…

Marzo 9, 2022

Script banners that uses document.write javascript function doesn’t work anymore with AdAdmin positions since version v.3.85 (03/11/2020).

This happens because the document.write command slows down the page loading process so it’s a deprecated command and has been removed from AdAdmin and no-longer used.

If you still use scripted banners with document.write you must sobstitute the position script with the previous version, which is simpler and still working:

<script loading="lazy" src="https://yoururl.com/amb/ser.php?f=XXX"></script>

(replace yoururl.com with your domain and XXX with the correct number of your Position)

This should make your old scripts still working on AdAdmin versions >= 3.85.

There is a side effect: the Frequency cap feature will not work anymore.

If you need document.write command do not use the standard script

Author

PHP expert. Wordpress plugin and theme developer. Father, Maker, Arduino and ESP8266 enthusiast.

Recommended

AdAdmin – Usage scenarios

Three different ways to use AdAdmin software to rotate and sell banners on web sites.

Settembre 14, 2023

AdAdmin add footer sticky banner

To add a footer sticky banner with AdAdmin software follow these steps: Create a new AdAdmin position Create a new…

Aprile 16, 2022

AdAdmin vignette banner configuration

How to properly configure a vignette ads position in AdAdmin

Aprile 12, 2022

Use the same position multiple times to display ads in one page

If you need to reuse the same script position in a single page to display ads, be sure to change…

Marzo 3, 2022

AdAdmin video banner examples

In this article you can find two HTML5 video banner templates that can be used in your AdAdmin installation. These…

Gennaio 29, 2022

AdAdmin software update instructions

How to update AdAdmin software.

Aprile 1, 2021