Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

AMO Library included in HTML standard banner

A_Najj
Level 1
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
shivania1923929
Correct answer by
Employee
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
shivania1923929
Correct answer by
Employee
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