Adperf Ad Spec
Adperft ™ ad spec page provides the clicktag guidelines as well as other information a creative agency needs to create standard flash banners for use with Adperft ™ adserving system.
1. File size is limited to 60 KB
2. Flash banners must be compiled with Flash 8 or higher versions
3. Fallback *.gif banners should be supplied for all formats
4. Flash Clicks/Links use clicktag’s
5. Clicks/Links must avoid being blocked by pop-up blocks
6. CPU usage must be limited
Please also see relevant publisher specifications for FPS, weight, looping etc.
Clicktag on a banner with one destination URL
Implement the following command on the invisible button (not a movie Clip) over shaping the whole creative and put on the highest layer of the pile:
ActionScript 2 version
on (release) {
getURL(_root.clicktag,_root.target);
}
ActionScript 3 version
clickTagButton.addEventListener(MouseEvent.CLICK, onMouseClick);Warning: Don’t implement the destination URL in place of the clicktag, and replace the ‘Clicktag Button’ by the name of your button.
function onMouseClick(e:MouseEvent):void {
callTheClickTag(LoaderInfo(root.loaderInfo).parameters.clicktag, LoaderInfo(root.loaderInfo).parameters.target);
}
function callTheClickTag(url:String,target:String):void
{
ExternalInterface.call('window.open("' + url + '","' + target + '")');
}
Click tag on a banner with adperf™dynamic URLs (AS2)
If a banner offers several destination URLs, create as many buttons on top of the pile as destination URLs. On each button, implement the following command:
on (release) {
getURL(_root.clicktag1,_root.target);
}
on (release) {
getURL(_root.clicktag2,_root.target);
}
on (release) {
getURL(_root.clicktag3,_root.target);
}
on (release) {
getURL(_root.clicktag4,_root.target);
}
on (release) {
getURL(_root.clicktag5,_root.target);
}
Click tag on a banner with several destination URLs (AS3)
If a banner offers several destination URLs, create as many buttons on top of the pile as destination URLs. On each button, implement the following command:
import flash.system.Security;
import flash.net.*;
import flash.external.ExternalInterface;
Security.allowDomain('nameoftheaccount.solution.weborama.fr');
clickTagButton.addEventListener(MouseEvent.CLICK, onMouseClick);
function onMouseClick(e:MouseEvent):void {
var loader:URLLoader = new URLLoader();
var request:URLRequest = new URLRequest(LoaderInfo(root.loaderInfo).parameters.clicktag);
loader.load(request);
callTheClickTag('http://www.destination1.fr', "_blank");
}
function callTheClickTag(url:String,target:String):void
{
ExternalInterface.call('window.open("' + url + '","' + target + '")');
}
nameoftheaccount.solution.weborama.fr depends on the client account
Warning : Feel free to contact traffic@adperf.nl team in order to get the exact account name/number
