|
|
Flash Ads - DoubleClick 5.0
Click coding instructions for Flash ads served by DoubleClick 5.0
OPTION 1: Embedding the destination URL in the Flash file
The instructions below are optimal for files that have two or more click-throughs. The URL(s) are embedded in the published Flash file.
Create a button
Create an action and select the event: On Release
Add getURL action and check the expression box to the right
Enter the following into the URL field:
clickTAG add “http:%2F%2Fadvertiserurl.com” |
|
|
The slashes (//) following http: in the URL must be escaped to "%2F%2F"
Replace “advertiserurl” with actual click-through URL
In Window field, enter: _blank
Publish as Flash 5
|
OPTION 2: Formatting Flash with NO embedded URL
The instructions below enable the Ad Server to control the destination URL by passing it through to the Flash dynamically. The URL is not embedded in the published Flash file.
Create a button
Create an action and select the event: On Release
Add getURL action and check the expression box to the right
Enter the following into the URL field:
on (release) {
if (clickTAG.substr(0,5) == "http:") {
getURL(clickTAG);
}
}
|
|
In Window field, enter: _blank
Publish as Flash 5
|
|