AMO Library included in HTML standard banner

A_Najj

21-09-2020

Hi,

 

Thanks in advance

 

I have an old Adobe HTML banner template that includes the AMO java script library in the head tag like below:

<script type="text/javascript" src="https://ads.everesttech.net/ads/static/local/AMOLibrary.js"></script>

Is this mandatory? Why?

Also, I'm implementing a simple clickTag to the banner.

I found this drop box walkthrough here:

HTML5 Zip Container Walkthrough

Is this the best way to implement the Click Tag?

I would suggest for Adobe to please create a downloadable template as a starting point.

 

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

shivania1923929

Employee

23-09-2020

Hi @A_Najj ,

 

The HTML 5 Zip Container walkthrough guide you have attached is the latest one to use and mentions all steps to add Adobe Click tag to your HTML banners.

If you see, it explains to use below snippet inside <head> element of your HTML file

 

<!--ADOBE CLICK HANDLING CODE -->
<script type="text/javascript">
var clickTAG = "YOUR_LANDING_PAGE_URL_GOES_HERE";
(function () {
var bindClickEvent = function (){
TARGET_ELEMENT.addEventListener("click", function (e) {
window.open( clickTAG, '_blank');
});
};
if ( document.attachEvent ) {
document.attachEvent( "onreadystatechange", bindClickEvent );
} else {
document.addEventListener( "DOMContentLoaded", bindClickEvent );
}
}());
</script>
<!--END OF CLICK HANDLING CODE -->

 

Can you please confirm why are you using <script type="text/javascript" src="https://ads.everesttech.net/ads/static/local/AMOLibrary.js"></script> ?

 

Thanks,

Shivani