Install DCO Enabler
The ADventori’s DCO Enabler is a simple JS library : you have to insert the library in your creative to interact with our AdServer.
The library creates a namespace ADventori.
How to install the DCO Enabler ?
Create a new Animate project (File -> New), go to the tab ADvertising and select type HTML5.
We will now create ADventori’s publication template.
- Open the project
- Go to File> Publish Settings> HTML/JS
- Reset the default template
- Export this template, be careful to name it in order to differentiate it from the rest. You have an .html file that is exported
- Open this file with a text editor.
- Go to the line just below
<title> $ TITLE </ title>
- Insert the following line:
<script src="https://adventori.com/lp/enabler/ADventori-2.0.0.js" type="text/javascript"></script>
<script src="https://adventori.com/lp/enabler/ADventori-2.0.0_AdobeAnimate.js" type="text/javascript"></script>
- Save file
- Return to Adobe Animate
- Go to File> Publish Settings> Advanced
- Import a new template (import the previously modified file)
- Publish the project