Advertisment
DIV Ad Provider Implementation
6 min
the ad provider called "div" allows customers to configure advertisements using a simple html div element approach while maintaining consistency with the existing ad system implementation details core functionality simple div container the div ad provider creates a basic html \<div> element on the webpage this div serves as a container where ad scripts can inject their content flexible attributes publishers can configure custom attributes for the div element through the builder these attributes (like id , class , data attributes) are automatically applied to the div when it renders on the page this flexibility allows ad providers like ökotest to use their existing scripts that expect specific div attributes consistent integration the div provider follows the same patterns as other ad providers (gpt, html, traffective, etc ) it uses the same configuration system and loads through the same ad component usage example configuration in the experience builder, project can configure a div ad unit with type div attributes custom key value pairs for html attributes example configuration { "type" "div", "attributes" { "id" "ad slot", "class" "ad container", "data zone" "123", "data size" "300x250" } } rendered output