<img src="https://img.shields.io/badge/%20-ENTERPRISE-%23B10031" style="float:left"/><br />

If you have a need to run an ad for your own business and have no demand from a direct or programmatic sale, you can create a custom VAST ad tag to serve your ads (for example, "house ads") in your web player. This approach does not require you to partner with an ad server.

<br />

ο»Ώ

Similar to other advertising features, you must have an Enterprise license that has been configured to run ads.

<br /> <hr />

## Create the ad tag

Use the following steps to create a VAST XML ad and serve it in your web player:

  1. Using the <a href="https://iabtechlab.com/wp-content/uploads/2018/11/VAST4.1-final-Nov-8-2018.pdf" target="_blank">IAB VAST 4.1 specification</a>, create a VAST XML ad.

  2. (Optional) Add [trackers](πŸ”—ο»Ώ) to the `<Impression>` and `<ClickThrough>` elements.

  3. Save the VAST XML code block as an .xml file.

  4. Upload the **.xml** file to a location on your domain.

  5. Copy the URL of your **.xml** file.

    ο»Ώ

<br /> <hr />

## Add tracker macros

JWP recognizes the following VAST macros that can be appended to trackers in the `<Impression>` and `<ClickThrough>` elements. You can read more about these macros and their usage in the <a href="https://iabtechlab.com/wp-content/uploads/2018/11/VAST4.1-final-Nov-8-2018.pdf" target="_blank">VAST 4.1 specification</a>.

ο»Ώ

<br /> <hr />

## Configure your player to serve your ad

You can now create an ad break with your custom VAST XML.

<table> <thead> <tr> <th> Approach </th> <th> Description </th> </tr> </thead> <tbody> <tr> <td width="35%"><strong>Dashboard</strong> </td> <td width="65%">Within your JWP dashboard, <a href="/platform/docs/advertising-schedule-ad-breaks#configure-ad-breaks" target="_blank">add your VAST XML ad tag URL</a> to the <strong>Tag URL</strong> field. </td> </tr> <tr> <td><strong>Player Configuration Code</strong> </td> <td>Within the player's configuration code, <a href="/players/docs/jw8-schedule-vast-ads" target="_blank">add your VAST XML</a> through one of the following approaches:<br /><br /> <ul> <li>Add your VAST XML ad tag URL to the <code>tag</code> property.</li> <li>Add your raw VAST XML code to the <code>advertising.vastxml</code> or <code>advertising.schedule[].vastxml</code> property instead of the <code>tag</code> property.</li> </ul> </td> </tr> </tbody> </table>

<br />

<!-- Removes the automatic page-to-page navigation at the bottom of the page -->

<style> .rm-Pagination { display: none; } </style>