Description

The
<adsenseChunk> element allows you to place a Google Adsense ad onto your mobile page.
Quick Example
- <?xml version="1.0" encoding="UTF-8" ?>
- <wapl xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://wapl.wapple.net/wapl.xsd">
- <layout>
<adsenseChunk>
<channel_id>xxx</channel_id>
<client_id>xxx</client_id>
<items_per_page>1</items_per_page>
<col_border>FFFFFF</col_border>
<col_bg>252525</col_bg>
<col_link>0000CC</col_link>
<col_text>999999</col_text>
<col_url>008000</col_url>
</adsenseChunk>
- </layout>
- </wapl>
Child Elements
channel_id
The Google Adsense channel id to serve ads from.
client_id
Your Google adsense client id.
items_per_page
The number of ads to display. Set to 1 for a single layout mode, or 2 for a double layout. No other values are accepted. (Default: 1)
col_border
A hexidecimal colour code for the border colour of the ad (Note: Don't include the '#')
Example:
<col_border>555555</col_border>
col_bg
A hexidecimal colour code for the background colour of the ad (Note: Don't include the '#')
Example:
<col_bg>EEEEEE</col_bg>
col_link
A hexidecimal colour code for the colour of links on the ad (Note: Don't include the '#')
Example:
<col_link>0000CC</col_link>
col_text
A hexidecimal colour code for the colour of text on the ad (Note: Don't include the '#')
Example:
<col_text>000000</col_text>
col_url
A hexidecimal colour code for the colour of urls on the ad (Note: Don't include the '#')
Example:
<col_url>008000</col_url>
Note: The values shown for colours are the defaults used if none are set.