Script Integration

The fastest way to display ads. One HTML tag.

1. Create a placement

Head to the dashboard and create a new placement. You'll get a placement ID.

2. Pick a format

Adventory supports two script formats: banner and card. Check the formats page for visual examples and dimensions.

3. Copy the snippet

For a banner ad:

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

For a card ad:

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

4. Paste on your site

Drop the snippet wherever you want the ad to appear. The script creates an iframe that fills its parent container, so wrap it in a div sized to your liking.

Works with any framework — plain HTML, React, Vue, Svelte, Astro, you name it. The script loads asynchronously and won't block rendering.

Next steps