Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If there are specific pages where only a subset of the ads are shown, it is important to declare the ad tags, that are used in on the current page. If ad tags are not properly declared, ad units will be auctioned, even if not used. This will lead to false ad impressions, negatively affecting page performance and user experience.
You can declare ad units using the snigelPubConf element.

...

The page body needs to define <div> elements that will be filled with ads. They need to be placed where the ad should be displayed.
The <div> elements should reserve the maximum width and height of the displayed ad to prevent Cumulative Layout Shift (CLS). If you are using ad labeling, reserve an additional 15px of height for the label. To reserve the proper space please consult your account manager to get the exact ad sizes.

For each <div> element name, provided by your Your account manager , create tags like in the will provide you with all tags, like this example:

Code Block
<div id="adngin-topleaderboard-0"></div>
<div id="adngin-sidebar-0"></div>

...

Snigel is using the staging version of AdEngine to deliver previews of new features and enhancements before they are available on in production. This way it is possible to test new features in a safe way.

...