Card Format
Logo, name, tagline, and CTA in a flexible container.
Script Tag
<script src="https://adventory.to/ad.card.js" data-placement="YOUR_PLACEMENT_ID"></script>Behavior
The card fills both the width and height of its parent container. Wrap it in a container with explicit dimensions, for example width: 100%; height: 100%.
Works well in CSS grids, sidebars, and any sized container.
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.