Tutorials

How to mark ads using container labels

To distinguish paid content from other content on a website you can easily add a label to containers. The label will only be displayed when content has been received. This prevents free-floating labels on the page which can otherwise happen when no ad is served.

Setup
adk.config()
    .addContainer('my-container', adk.container.config()
        .provider('adk.hello')
        .label('I AM A LABEL')
        .labelColor('#888'))
    .apply()
    .init(publisherId)
Result