If you've specified a destination URL but your Flash banner still does not track clicks, review how the clickTAG variable is implemented in your .swf file by opening it directly in a browser. (You can also use tools, such as Action Script Viewer or URL Action Editor, to debug problems with your .swf file.)
Proper clickTAG implementation
The clickTAG variable is an industry-standard method of tracking Flash creative clicks; it allows Google to register where an ad was displayed when it was clicked on. Problems with Flash creatives may result from an incorrect clickTAG implementation. To troubleshoot this implementation, make sure that:
-
The advertiser has inserted the clickTAG in the .fla file before converting it to the .swf file that is uploaded in DFP Small Business.
-
The clickTAG variable is properly implemented in the action of the button. In the
getURL()function of the action, make sure to specify the clickthrough URL asclickTAGand the target window as"_blank". For example:getURL(clickTAG,"_blank");.The ad server will only recognize the standard casing of "clickTAG" for the variable name (not "ClickTag" or "clicktag", for example). -
Depending on the structure of a Flash creative, it may be necessary to prepend
_root.or_level0.to clickTAG, resulting in_root.clickTAGor_level0.clickTAG. The code below illustrates proper use of the clickTAG parameter.on (release) { if (clickTAG.substr(0,5) == "http:") { getURL(clickTAG, "_blank"); } } -
The button associated with the ActionScript that contains the clickTAG is on the top-most layer through the timeline.
-
The button associated with the ActionScript that contains the clickTAG is extended throughout the entire frame and is applied to all existing frames.
- You've specified the clickthrough URL within DFP Small Business.
You can review more detailed documentation for clickTAG implementations at www.adobe.com/resources/richmedia/tracking/designers_guide
.
Flash functionality
The advertiser, agency, or rich media vendor that creates the Flash ad should ensure the ad is fully functional. However, you may still wish to review the ad and ensure that the ActionScript with clickTAG is associated with the button that the user clicks, and not with any other button.
About ActionScript 3
Adobe has not yet set a standard for how to code buttons in ActionScript 3, so ActionScript 3 clickTAGs are not guaranteed to work in every situation.
Here's an example of an ActionScript 3 clickTAG if a Flash developer needs one:
Link_1.addEventListener(MouseEvent.MOUSE_UP, function(event: MouseEvent):
void { var sURL: String;
if ((sURL = root.loaderInfo.parameters.clickTAG)) {
navigateToURL(new
URLRequest(sURL), "_blank"); }
}
For more examples, see http://creative-repository.appspot.com/.
