logo
Features | Pricing | Demo | Clients | About

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. Our mobile ad server supports different methods to display mobile ads for the best compatibility with different mobile devices.

Pricing

Mobile ad serving is included in all of our Premium plans at no extra charge.

Simple - Smart Phones with JavaScript capability

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

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

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.

Mobile Web Apps

You can build your mobile web app and embed the standard HTML ad tag into your app. Popular frameworks for web apps that work on multiple mobile platforms include Sencha Touch, jQuery Mobile, Bootstrap, Foundation, etc.

Mobile Native Apps

There are several options to integrate ads into your native app.You can use a web view instance to display ads in your native app via the server-side API. UIWebView in iOS and WebView in Android. AdSpeed ad tag can be used within PhoneGap-based native apps.

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

    Have questions? Contact Us

    Testimonials

    • Thank you very much! It is nice to see a company treat its clients well like this.

      Matt R
      Intervention Point LLC

    • I sure enjoy AdSpeed and remain very excited about all of the powerful features you offer. I see I have much to learn, but it will be fun in the long run. Thanks again for all you do for me, and for all the help you are giving me to grow my sales!

      Gary C
      2Cooleys Ozark Recreation and Tourism Media