Description
The
<admobChunk> element allows you to place an Admob advertising chunk onto your site. You will need to have an account with
Admob
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>
<admobChunk>
<mobile_site_id>xxxxxxxxxxxxxx</mobile_site_id>
<iphone_site_id>xxxxxxxxxxxxxx</iphone_site_id>
<iphone_background_color>0000FF</iphone_background_color>
<iphone_text_color>FF0000</iphone_text_color>
</admobChunk>
- </layout>
- </wapl>
Child Elements
mobile_site_id
This is the SiteID supplied to you by Admob.
Example:
<mobile_site_id>xxxxxxxxxxxxxxx</mobile_site_id>
iphone_site_id
This is the SiteID for iPhone's supplied to you by Admob.
Example:
<iphone_site_id>xxxxxxxxxxx</iphone_site_id>
iphone_background_color
Specify a background color for adverts when displayed on an iPhone. Please supply the color value as a hex without the hash symbol. i.e Red = FF0000
Example:
<iphone_background_color>FF0000</iphone_background_color>
iphone_text_color
Specify a text color for adverts when displayed on an iPhone. Please supply the color value as a hex without the hash symbol. i.e Black = 000000
Example:
<iphone_text_color>000000</iphone_text_color>