Banner Format

Full-width horizontal ad strip.

Script Tag

<script src="https://adventory.to/ad.banner.js" data-placement="YOUR_PLACEMENT_ID"></script>

Behavior

The banner fills the width of its parent container. It is responsive: when the container is under 500px wide, the layout stacks vertically.

Attributes

AttributeRequiredDescription
data-placementYesYour placement ID (UUID).
data-themeNoSet to "dark" to use a dark background with light text.
data-bgNoCustom background color (hex, e.g. #1a1a2e).
data-textNoCustom text color (hex).
data-cta-bgNoCustom CTA button background color (hex).
data-cta-textNoCustom CTA button text color (hex).

Color attributes override advertiser colors. See Theming & Colors for details on color priority.