Placements

Placements are the individual ad containers, the inventory, that the Neuwo scripts render on a page. Each placement is a functional component of the Neuwo platform and manages its own:

A static tag is one-to-one: it creates a single placement, exactly where the script element sits in the DOM. A dynamic script can create many, wherever it is configured to. A placement made by a static tag and one made by a dynamic script are otherwise much the same.

Anatomy of a placement

A placement has a single root <div> holding all of the ad content and whatever else it needs to operate. Inside that root, in no particular order:

Valid operating environment

A placement has to sit somewhere on the page that will be visible. It should not be inside a hidden or invisible container, nor inside a non-visual element such as <table>, <ul> or <head>. The containers above it should never be smaller than the resulting ad, and never zero pixels wide or high.

Reloading of DOM contents

Some widgets and libraries allow elements to be wrapped in new containers. This is discouraged, because it breaks many things inside the wrapped element, Neuwo placements included.

A wrap normally removes an element from the document, adds the new parent, and then adds the original element back as a child of it. Removing any element from the DOM resets its more complex contents. <iframe> elements, especially those whose content was added dynamically, which Neuwo and most other ad networks rely on, are left blank by that process. So if a placement has been rendered below an image and a library later wraps the surrounding container, the placement inside it is destroyed.

Sites that use wrapping to insert elements above others in the DOM tree tend to wrap late, by which time the wrapped elements already hold processed content like videos and iframes. That is what makes it damaging.

If you know of such a procedure running on your site, say so: contact Neuwo or email adops@neuwo.ai. For a placement to work on a site that wraps, either the placement has to sit outside the wrapped areas, or the wrapping has to be removed.