General Specifications

  • Flash versions 6,7,8,9,& 10-10.1 (AS2 & AS3)
  • Your Flash file must not exceed 40K.
  • Flash 6 SWF files will be displayed for flash 6.0 to plug in browsers only. If the browser doesn"t support flash 6.0 and above the alternate image will be served. Flash 7 ads will be displayed for 7.0 plugin and above.
  • Onload play audio is not permitted in flash ads. Sounds played on click are allowed. All sounds are subject to approval by Yahoo!.
  • For best results, we recommend having the button encompass the entire ad area throughout the entire timeline. Buttons must have the clickTAG expression (see below) in place of embedded URLs.
  • The clickTAG expression must be attached to a button object and called onRelease.
  • Do not embed any URLs in the Flash file - include linking URLs in an email or other document.
  • Frame rate may not exceed 24 frames per second due to performance considerations. Banners that exceed 
  • 24 frames per second will not be accepted. 12 frames per second is preferred.
  • All Flash ads must be accompanied by the SWF file as well as an alternate image (GIF or JPG) of the same dimensions. Images must meet the file size specs for that ad size.
  • Looping must be set to False.
  • Loading files from cross domains is not permitted for security reasons.
  • All Creative is subject to approval.

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 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 as clickTAG and the target window as "_blank". For example:getURL(clickTAG,"_blank");.
  • DFP only recognizes the standard casing of clickTAG for the variable name, not ClickTag or clicktagor any other variant.
  • 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.

ActionScript 2 clickTAG

on (release) {
if (clickTAG.substr(0,5) == "http:") {
getURL(clickTAG, "_blank");

ActionScript 3 clickTAG

ActionScript 3 clickTAGs are not guaranteed to work in every situation.

Here's an example of an ActionScript 3 clickTAG:

Link_1.addEventListener(MouseEvent.MOUSE_UP, function(event: MouseEvent):
void { var sURL: String;
if ((sURL = root.loaderInfo.parameters.clickTAG)) {
URLRequest(sURL), "_blank"); }

Validating Flash Files