Asynchronous placement supports several attributes that can be used to fine-tune the code. These are:
attribute | meaning |
data-asm-host="..." | Host name (xxx.adspirit.de) AdServers |
data-asm-params="..." | Additional parameters to be passed to the ad server (see parameter list) |
data-asm-click="..." | URL for 3rd party Click-tracking / External click tracking through the publisher. As the value, please deposit the non-coded URL. |
data-asm-encode="..." | Describes how when using 3rd party Click-tracking forwarding should be done to the publisher ad server. A value of 0 (default) means that the target URL should be uncoded passed to the publisher ad server. Values above 0 indicate that the target URL should be as often coded. |
data-asm-set timeout="..." | Maximum number of milliseconds (default = 500), waiting for the script to an asynchronous pre-targeting script. Responds the pre-targeting not within this time, the ad space is built without determining the pre-targeting information. |
data-asm wallpaper="1" | If set, the ad server will consider this ad space as part of a possible Wallpapers. This can help prevent problems in the construction of Wallpaper advertising. |
data-asm-fetch-gdpr="1" | If set, the ad server will look for an existing CMP on the site and query it for consent information. The maximum wait time is 500ms or the value set by the data-asm-set timeout = "...". |
data-asm-scrollintoview="1" | If set, the ad space is only charged when they come into view. |
data-asm-responsive="1" | Only set if the type is "Responsive Placement". |