Banner Format
Full-width horizontal ad strip.
Script Tag
<script
async
src="https://adventory.to/ad.banner.js"
data-placement="YOUR_PLACEMENT_ID"
id="adventory-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
| Attribute | Required | Description |
|---|---|---|
| data-placement | Yes | Your placement ID (UUID). |
| data-theme | No | Set to "dark" to use a dark background with light text. |
| data-bg | No | Custom background color (hex, e.g. #1a1a2e). |
| data-text | No | Custom text color (hex). |
| data-cta-bg | No | Custom CTA button background color (hex). |
| data-cta-text | No | Custom CTA button text color (hex). |
Color attributes override advertiser colors. See Theming & Colors for details on color priority.