Help Center > Features > Ad Serving

Mobile Ad Serving

Mobile ad serving is a natural extension for any web publishers and we are committed to provide you the tools you need to display ads on your mobile site. These are different methods to display mobile ads for the best compatibility with the target mobile devices.

Simple - Standard Image Ad

This approach does not require any special client library or programming knowledge on your side, you can simply paste the HTML code into your mobile website. However, there are several restrictions because of mobile browser's limitations: a) serve only image ads with a specific dimension (width and height) and b) only one ad of that dimension can be active at a time. It's similar to a newsletter zone. To use this approach:
  • Click on a zone name
  • Set the zone type to be "Email/Newsletter"
  • Ensure there is only one active ad. This restriction is due to certain mobile browsers might not support cookie
  • Click on "Serving Code" tab and choose the serving code format to be "Simplified"
  • Copy and paste the code into your mobile website

Simple - Smart Phones with JavaScript capability

If your target devices are smart phones that support JavaScript (including iPhone, iPod Touch, BlackBerry, Android, etc.) you can use the standard JavaScript serving code to display mobile ads. Internet browsers on these devices are powerful and can display ads much like any standard computer, only with a smaller screen. Thus, the ad size for mobile ads should follow the recommended dimensions below.

Mobile Ad Dimensions

In addition to standard mobile ad dimensions, you can display your own custom ad dimensions. Recommended ad dimensions by the Mobile Marketing Association (MMA) include:
  • 300x50 and 300x75
  • 216x36 and 216x54
  • 168x28 and 168x42
  • 120x20 and 120x30

Advanced - Download Mobile Client Code

The client library is used to fetch appropriate ad(s) from our mobile ad server and include the chosen ad code directly into your mobile website. This approach requires downloading a client library and some programming knowledge from your side. It is suitable if:
  • You want to target more mobile devices, including both smart-phones and basic mobile handsets.
  • You want to rotate text ads, or a mix of both text and image ads
Here is how it works:
  1. Your website includes the client library to pre-fetch an ad
  2. Your website displays provided ad directly to end-users
Download PHP class. Please visit this page frequently for updates or revisions.

Set Ad Serving Parameters

The client library can fetch ads from any zone or a specific ad. For serving ads in a zone, you will need the zone ID and additional selection parameters: ad format, ad dimension. Ad format can be:
  1. image banner ads only
  2. text link ads only
  3. or a mix between banners and text links
Flash/SWF ads and advanced HTML/Rich-Media ads are not currently supported in mobile ad serving due to the limit of mobile browsers.

Sample Code

This example shows how to use the provided PHP library to fetch and include an ad into your mobile website. It requires programming and technical integration on your side.
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html>
<head>
<title>Sample Mobile Site</title>
</head>

<body>
<h4>Sample Content</h4>
This is my test website optimized for mobile devices. 
It uses XHTML Mobile Profile (XHTML-MP)

<ul>
<li><a href="#link1">Test Link #1</a></li>
<li><a href="#link2">Test Link #2</a></li>
</ul>

<h4>Advertisement</h4>
Mixing banners and text link ads in a single ad placement.

<?php
include_once("AdSpeed.mobile.class.php");

$vAd = new AdSpeedAdServer();
$vAd->setFormat('text_image');
echo $vAd->fetch(array('zid'=>22922,'wd'=>-1,'ht'=>-1));
?>

</body>
</html>
Live Demo of ad serving on a test mobile page.

SDKs

SDKs for iOS (iPhone, iPod Touch, iPad), Android are under development. You can use a web view instance (like UIWebView) to display ads in your native app via the server-side API.

Support

If you have any questions or problems during integration, please contact us

Other Articles in Ad Serving

Features that display ads on your website, record impressions and clicks
Search Help Center
There was a problem with your submission. Please correct the following items:

    Cannot find an answer for your question? Ask our Customer Care team

    Related Articles

    • Ad Formats and Ad Dimensions i
      "Our ad server can deliver many different ad formats: Standard image banners (GIF, PNG, JPG, and BMP files) Flash/SWF ads ..."
      30% relevant in Features > Ad Serving
    • Website i
      "Documentation for API methods to manage one or multiple websites. API Version1.2.7 (build 20110606). Documentation was last modified on Sun, ..."
    • Advertiser i
      "Documentation for API methods to manage one or multiple advertisers. API Version1.2.7 (build 20110606). Documentation was last modified on Sun, ..."
    • Zone i
      "Documentation for API methods to manage one or multiple zones. API Version1.2.7 (build 20110606). Documentation was last modified on Sun, ..."

    Have questions? Contact Us

    Testimonials for our Ad Servers

    • I have to say I am very impressed with the new version of your site. Great work!

      Chinedu E
      HopStop

    • I've signed up for the trial run but am confident that I'll continue. Great service!

      Wade W
      Cycling Tips Blog