Expand my Community achievements bar.

SOLVED

AMO Library included in HTML standard banner

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Employee

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

 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

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