Jazz Ad Display Web Part
The Jazz Ad Display Web Part displays a rotating ad image.
Ad sizes include:
- W480H80 used for Windows Phone 8 Ads
- W728H90_1 used for Windows 8 Image Ad with click to Full Screen Image
- W728H90_2 used for Windows 8 Video Ad with click to Full Screen Video
Ads are automatically retrieved from the "~/xml/ads.xml" file found on the website. If no file is found, then no ads are displayed.
|
Figure 1: Jazz Ad Display
|
Format of the Ads File
Fields found in the Ad include:
- Path: the path to the image.
- Link: the havigation url for the user click.
- Size: the size of the image. W480H80 is the default ad size.
- Weight: a technique for showing the image more often.
<?xml version="1.0" encoding="utf-8" ?>
<Ads xmlns="http://schemas.WiebeWorks.com/AspNet/LinksFile">
<Ad>
<Path>~/imageAds/ad1.png</Path>
<Link>http://www.windowsphone.com/en-us/search?q=Wiebeworks</Link>
</Ad>
<Ad>
<Path>~/imageAds/adWW.png</Path>
<Link>http://www.WiebeWorks.com</Link>
</Ad>
<Ad>
<Path>~/imageAds/adJetfire.png</Path>
<Link>http://www.jetfire.ca</Link>
</Ad>
<Ad>
<Path>~/imageAds/AdEnhansoft.png</Path>
<Link>http://www.enhansoft.com/pages/eam.aspx</Link>
<Weight>2</Weight>
</Ad>
<Ad>
<Path>~/imageAds/ad1-728x90.png</Path>
<Link>http://www.windowsphone.com/en-us/search?q=Wiebeworks</Link>
<Size>W728H90_1</Size>
</Ad>
<Ad>
<Path>~/imageAds/adWW-728x90.png</Path>
<Link>http://www.WiebeWorks.com</Link>
<Size>W728H90_1</Size>
</Ad>
<Ad>
<Path>~/imageAds/adJetfire-728x90.png</Path>
<Link>http://www.jetfire.ca</Link>
<Size>W728H90_1</Size>
</Ad>
</Ads>
Access
This Web Part is accessed by the
Jazz Custom Library.
Edit Properties
Custom Edit properties include:
- Ad Size: The ad size to be displayed in the Web Part.
|
Figure 2: Editor for Jazz Ad Display
|