Playwire IAB tags allow you to insert ads within specific DOM elements on your site. Ad size and formatting are managed by our team, simplifying integration.
To create your ad tag, follow these steps:
1. Assign a Unique ID
Use #pw-iab-[template]
for the first ad unit. If you need multiple ads with the same template,
increment the number in the ID (e.g., #pw-iab-[template]
) Each tag should have its own unique ID.
<div id="#pw-iab-medium-rectangle"></div>
<div id="#pw-iab-medium-rectangle2"></div>
2. Template types
The template portion of the ID helps define the ad format. It makes targeting easier via CSS and helps us identify the ad in your HTML.
Available templates:
- Leaderboard:
leaderboard
- Large Leaderboard:
leaderboard-big
- Medium Rectangle:
medium-rectangle
- Skyscraper:
-skyscraper
- Unrestricted:
-unrestricted
Examples:
<div id="#pw-iab-leaderboard" "></div>
<div id="#pw-iab-medium-rectangle""></div>
<div id="#pw-iab-leaderboard2"></div>
<div id="#pw-iab-leaderboard-big"></div>
Alternatively generate your tags using the generator below