AdWords
4.6K members online now
4.6K members online now
Get started with AdWords - learn the basics to get set up for success
Guide Me
star_border
Reply

"ClickTag is required, but not found."

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I keep getting this error on upload: "ClickTag is required, but not found." when I upload my swf file...but I have this script in the file:

import flash.events.MouseEvent; import flash.net.URLRequest; // ...... MyMouseClick.addEventListener( MouseEvent.CLICK, function(event: MouseEvent) : void { flash.net.navigateToURL(new URLRequest( root.loaderInfo.parameters.clickTAG), "_blank"); } ); 

I'm not sure why it keeps failing. Any help would be appreciated.

1 Expert replyverified_user

Re: "ClickTag is required, but not found."

Google Employee
# 2
Google Employee

Hi Chris,

 

Thanks for posting on our Community forum. For your ClickTag issue, please try using these troubleshooting steps (see Click tag reference near bottom of the post):

 

 

 

Please let me know if the information is helpful in resolving your ClickTag issue.

 

Click tags

 

Google doesn't allow Flash ads that don't support the clickTAG variable. The clickTAG is the tracking code assigned by Google to an individual ad. It allows Google to register where the ad was displayed when it was clicked and helps advertisers determine the effectiveness of their campaign.

 

  • On any click, Flash ads should redirect to the URL specified in the clickTAG argument; there should be no other redirection in between.
  • The variable name must be spelled "clickTAG" (upper-case TAG; no space between click and TAG) and not "click tag," "Click Tag," or any other form.

ClickTAG parameter code for ActionScript 2:

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

ClickTAG parameter code for ActionScript 3:

import flash.events.MouseEvent;
import flash.net.URLRequest;
// ......
someButton_or_displayObject_to_receive_mouseClick.addEventListener(
   MouseEvent.CLICK,
   function(event: MouseEvent) : void {
     flash.net.navigateToURL(new URLRequest( root.loaderInfo.parameters.clickTAG), "_blank");
     }
   );

ClickTAG parameter code to check for the https: prefix:

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

Replace someButton_or_displayObject_to_receive_mouseClick with the actual name of button that will receive the click.

 

Note that it's not necessary to specify the destination URL for the ad anywhere in this code; this is taken care of through the usage of clickTAG. Also, depending on the structure of your Flash ad, it may be necessary to prepend "_root." or "_level0." to "clickTAG" above, resulting in "_root.clickTAG" or "_level0.clickTAG". It is strongly recommended to upload the ad into your account and verify that the ad is behaving normally prior to it going live, allowing time for any necessary changes.

Re: "ClickTag is required, but not found."

[ Edited ]
Follower ✭ ✭ ☆
# 3
Follower ✭ ✭ ☆

As of now, the official Google policy page you referred to(https://support.google.com/adwordspolicy/answer/176108?hl=en) does not contain any mention of ClickTAG. Where is the official description of this requirement then?

 

Edit: SORRY, I have found it. It's not there if you do "Find on Page" for ClickTAG. One has to manually expand the "Click Tags" section.