The BlackBerry Advertising Service: Add a revenue stream to your app with less than ten lines of code

Announcements

I am very proud to announce that the BlackBerry® Advertising Service SDK for BlackBerry® WebWorks™ is ready for its first public beta. This beta is designed to allow BlackBerry WebWorks developers to integrate an additional source of revenue into their applications.

The Advertising Service for BlackBerry WebWorks SDK can be used in your applications running on BlackBerry® 6 OS or higher. With this beta release you can start using the Advertising Service in your production apps – all you need is the BlackBerrry Webworks SDK, a few hours of development and a few lines of code and you will have access to a large and growing network of advertisers, all while dealing directly with just one trusted partner: Research In Motion® (RIM®).

As mentioned above, it only takes a few lines of code to add the Advertising Service to your BlackBerry WebWorks application. The application is designed so that all the work is handled by the library, so all you need to do is define your banner and place it on your screen! Here’s an example of how simple it can be:

<script type="text/javascript">
var zoneId = 12345; // Provided by RIM
var bannerObj = new blackberry.advertising.Banner(zoneId, "divId");
</script>

<div id="divId">
<!-- Banner ad will be displayed here -->
</div>

This will place a banner wherever you insert the <div> code, as seen in the above screenshot.

To get started, register with the BlackBerry Advertising Service to receive your registered copy of the BlackBerry Advertising Service beta SDK and a unique zone identifier to use in your application. Once you have the Advertising Service integrated and tested, submit it to the BlackBerry App World™ storefront to start earning revenue! Visit the BlackBerry Advertising Service forum for support, and file issues on our Issue Tracker.

For additional resources, you can check out the Developer’s Guide and Release Notes, and be sure to read up on the BlackBerry WebWorks API.

About Brian Z.

Brian joined Research In Motion (RIM) in 2005 working with Independent Software Vendors (ISVs) who specialize in Bluetooth, GPS, multimedia, and gaming. As a senior member of the Developer Relations Team, it's Brian's mandate to not only support the application development efforts for a number of ISVs, but also to act as a voice at RIM for third party application developers. Like RIM, Brian's roots are in the enterprise world, but over the past couple of years he's quickly adapted to the consumer space, and that's where he spends most of his time today.

Join the conversation

Show comments Hide comments
+ -
blog comments powered by Disqus