Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Server-Side Integration

Our AdCel API provides a server-side method of integrating with publishers.

Talk to your publisher services representative for access to provisioning of your production service on our API.

Mobile WAP/Web Integration

...

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

Code Block

<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>

...

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

Code Block

<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 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:

Code Block

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

...