Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Adding Verve ad tags to your mobile application is quick and easy.

We support three kinds of integration

  • We offer an SDK for integration into your mobile apps
  • We offer server-side integration via an API
  • We offer javascript ad tags for integrating into Mobile WAP/Web sites.

SDK Integration

Talk to your publisher services representative for access to our SDK.

Server-Side Integration

Talk to your publisher services representative for access to our API

Mobile WAP/Web Integration

Mobile WAP/Web Integration is the simplest form of integration that Verve Wireless supports.

Your publisher services representative will help you get a "Verve Ad Tag". A Verve Ad Tag looks like this:

<script type='text/javascript'><!--//<![CDATA[
var m3_u = 'http://adcel.vrvm.com/adtag.js';
var m3_r = Math.floor(Math.random() * 99999999999);
var category="999";  // use 999
if (!document.MAX_used) document.MAX_used = ',';
document.write("<scr" + "ipt type='text/javascript' src='" + m3_u);
document.write("?c=" + category +"&b=AP&p=apcl&key=946c33cd0666143eea9edf7c555772fa");
document.write('&cb=' + m3_r);
if (document.MAX_used != ',') document.write("&exclude=" + document.MAX_used);
document.write(document.charset ? '&charset=' + document.charset :
(document.characterSet ? '&charset=' + document.characterSet : ''));
document.write("&loc=" + escape(window.location));
if (document.referrer) document.write("&referer=" + escape(document.referrer));
if (document.context) document.write("&context=" + escape(document.context));
if (document.mmm_fo) document.write("&mmm_fo=1");
document.write("'><\/scr" + "ipt>");
//]]>--></script>

For normal client-side integration, simply insert your Verve Ad Tag where you want your ad to appear.

For a client-side integration using DFP Mobile, some minor changes should be made.

Testing and Certification

Here is a sample Verve Ad Tag that always returns a banner:

<script type='text/javascript'><!--//<![CDATA[

var m3_u = 'http://adcel.vrvm.com/adtag.js';
var m3_r = Math.floor(Math.random() * 99999999999);
var category="999";  // use 999
if (!document.MAX_used) document.MAX_used = ',';
document.write("<scr" + "ipt type='text/javascript' src='" + m3_u);
document.write("?c=" + category +"&amp;b=sampletag&amp;p=ptnr&amp;key=090fb1cf241a53b91b8a07dcf94d6261");

document.write('&amp;cb=' + m3_r);
if (document.MAX_used != ',') document.write("&amp;exclude=" + document.MAX_used);
document.write(document.charset ? '&amp;charset=' + document.charset :
(document.characterSet ? '&amp;charset=' + document.characterSet : ''));

document.write("&amp;loc=" + escape(window.location));
if (document.referrer) document.write("&amp;referer=" + escape(document.referrer));
if (document.context) document.write("&context=" + escape(document.context));

if (document.mmm_fo) document.write("&amp;mmm_fo=1");

document.write("'><\/scr" + "ipt>");

//]]>--></script>

By changing the category to "888", you will get a Celtra rich media banner. Using this, you can test a wide range of possible Verve responses.

Ad Formats and Size

The Verve Ad Tag will automatically sense the device requesting a page and serve an appropriately sized advertisement. Generally, Verve Ad Tags comply closely with MMA specifications and come in the following sizes:

  • 320x53
  • 320x50
  • 300x50
  • 216x36

The supported formats are .jpg, .gif, and .png.

Metadata

If you set the "category" variable to a value in our Ad Category Codes this provides us with metadata about the content type for the impression that allows us to serve higher value ad inventory. A list of acceptable category values can be found in the AdCel API.

Passbacks

By default, if there was no ad available for the request, a zero-byte HTTP 200 response will be returned. Here is a sample of the headers:

Server: Apache-Coyote/1.1
Content-Type: text/plain
Transfer-Encoding: chunked
Date: Wed, 24 Sep 2008 20:44:40 GMT
200 OK

If you have a roll-over tag that you would prefer us to use, give that tag to your Verve publisher services representative and Verve will integrate that on your behalf. Verve works with many third party advertising networks - please make sure you let your Verve publisher services representative know whether you would like the benefit of these advertising partners looking at inventory before we pass the ad back to youAdding Verve ad tags to your mobile application is quick and easy.

  • No labels