Ad API

Introduction

Smart AdServer provides an Ad API to do ad requests in order to retrieve ads. The API is based on HTTP requests with POST/GET parameters. Thus, it can be used by a variety of programming languages.

The Ad API is relevant in the following cases: 

  • mobile in-app environment, where Smart AdServer's iOS/Android SDKs cannot be used (Note: the Smart AdServer SDKs are recommended for convenience and full feature support, details here: "Mobile Developers")
  • desktop or mobile web environment where client-side ad tags cannot be used (for more about ad tags, see Tagging guide)
  • server-side applications

Note:
The ad response (markup) is the same, no matter if you use this Ad API, client-side ad tags or the SDKs. However, the code format of the response depends on the ad type (format type) you are calling (see below: "Ad types and format types").

Inventory mapping - placements

In Smart AdServer's platform, inventory is mapped by three elements:

Element
Key
name
Description
Website
siteid
  • represents a desktop website, mobile website or mobile application
  • is the parent of the page
  • a website can have n pages
  • mandatory
Page
pgid
  • represents a sub-unit of the website (can also represent a cluster, vertical etc.)
  • is the child of a website
  • a page has at least one format
  • a page is connected to its website only; you cannot use a pgid for other websites
  • mandatory
Format
fmtid
  • represents an ad slot on a page (also called ad position or ad unit)
  • has a width and a height e. g. 300x250
  • one or multiple format(s) is/are part of a page
  • mandatory

 

  • the values of the siteid, pgid, fmtid elements are unique numbers (integers)
  • a triplet (combination) of a website, page and format is called "placement" (e. g. the format "medium rectangle" on page "mypage", which is the child of website "mywebsite.com" represents a placement; the format "skyscraper" on page "mypage", which is the child of website "mywebsite" represents another placement)
  • the ad server response (served ad) when calling Smart AdServer with a triplet of siteid, pgid and fmtid depends on the insertions (ads) set up in Smart AdServer's user interface

Ad calls

Ad types and format types

With this API, you can call the following types of ads:

  • mobile in-app ads
  • desktop/mobile web ads
  • video ads

The ad type is determined on format level. Thus, there are 3 format types:

  • mobile in-app format
  • desktop/mobile web format
  • video format

The responses (delivered ad) will differ depending on the ad type (format type) you are calling. Prior to calling ads, ask for confirmation that the format setup in the Smart AdServer UI is correct. This is important to make sure you get the ads you are expecting.

Ad call basics

An ad call follows this pattern:

http://www5.smartadserver.com/ac?siteid=[siteId]&pgid=[pageId]&fmtid=[formatId]&visit=M&tmstp=[timestamp]&tgt=[target]&out=[outputType]
  • the subdomain (e. g. www5.) may be different in your network; you will find it when exporting ad tags
  • placeholders (e. g. [siteId]) must be replaced with the actual value (square brackets ("[...]") must be removed)
  • parameters are specified in key=value format (e. g.: siteid=20697) and separated by an ampersand ("&")
  • the position (order) of the parameters within the query string has no impact - you are free to change it
  • the output type parameter (out=[outputType]) enforces the ad response in the specified outpout format (possible values - see below: "Desktop, mobile web and mobile in-app parameters"); it is not mandatory but highly recommended; if missing, Smart AdServer will return the default ad response which is based on the placement setup in the UI

Desktop and mobile web ad calls

A call to request a desktop ad or mobile web ad follows this pattern:

http://www5.smartadserver.com/ac?siteid=[siteId]&pgid=[pageId]&fmtid=[formatId]&visit=M&tmstp=[timestamp]&tgt=[target]

Mobile in-app ad calls

http://www5.smartadserver.com/ac?siteid=[siteId]&pgid=[pageId]&fmtid=[formatId]&visit=M&tmstp=[timestamp]&tgt=[target]&uid=[uid]&appname=[appname]&buid=[bundleid]
  • the parameters to be added for mobile in-app calls are: &uid=[uid]&appname=[appname]&buid=[bundleid]
  • the uid parameter is mandatory
  • the appname and buid parameters can be omitted if passed by the POST method (see next chapter);

Important note:

The parameter "buid=" is the field name to be used in case of mobile in-app GET requests. In case of mobile in-app POST requests (see next chapter), the field is called "bundleid“.

Mobile in-app ad calls - jsonMessage with POST method

In case of mobile in-app calls, you must pass additional information using the POST method. The POST request contains a single name/value pair jsonMessage, which must be encoded according to the application/x-www-form-urlencoded format. The value of this field is a JSON object with the following fields:

POST http://mobile.smartadserver.com/ac?siteid=4&pgid=308926&fmtid=15048&visit=M&tmstp=1323464020&tgt=test%3Drtbinter&uid=ACC4BFFC-D5D8-45C9-B2EA-694F5913DA4A HTTP/1.1
Host: mobile.smartadserver.com
Accept: */*
Content-Type: application/x-www-form-urlencoded
Connection: keep-alive
Cookie: x-smrt-d=4%3b9%3b70; TrkC0=Value=547560&Creation=12/05/2015 17:07:12
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 7_0_5 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/11B601
Accept-Language: fr-fr
Accept-Encoding: gzip, deflate
Content-Length: 299
jsonMessage={"rev":"unknownrevision","version":"6.0","appname":"AdViewer6.0","mediationsdks":[100,200],"longitude":"2.34577606432781","tracking":true,"latitude":"48.86981013491442","bundleid":"com.smartadserver.AdViewer6.0","platform":"iPhone6,2","prefetch":false,"language":"fr","connexion":"wifi"}

Video ad calls

http://www5.smartadserver.com/ac?siteid=[siteId]&pgid=[pageId]&fmtid=[formatId]&visit=M&tmstp=[timestamp]&tgt=[target]&uid=[uid]&appname=[appname]&buid=[bundleid]&ab=[adbreak]&oc=1&out=vast4&ps=1&pb=0&vcn=s&vaf=[vaf]&vpaidt=[vpaidt]&vpaidv=[vpaidv]&vdmin=[vdmin]&vdmax=[vdmax]&vbrmin=[vbrmin]&vbrmax=[vbrmax]&vpmt=[vpmt]&vph=[vph]&vpw=[vpw]&pgdomain=[pgdomain]

The parameters to be added for video ad calls are: ab=[adbreak]&oc=1&out=vast4&ps=1&pb=0&vcn=s&vaf=[vaf]&vpaidt=[vpaidt]&vpaidv=[vpaidv]&vdmin=[vdmin]&vdmax=[vdmax]&vbrmin=[vbrmin]&vbrmax=[vbrmax]&vpmt=[vpmt]&vph=[vph]&vpw=[vpw]&pgdomain=[pgdomain]

Parameters

Desktop, mobile web and mobile in-app parameters

Field Description
Mandatory
siteid
ID of the desktop site, mobile website or mobile application
yes
pgid
ID of the page
yes
fmtid
ID of the format
yes
visit
for the first call in the page: visit=M;
for other calls in the page: visit=S
yes
tmstp
random value used for cache busting;
can be generated using a standard random number generator
yes
tgt
parameter used for keyword targeting (optional); for more information read here
must be url-encoded
no
uid
ID of the user (device); must be unique and must remain constant for a given device;
for iOS: IDFA;
for Android: AndroidID
yes, for mobile in-app calls
appname
application name
yes, for mobile in-app calls
buid
application bundle ID;
has the form of a right-to-left domain name: com.my-app-name

Important note: "buid" is the field name to be used in mobile in-app GET requests. In case of mobile in-app POST requests, the field is called "bundleid“ (see above: "Mobile in-app calls - jsonMessage with POST method"
no
out
enforces the ad response in the specified outpout format;
possible values:
  • javascript: out=js
  • iframe: out=iframe
  • XML/VAST - see below: "video parameters"
  • JSON: out=json
no

Mobile in-app parameters - jsonMessage with POST method

Field
Description
Mandatory
appname
application name
no
rev
revision of the application
no
bundleid
application bundle ID;
has the form of a right-to-left domain name: com.my-app-name
Important note: "bundleid" is the field name to be used in mobile in-app POST requests. In mobile in-app GET requests, this field is called "buid“ (see above: "Desktop, mobile web and mobile in-app parameters“
yes
latitude
current latitude used for geo-targeting
no
longitude
current longitude used for geo-targeting
no
connexion
"cell” for 4G/3G/Edge;
“wifi” for WiFi
no
platform
“android” for Android devices

IPSW prefix for iOS devices:
- “iPhone1,2” for iPhone 3G
- “iPhone2,1” for iPhone 3GS
- “iPhone3,1” for iPhone 4
- “iPad2,2” for iPad 2 Wifi + 3G
- etc.

Other platform / device: “other”
yes
language
“fr”, “en”; not used
no
version

SDK version;
fixed to the value “4.0.0”;
for other versions or custom SDKs, use: “1.0.0”
Keep in mind: SDK version targeting is only supported with Smart AdServer’s SDK.
yes

Video parameters

For additional information about video parameters, read the dedicated article here.

Field
 Description
Manda-
tory
out
  • out=vast2 => requests a VAST ad with version 2.0
  • out=vast3 => requests a VAST ad with version 3.0 or lower
  • out=vast4 => requests a VAST ad with version 4.0 or lower
yes

vaf
  • specifies if flash video ads are accepted;
  • vaf=0 => no flash video ads accepted;
  • vaf=1 => flash video ads accepted;
no
vpaidt
  • specifies the VPAID type;
  • vpaidt=flash => requests VPAID type flash;
  • vpaidt=js => requests VPAID type js;
  • to pass both values in a single call, separate them by a comma: &vpaidt=flash,js
no
vpaidv
  • specifies the VPAID version;
  • vpaidv=0 => used in case VPAID is not supported at all; Important note: If VPAID is not supported at all, you must pass vpaidv=0; else, the default values (VPAID versions 1 and 2) would be used;
  • vpaidv=1 => requests VPAID version 1;
  • vpaidv=2 => requests VPAID version 2;
  • to pass both values in a single call, separate them by a comma: &vpaidv=1,2
no
vdmin
  • specifies the video ad's minimum duration in seconds
  • value: integer
no
vdmax
  • specifies the video ad's maximum duration in seconds
  • value: integer
no
ab
  • specifies the Ad Break;
  • ab=1 => preroll;
  • ab=2 => midroll;
  • ab=3 => postroll
no
vbrmin
  • specifies the minimum bit rate in Kbps;
  • value: integer
no
vbrmax
  • specifies the maximum bit rate in Kbps;
  • value: integer
no
vpmt
  • specifies the Playback method;
  • vpmt=1 => auto-play, sound on;
  • vpmt=2 => auto-play, sound off;
  • vpmt=3 => click-to-play;
  • vpmt=4 => play on mouse-over
no
vph
  • specifies the player height in pixels;
  • value: integer
no
vpw
  • specifies the player width in pixels;
  • value: integer
no
pgdomain
  • specifies the page domain, where the video ad call is integrated;
  • value: url-encoded string
no

Headers

IP address

Users' IP addresses are necessary for Geo-Targeting. At this time, Smart AdServer does not provide a placeholder/parameter to dynamically push the user IP address in the ad call.

If your API call is being executed server-side, your server will have to forward the user's (client's) IP address to Smart AdServer using the HTTP header X-Forwarded-For. For more details, read here.

User agent

The user agent must be specified using the HTTP header User-Agent.

In case of mobile in-app calls, using the User-Agent of the native browser of the device is strongly recommended. In case of iOS, this would be the User-Agent from a UIWebView or WKWebView. If the User-Agent differs too much from the native one, some targeting options may stop working.

Ad responses

The responses (delivered ad) will differ depending on the ad type (format type) you are calling. Prior to calling ads, ask for confirmation that the format setup in the Smart AdServer UI is correct. This is important to make sure you get the ads you are expecting.

No ad response

For each format type, this table shows the ad response to expect when there is no ad to be served.

Format type (ad type)
No ad response
Desktop and mobile web
response status is 200 OK;
content is a javascript sas_noad variable:
sas_noad true;
Executing the callback onNoad returns an object which includes the formatID and tagID; for more about this callback, read Managing empty ad responses (noad)
Mobile App
response status is 200 OK;
the response body is left empty
Video
response status is 200 OK;
content is a standard VAST Error XML:
<?xml version="1.0" encoding="UTF-8"?>
<VAST version="3.0">
       <Error>
              <![CDATA[http://www.smartadserver.com/shim.gif]]>
       </Error>
 </VAST>

HTTP 302 redirection handling

Important note:

Typically, ad responses have the HTTP status code HTTP 200 OK. Depending on the ad response type, you may see a  HTTP 302 redirection, which is a legacy form of ad delivery. You have to make sure your client/app is able to handle (i. e. follow) the redirection in these cases.

Video ad response

A video ad response will be returned when:

  • the used format type is "video" and
  • the appropriate parameters are used in the ad call (see above "Video parameters")

The response is a VAST XML following the VAST 2.0 / VAST 3.0 / VAST 4.0 standard (as specified in the ad call).

The following sample ad call returns a video ad response:

http://www5.smartadserver.com/ac?siteid=44928&pgid=322652&fmtid=27153&vaf=0&vpaidt=js&vpaidv=1,2&tgt=vpp%3Dhtml5%3Brevision%3D99083&oc=1&ps=1&visit=M&out=vast4&vcn=c&ab=1&ctid=CTID-123&ctpid=CTPID-123&vpw=626&vph=352&tmstp=1466541625599 

Javascript ad response

A javascript ad response will be returned when

  • the used format type is "mobile web/desktop" or"mobile in-app"
  • the output parameter ("out=") is set to "js" (see above: "Desktop, mobile web and mobile in-app parameters")

The response will be a standard javascript code. It must executed in a javascript-compliant environment (browser).

Example javascript ad response (click to expand)

(function(w, d) {
    var getDomElem = function(id) {return d.getElementById(id).contentDocument || d.frames[id].document;}
    var i = d.createElement('iframe');
    i.id = 'sas_4901793_iframe';
    i.scrolling = 'no';
    i.frameBorder = 0;
    i.width = 300;
    i.height = 250;
    i.style.margin = 0;
    i.style.padding = 0;
    i.style.width = '300px';
    i.style.height = '250px';
    if (typeof(sas_ajax) != 'undefined' && sas_ajax) {
        sas_appendToContainer(36669, i); // sas_formatId 
    } else {
        d.write('<div id="sas_rtb_4901793"></div>');
        var sas_rtb_div = d.getElementById("sas_rtb_4901793");
        if ((typeof(sas_rtb_div) != 'undefined') && (sas_rtb_div != null)) {
            sas_rtb_div.appendChild(i);
        }
    }
    i.doc = getDomElem(i.id);
    i.doc.write(
        '<!doctype html><html><head><title></title></head><body style="margin:0;padding:0">' +
        '<scr' + 'ipt type="text/javascript">var inDapIF=inDapMgrIf=true;</scr' + 'ipt>' +
        "\x3Cimg src=\'http://www5.smartadserver.com:80/h/aip?visit=v&amp;pubid=2&amp;statid=2&amp;ckid=386225520045089794&amp;tmstp=3746512873412&amp;usrtgt=&amp;tgt=%3b%24dt%3d1t%3b%24dma%3d501%3b%24hc&amp;systgt=%24qc%3d1309588102%3b%24ql%3dmedium%3b%24qpc%3d10020%3b%24qpp%3d212%3b%24qt%3d152_1829_29211t%3b%24dma%3d501%3b%24b%3d12470%3b%24o%3d11061%3b%24sw%3d1600%3b%24sh%3d1024&amp;rfr=&amp;capp=0&amp;mcrdbt=0&amp;insid=4901793&amp;imgid=0&amp;pgid=613819&amp;fmtid=36669&amp;loguid=365732104923080839&amp;logdate=1466524901989&amp;sig=lgQTZRoeVCBJvbDpRZ0KXvI77VFAv%2b57XuDKXc1YHWA%3d&amp;rtb=1&amp;rtbnid=1624&amp;rtbbid=365732104923080841&amp;rtbh=29c605dd465c1353999bdb431dce99af2af6d881&amp;rtblt=636021217019885071&amp;rtbet=0\' border=\'0\' width=\'0\' height=\'0\' style=\'display:none\'/>\x3Ciframe src=\'https://ec-ns.sascdn.com:443/diff/rtb/handler/st.min.html?%7b%22bid%22%3a%22365732104923080841%22%2c%22adomain%22%3a%22lacompagnie.com%22%2c%22page%22%3a%22613819%22%2c%22format%22%3a%2236669%22%2c%22crid%22%3a%22798858%22%2c%22dsp%22%3a%2280%22%2c%22buyer%22%3a%224792%22%2c%22cid%22%3a%22%22%2c%22adid%22%3a%22%22%2c%22hash%22%3a%226444077902323735291%22%7d\' width=\'0\' scrolling=\'no\' height=\'0\' frameborder=\'0\' style=\'display: none;\'>\x3C/iframe>\x3C!DOCTYPE html>\n\n\n\x3Cdiv style=\"height: 250px; width: 300px; display: table-cell; vertical-align: middle;\">\n\x3Cdiv style=\"width: 300px; margin-left: auto; margin-right: auto;\">  \n\x3Cdiv id=\"qc-ad-size\" class=\"qc-ad-300x250\">\n  \x3Clink href=\"http://content.quantcount.com/adchoices/v2/css/300x250.css\" rel=\"stylesheet\" type=\"text/css\"/>\n\n  \x3C!--[if lte IE 8]>\n  \x3Clink href=\"http://content.quantcount.com/adchoices/v2/css/ie.css\" rel=\"stylesheet\" type=\"text/css\"/>\n  \x3C![endif]-->\n\n  \x3C!--[if lte IE 6]>\n  \x3Clink href=\"http://content.quantcount.com/adchoices/v2/css/ie6.css\" rel=\"stylesheet\" type=\"text/css\"/>\n  \x3C![endif]-->\n\n  \x3Cdiv class=\"quantcast-ad-div\">\n\n  \x3CIFRAME SRC=\"https://ad.doubleclick.net/ddm/adi/N6061.151350.QUANTCAST/B8565174.120601416;dcopt=;sz=300x250;click=http%3A%2F%2Fexch.quantserve.com%2Fr%3Fa%3Dp-PAwx_CYzWYq04%3Blabels%3D_qc.clk%2C_click.adserver.rtb%2C_click.rand.58658%3Brtbip%3D64.95.38.144%3Brtbdata2%3DEBAaIExhX0NvbXBhZ25pZV9OZXdCb29raW5nc19RMl8yMDE2ILLHGSi01wwwiuEwOjRodHRwOi8vc2l0ZS04Nzc1Ni5wdWJsaXNoZXItODc3NTYuYW5vbnltb3VzLnNtYXJ0X2FkWig3QVRWNE9GU2dyUDBCNFcxNFZMTHRPMEYxN1gwQnQ3azd3UGRKOXBDdZR1GkGAAZ67go0NoAEBqAHe5-MCugESMzg2MjI1NTIwMDQ1MDg5Nzk0wAGKrw7IAZHFyJ3XKtoBEjM2NTczMjEwNDkyMzA4MDg0MeUBgXTLPOgBZJgCktANqAIGqAIFsAIIugIEQF8mkMACAsgCANAC3vW2jI-AqLPqAeACAA%3Bredirecturl2%3D;ord=668411?\" WIDTH=300 HEIGHT=250 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR=\'#000000\'>\n\x3CSCRIPT language=\'JavaScript1.1\' SRC=\"https://ad.doubleclick.net/ddm/adj/N6061.151350.QUANTCAST/B8565174.120601416;abr=!ie;dcopt=;sz=300x250;click=http%3A%2F%2Fexch.quantserve.com%2Fr%3Fa%3Dp-PAwx_CYzWYq04%3Blabels%3D_qc.clk%2C_click.adserver.rtb%2C_click.rand.58658%3Brtbip%3D64.95.38.144%3Brtbdata2%3DEBAaIExhX0NvbXBhZ25pZV9OZXdCb29raW5nc19RMl8yMDE2ILLHGSi01wwwiuEwOjRodHRwOi8vc2l0ZS04Nzc1Ni5wdWJsaXNoZXItODc3NTYuYW5vbnltb3VzLnNtYXJ0X2FkWig3QVRWNE9GU2dyUDBCNFcxNFZMTHRPMEYxN1gwQnQ3azd3UGRKOXBDdZR1GkGAAZ67go0NoAEBqAHe5-MCugESMzg2MjI1NTIwMDQ1MDg5Nzk0wAGKrw7IAZHFyJ3XKtoBEjM2NTczMjEwNDkyMzA4MDg0MeUBgXTLPOgBZJgCktANqAIGqAIFsAIIugIEQF8mkMACAsgCANAC3vW2jI-AqLPqAeACAA%3Bredirecturl2%3D;ord=712041?\">\n\x3C/SCRIPT>\n\x3CNOSCRIPT>\n\x3CA HREF=\"http://exch.quantserve.com/r?a=p-PAwx_CYzWYq04&labels=_qc.clk,_click.adserver.rtb,_click.rand.58658&rtbip=64.95.38.144&rtbdata2=EBAaIExhX0NvbXBhZ25pZV9OZXdCb29raW5nc19RMl8yMDE2ILLHGSi01wwwiuEwOjRodHRwOi8vc2l0ZS04Nzc1Ni5wdWJsaXNoZXItODc3NTYuYW5vbnltb3VzLnNtYXJ0X2FkWig3QVRWNE9GU2dyUDBCNFcxNFZMTHRPMEYxN1gwQnQ3azd3UGRKOXBDdZR1GkGAAZ67go0NoAEBqAHe5-MCugESMzg2MjI1NTIwMDQ1MDg5Nzk0wAGKrw7IAZHFyJ3XKtoBEjM2NTczMjEwNDkyMzA4MDg0MeUBgXTLPOgBZJgCktANqAIGqAIFsAIIugIEQF8mkMACAsgCANAC3vW2jI-AqLPqAeACAA&redirecturl2=https://ad.doubleclick.net/ddm/jump/N6061.151350.QUANTCAST/B8565174.120601416;abr=!ie4;abr=!ie5;dcopt=;sz=300x250;ord=266042?\">\n\x3CIMG SRC=\"https://ad.doubleclick.net/ddm/ad/N6061.151350.QUANTCAST/B8565174.120601416;abr=!ie4;abr=!ie5;dcopt=;sz=300x250;ord=777843?\" BORDER=0 WIDTH=300 HEIGHT=250 ALT=\"Advertisement\">\x3C/A>\n\x3C/NOSCRIPT>\n\x3C/IFRAME>\n\n\x3Cimg src=\"http://exch.quantserve.com/pixel/p-PAwx_CYzWYq04.gif?media=ad&p=0.22&r=527879&rand=58658&labels=_qc.imp,_imp.adserver.rtb&rtbip=64.95.38.144&rtbdata2=EBAaIExhX0NvbXBhZ25pZV9OZXdCb29raW5nc19RMl8yMDE2ILLHGSi01wwwiuEwOjRodHRwOi8vc2l0ZS04Nzc1Ni5wdWJsaXNoZXItODc3NTYuYW5vbnltb3VzLnNtYXJ0X2FkWig3QVRWNE9GU2dyUDBCNFcxNFZMTHRPMEYxN1gwQnQ3azd3UGRKOXBDdZR1GkGAAZ67go0NoAEBqAHe5-MCugESMzg2MjI1NTIwMDQ1MDg5Nzk0wAGKrw7IAZHFyJ3XKtoBEjM2NTczMjEwNDkyMzA4MDg0MeUBgXTLPOgBZJgCktANqAIGqAIFsAIIugIEQF8mkMACAsgCANAC3vW2jI-AqLPqAeACAA\" style=\"display: none;\" border=\"0\" height=\"1\" width=\"1\" alt=\"Quantcast\"/>\n  \x3C/div>\n  \x3Ca class=\"qc-adchoices-link top-right \" href=\"http://pixel.quantcount.com/r?a=p-9fYuixa7g_Hm2;rand=58658;labels=_click.creative.iab,_qc.iab.clk.p-PAwx_CYzWYq04.207796.798858;redirecturl2=http://www.quantcast.com/adchoices\" target=\"_blank\">\n    \x3Cdiv class=\"qc-adchoices top-right \">\n      \x3Cspan class=\"qc-adchoices-text\">AdChoices\x3C/span>\n      \x3Cimg class=\"qc-adchoices-icon\" width=12 height=12 src=\"http://content.quantcount.com/adchoices/img/adc.png\"/>\n    \x3C/div>\n  \x3C/a>\n  \x3Cdiv class=\"border-div\">\x3C/div>\n\x3C/div>\n\n\x3Cimg src=\"http://pixel.quantcount.com/pixel/p-9fYuixa7g_Hm2.gif?labels=_imp.creative.iab,_qc.iab.imp.p-PAwx_CYzWYq04.207796.798858\" style=\"display: none;\" border=\"0\" height=\"1\" width=\"1\" alt=\"Quantcast\"/>\n\n\n\x3C/div>\n\x3C/div>" +
        '</body></html>'
    );
    if (navigator.userAgent.indexOf('MSIE') == -1 && navigator.userAgent.indexOf('Opera') == -1) i.doc.close();
})(window, document);

HTML ad response

An HTML ad response will be returned when the output parameter ("out=") is set to "iframe" (see above: Desktop, mobile web and mobile in-app parameters).

For proper rendering, you should place this code into an iframe or a webview. Alternatively, you can use the ad call as the source of the iframe.

Example HTML ad response (click to expand)

<img src='http://www9.smartadserver.com:80/h/aip?visit=m&amp;pubid=2&amp;statid=18&amp;ckid=386225520045089794&amp;tmstp=%5btimestamp%5d&amp;usrtgt=&amp;tgt=%3b%24dt%3d1t%3b%24dma%3d501%3b%24hc&amp;systgt=%24qc%3d1309588102%3b%24ql%3dmedium%3b%24qpc%3d10020%3b%24qpp%3d212%3b%24qt%3d152_1829_29211t%3b%24dma%3d501%3b%24b%3d12470%3b%24o%3d11061%3b%24sw%3d1920%3b%24sh%3d1200&amp;rfr=&amp;capp=0&amp;mcrdbt=0&amp;insid=5341644&amp;imgid=0&amp;pgid=677520&amp;fmtid=40531&amp;loguid=371361661459908448&amp;logdate=1467394692545&amp;sig=sCNtLLqNzn7UT8WEBIztAqbFvH7mGNUeF5npeM1IC0I%3d&amp;rtb=1&amp;rtbnid=1871&amp;rtbbid=371361661459908449&amp;rtbh=e8369927b30a065e264def603a1a4331230bf09a&amp;rtblt=636029914925446102&amp;rtbet=0' border='0' width='0' height='0' style='display:none'/><iframe src='https://ec-ns.sascdn.com:443/diff/rtb/handler/st.min.html?%7b%22bid%22%3a%22371361661459908449%22%2c%22adomain%22%3a%22justworks.com%22%2c%22page%22%3a%22677520%22%2c%22format%22%3a%2240531%22%2c%22crid%22%3a%2244_TTNVEBZYFJFFZBORJANMQH_300_250_1%22%2c%22dsp%22%3a%2231044%22%2c%22buyer%22%3a%223988%22%2c%22cid%22%3a%22TTNVEBZYFJFFZBORJANMQH%22%2c%22adid%22%3a%22%22%2c%22hash%22%3a%22-6438412222101877145%22%7d' width='0' scrolling='no' height='0' frameborder='0' style='display: none;'></iframe><iframe width="300" height="250" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" allowTransparency="true" src="http://us-east.bidswitch.net/imp/3.99/BSWhttp_A_B_Ba.adroll.com_Bj_Bbsw-snippet.html_Cwidth_R300_Jheight_R250_Jadspace__eid_RSV2SF2P76NFIPN7N5SDPHX_Jsite__eid_RISRFVJ4CYZEJLCRYPCOWW4_Jadgroup__eid_RZAYW3JDZD5ENJB5KOI64GA_Jad__payload_R____HIAgIBkwHaAfDIAewAAV2QwWvTUADG09jhQUR21NNw4G3jJa9pkyJIS9u1XVdtWtc1OOPLy0sppMmWpMWDHiaC7CQogriLTodjFQce-gdYpKLvRfG4g3cPjrGTCLK1Yycv3-HjO__y-30__uSrSvZqq10s2iVJJSBTVdzzfmavN19VJfy5SWtGrhhraYqqQzWiGbVyuVjNyv1cqL2bTWyBVzOS19XS2myguVfDLksrv21W3s2nbLJN61vgiEOIhDoHclXYA6dp3Ac-3ccJL____uzR77U__Bz8efNsa9sOtjYk5bv5j-cKtkFN__rXZedPwZgvxgRiB333kdx2k5TV2MyeDe0f0juv7eX0EebhOzhWax26YbYb2785C-__L__fjNLXA__pGpF__eipYpEmDQr8Nz0SchN7mrj2OZ0hHL__sHjweHg8NOr8JSF__h2eP7O2Tbot03X0gCWf039PwazEIpf3uCmRGDEEsalYkowSyIQyIsTAEIg4BhQLssj0HjdtWgQphoyRAUQFg5himCJESEZWwiKSISRtj__HcB7-NvACZPvG6xNMFOSEwPtKrjn9MLYyPMH4p5M6qFxnf6PmrK53micvRShswfjnk1jfvMP72iXnGfx7hQazAGIFEShBBgYasKHEABFkxIbYkJFksWhqwiZ2eRwLkNUkwUnsMrHGqZqW3XZB23M2P2g_Jurl__macro_Rsparcmedia.com_Jwin__notif_Rbsw-winners-us-east-1-rtb.adroll.com_U2Fwin_U2Fb_U3Fpayload_U3DAQAzYzkzNGUzZTU3ZTE5M2I4OTk2MDAxODlkM2NmNWE1ZgAIYQFQZWMyLTU0LTIwNC0yMDYtMjA0LmNvbXB1dGUtMS5hbWF6b25hd3MuY29tAAhoAAhmAAh0ALBUVE5WRUJaWUZKRkZaQk9SSkFOTVFIAAhjARgyNzA2ODY1NDM1MzI1NTEwMzUxMDA4MzA0NzczMjEzNjY1NgAIYgYYX19ISGpRR1RBZG9BZThkNEFBQ0hPTFpVVkU1V1JVSmFXVVpLUmtaYVFrOVNTa0ZPVFZGSU9zNEFSYTlzUnNjUkF0Q1ZoLTJCLVBEU2dzLWx4N2JPcFpzRlM4TE0tc2NOQTRHb1pYWnBaRzl1WDNUTk9wak1fWk13TGpYTkFTUGFBQ05rWm1WaE9XSTRZMkZpTURJNVl6QTBPV0prTWpOaFlUaGhaamRtWlRWaU1UcHNjcXhmU210dTdWVWtBQWVZRDc0AAhw_U26price__cpm__dollars_U3D_Jcpm__macro_R_I_WAUCTION__PRICE_X_Jclick__macro_R_I_WCLICK__URL_AURLENCODE_X/ewebKqCJc1FtiXaINOXv-t9ba30s9eE_tlW576AmdKt_itp8ag3wPeJszePkApRg23iDpkUXb7f_BxuQHwLRzjZhTKkwI0hGIYUk7REIykg28oDT2oGL6veTLmOo5t1jnm08lxoiyXRhm97ds4tcmN3P9EyI4baRI4sGmUhFDw6uMTm79dUY3uCg98uJ4lps8GaFTBH0n_OA2ObQUE3bqj4xhXxti_Yqnp76_vVtdEtGxkchmstMbLHJAp0A14y3GaPVZd0AqUhgBboDIU_HIXVxhg8pSXinB56dDt_4ynZ3eR8SAl-y6UkUoS_piKmrOAmDAztc6EntxnfiU8CQKCo9-yZrU9fOT2Euwpnc04lgTUA47CAWMoQ6WdW0KoNWDgtkQcp64wnPQyAxdem-DGxPBhu0cQRQVhEbGsk7I3mGHmhrcF7oXfxNEHVQNvBGUCYMU1esP9e9Z3t-yH242_XiefLvvfuhu1RZ6E-X9NdhFW8ayuJxTg0sktgECbbco5_TDpWIFw_ZPG4x5HmS7TRfyFo4yKriMnY/"></iframe><img src="http://us-east-sync.bidswitch.net/sync?ssp=smartadserver&amp;dsp_id=44&amp;imp=1" alt=" " style="display:none"/>

JSON ad response

A JSON object will be returned when the used format type is "mobile in-app". This JSON format applies to both of Smart AdServer's SDKs, under the condition that the iOS SDK version is 4.0 or higher and the Android SDK version is 2.0 or higher.

The following table describes the JSON format.  

Key name Type Mandatory Platform Description Value description
ad root json object yes any

html string only if scriptUrl is not defined any the HTML script; may be a complete HTML document or a HTML fragment HTML JSON escaped string
scriptUrl string in online mode: only if html is not defined

in offline mode: yes
any the URL pointing to the HTML script URL string
impUrls string only if the script itself does not call Smart AdServer impression pixel(s) any one or more impression pixel URL(s), separated by commas (,)

Example: one sas impression pixel and one agency impression pixel
URL string or URL strings array (separated by a comma (,))
clickUrl string no any used if the sas:click macro is set in the HTML5 creative URL string
countClickUrl string only if the script itself does not call Smart AdServer click pixel any a click pixel URL URL string
closePosition string integer no any for interstitial ads: indicates the position of the close button;
default close button position: top-right

This is not used if the creative calls the MRAID 1.0 useCustomClose(true) method. In this case, the creative will be in charge of implementing the close button and should call the mraid.close() method itself.
0 for top left
1 for top right
2 for bottom left
3 for bottom right

only in Smart AdServer Android SDK version = 3.0 (compliant MRAID 2.0):
4 top center
5 bottom center
6 button center
closeOnClick string boolean no any for interstitial ads on SDK = 5.0: closes the interstitial when it was clicked by the user 0 or 1
closeAppearance
Delay
string integer no any for interstitial ads on SDK = 5.0: delays the appearance of the close button by the specified amount of seconds number of seconds
duration string integer no any for interstitial ads: indicates the duration in seconds;
default duration: -1, whichs maps to an infinite duration
number of seconds, or -1 for infinite
portraitWidth string integer no any for banner ads: the width of the ad in portrait mode number of pixels
portraitHeight string integer no any for banner ads: the height of the ad in portrait mode number of pixels
openInApp string boolean no Android used by Smart AdServer Android SDK = 2;
decides whether to open the click Url in the postclick webview or in the Android webkit browser
0 or 1
confirmBeforeExiting string boolean no iOS used by Smart AdServer iOS SDK; decides whether to show an alert popup after a click on the ad which could exit the app 0 or 1
redirectToThirdParty string boolean no iOS used by Smart AdServer iOS SDK to know if the URL should be handled by the postclick webview or by Safari 0 or 1
transferTouchEvents string boolean no iOS See the SDK documentation here 0 or 1

 

Examples JSON ad response

Example 1 - HTTP 200 with HTML creative

{
	"ad": {
		"scriptUrl": "",
		"html": "<script src=\"mraid.js\"></script>\n<script>\n(function() {\n    var c = '';\n    var u = 'http://api.celtra.com/v1/creatives/18652/compiled/ExpandableBanner/mraid-inapp.js?channel=othersdk&c='+encodeURIComponent(c)+'&rnd='+(Math.random()+'').slice(2);\n    document.write('<script src=\"'+u+'\"></scr'+'ipt>');\n})();\n</script><style type=\"text/css\">body {background-color:#}</style>",
		"impUrls": "http://mobile.smartadserver.com/h/maip?insid=2234650&imgid=7772314&pgid=308926&visit=M&capp=0&mcrdbt=0&pubid=9&statid=16&ckid=-335831428&tmstp=1323464020&systgt=%24qc%3D1309648487%3B%24ql%3Dunknown%3B%24qpc%3D75001%3B%24qpp%3D0%3B%24qt%3D184_1614_121852t%3B%24dma%3D0%3B%24b%3D9999%3B%24o%3D22070%3B%24mdwi%3D320t%3B%24mdhi%3D480t&tgt=%24mv%3Dapplet%3B%24mm%3D5453727t%3B%24mdw%3D320%3B%24mdh%3D480%3B%24mdt%3D2t%3B%24mct%3D1t%3B%24msv%3D1060t%3B%24t%3Dsdk%3B%24vsdk%3D6.0%3B%24mctQuova%3D1t%3Btest%3Drtbinter%3B%24gps%3D1t%3B%24dt%3D2t,",
		"openInApp": "0",
		"countClickUrl": "http://mobile.smartadserver.com/h/mcp?imgid=7772314&pgid=308926&uid=-335831428&tmstp=1323464020&tgt=%24mv%3Dapplet%3B%24mm%3D5453727t%3B%24mdw%3D320%3B%24mdh%3D480%3B%24mdt%3D2t%3B%24mct%3D1t%3B%24msv%3D1060t%3B%24t%3Dsdk%3B%24vsdk%3D6.0%3B%24mctQuova%3D1t%3Btest%3Drtbinter%3B%24gps%3D1t%3B%24dt%3D2t",
		"closePosition": "1",
		"confirmBeforeExiting": "0",
		"redirectToThirdParty": "[user_clickUrl]",
		"clickUrl": ""
	}
}

Example 2 - HTTP 200 with image creative

{
	"ad": {
		"scriptUrl": "http://ced.sascdn.com/diff/458/4563254/foneframe/index.html",
		"html": "",
		"impUrls": "http://mobile.smartadserver.com/h/maip?visit=m&pubid=9&statid=16&ckid=-335831428&tmstp=1323464020&usrtgt=&tgt=test=rtbinter;$gps=1t;$dt=2t;$mv=applet;$mm=5453727t;$mdw=320;$mdh=480;$mdt=2t;$mct=1t;$msv=1060t;$t=sdk;$vsdk=6.0;$mctQuova=1t&systgt=$qc=1309648487;$ql=unknown;$qpc=75001;$qpp=0;$qt=184_1614_121852t;$dma=0;$b=9999;$o=22070;$mdwi=320t;$mdhi=480t&rfr=&capp=0&mcrdbt=0&insid=4563254&imgid=13753124&pgid=308926&fmtid=15048&loguid=311124128749928270&logdate=1438590769060,",
		"openInApp": "0",
		"countClickUrl": "http://mobile.smartadserver.com/h/mcp?imgid=13753124&insid=4563254&pgid=308926&pubid=9&ckid=-335831428&tmstp=1323464020&tgt=test=rtbinter;$gps=1t;$dt=2t;$mv=applet;$mm=5453727t;$mdw=320;$mdh=480;$mdt=2t;$mct=1t;$msv=1060t;$t=sdk;$vsdk=6.0;$mctQuova=1t&systgt=$qc=1309648487;$ql=unknown;$qpc=75001;$qpp=0;$qt=184_1614_121852t;$dma=0;$b=9999;$o=22070;$mdwi=320t;$mdhi=480t",
		"closePosition": "1",
		"confirmBeforeExiting": "1",
		"redirectToThirdParty": "0",
		"clickUrl": "http://www.smartadserver.com",
		"portraitWidth": "320",
		"portraitHeight": "50",
		"transferTouchEvents": "0"
	}
}

Example 3 - HTTP 200 with Celtra MRAID 1.0 redirect

{
    "ad": {
        "scriptUrl": "",
        "html": "<script src=\"mraid.js\"><\/script>\n<script>\n(function() {\n    var c = '';\n    var u = 'http:\/\/api.celtra.com\/v1\/creatives\/18652\/compiled\/ExpandableBanner\/mraid-inapp.js?channel=othersdk&c='+encodeURIComponent(c)+'&rnd='+(Math.random()+'').slice(2);\n    document.write('<script src=\"'+u+'\"><\/scr'+'ipt>');\n})();\n<\/script><style type=\"text\/css\">body {background-color:#}<\/style>",
        "impUrls": "http://mobile.smartadserver.com/h/maip?visit=m&pubid=9&statid=16&ckid=-335831428&tmstp=1323464020&usrtgt=&tgt=test%3drtbinter%3b%24gps%3d1t%3b%24dt%3d2t%3b%24mv%3dapplet%3b%24mm%3d5453727t%3b%24mdw%3d320%3b%24mdh%3d480%3b%24mdt%3d2t%3b%24mct%3d1t%3b%24msv%3d1060t%3b%24t%3dsdk%3b%24vsdk%3d6.0%3b%24mctQuova%3d1t&systgt=%24qc%3d1309648487%3b%24ql%3dunknown%3b%24qpc%3d75001%3b%24qpp%3d0%3b%24qt%3d184_1614_121852t%3b%24dma%3d0%3b%24b%3d9999%3b%24o%3d22070%3b%24mdwi%3d320t%3b%24mdhi%3d480t&rfr=&capp=0&mcrdbt=0&insid=2234650&imgid=7772314&pgid=308926&fmtid=15048&loguid=325479354330630631&logdate=1438617753942,",
        "openInApp": "0",
        "countClickUrl": "http://mobile.smartadserver.com/h/mcp?imgid=7772314&insid=2234650&pgid=308926&pubid=9&ckid=-335831428&tmstp=1323464020&tgt=test%3drtbinter%3b%24gps%3d1t%3b%24dt%3d2t%3b%24mv%3dapplet%3b%24mm%3d5453727t%3b%24mdw%3d320%3b%24mdh%3d480%3b%24mdt%3d2t%3b%24mct%3d1t%3b%24msv%3d1060t%3b%24t%3dsdk%3b%24vsdk%3d6.0%3b%24mctQuova%3d1t&systgt=%24qc%3d1309648487%3b%24ql%3dunknown%3b%24qpc%3d75001%3b%24qpp%3d0%3b%24qt%3d184_1614_121852t%3b%24dma%3d0%3b%24b%3d9999%3b%24o%3d22070%3b%24mdwi%3d320t%3b%24mdhi%3d480t",
        "closePosition": "1",
        "confirmBeforeExiting": "1",
        "redirectToThirdParty": "0",
        "clickUrl": "",
        "portraitWidth": "320",
        "portraitHeight": "50",
        "transferTouchEvents": "0"
    }
}

Example 4 - HTTP 200 with redirect "Mac Donald's"

//Macdonalds
{
    "ad": {
        "scriptUrl": "",
        "html": " <!DOCTYPE html><html><head><style type=\"text/css\">* { -webkit-tap-highlight-color:rgba(0,0,0,0); -webkit-focus-ring-color:rgba(0,0,0,0); -webkit-touch-callout:none; -webkit-user-select:none; } body { margin:0; background-color:# } img { position:absolute; top:0; left:0; }<\/style><\/head><body><iframe src='https:\/\/ec-ns.sascdn.com:443\/diff\/rtb\/handler\/st.min.html?%7b%22bid%22%3a%22220209512622084766%22%2c%22adomain%22%3a%22mcdonalds.fr%22%2c%22page%22%3a%22599921%22%2c%22format%22%3a%2236307%22%2c%22crid%22%3a%22jIq2HLFY%22%2c%22dsp%22%3a%2228%22%2c%22buyer%22%3a%224208%22%2c%22cid%22%3a%2219913%22%2c%22adid%22%3a%22jIq2HLFY%22%2c%22hash%22%3a%22443454058150903387%22%7d' width='0' scrolling='no' height='0' frameborder='0' style='display: none;'><\/iframe><div id=\"_s4m_container_10-2556-2-122-8noo3\">\n<script>\nvar _s4mConfig = {\nid: \"10-2556-2-122-8noo3\",\ndeviceAdvertiserId: \"sas_deviceId\",\nclickURL : \"http:\/\/ep.eu2.lqm.io\/bid_click_track\/5B5ZFTHlQuA\/site\/5kenu3ge\/ad\/jIq2HLFY?turl=https%3A%2F%2Fwww.mcdonalds.fr%2Fcommande%3Futm_source%3Dyanco%26utm_campaign%3Dverre_coca%26utm_medium%3Ddisplay%26utm_content%3Diab&url=\"+ encodeURIComponent(\"https:\/\/ad.atdmt.com\/c\/go?p=11112201690153&ev.a=1&idfa={S4M_DeviceAdvertiserID}=&idfa_lat=&aaid=&aaid_lat=&cache=&h={S4M_ClickURL}&h=\") +\"{S4M_ClickURL}\",\ntrackImpURL : [\"https:\/\/ad.atdmt.com\/i\/img;p=11112201690153;idfa={S4M_DeviceAdvertiserID};idfa_lat=;aaid=;aaid_lat=;cache=\"],\nlat: \"48.875694\",\nlon: \"2.332885\"\n};\n(function(){\nvar rnd = new Date().getTime();\nvar _s4mScp = document.createElement('script');\n_s4mScp.src = \"https:\/\/eu-ad.sam4m.com\/10-2556-2-122-8noo3\/display?rnd=\"+rnd;\ndocument.getElementsByTagName('head')[0].appendChild(_s4mScp);\n})();\n<\/script>\n<\/div><img src='http:\/\/ep.eu2.lqm.io\/odin\/pixel\/5B5ZFTHlQuA\/site\/5kenu3ge\/ad\/jIq2HLFY\/t.gif?price=1.348464&currency=EUR&ts=1466077184103876' width='1' height='1' alt=''\/><style type='text\/css'> body {margin:auto;} <\/style><\/body><\/html>",
        "impUrls": "http://tmk-eqx-geoloc.smartadserver.com:80/h/maip?visit=m&pubid=13&statid=2&ckid=-1192797871&tmstp=536672111&usrtgt=&tgt=%3b%24gps%3d1t%3b%24dt%3d2t%3b%24mv%3dapplet%3b%24mm%3d10357539t%3b%24mdw%3d320%3b%24mdh%3d480%3b%24mdt%3d2t%3b%24mct%3d1t%3b%24msv%3d1063t%3b%24t%3dsdk%3b%24vsdk%3d6.3.2%3b%24mctQuova%3d1t%3b%24hc&systgt=%24qc%3d1311988622%3b%24ql%3dmedium%3b%24qpc%3d75001%3b%24qpp%3d0%3b%24qt%3d184_725_31135t%3b%24dma%3d0%3b%24b%3d9999%3b%24o%3d22092%3b%24mdwi%3d320t%3b%24mdhi%3d480t&rfr=&capp=0&mcrdbt=0&insid=5613563&imgid=0&pgid=599921&fmtid=36307&loguid=220209512622084762&logdate=1466077184037&sig=IASB%2ftZ99bSxTWm3P41xvekp9qtYoO7Ji%2btTyvlusu8%3d&rtb=1&rtbnid=1612&rtbbid=220209512622084766&rtbh=44a8ee46c4f74dd374a38d45c084f9853897e203&rtblt=636016739840370697&rtbet=2,",
        "openInApp": "0",
        "countClickUrl": "http://tmk-eqx-geoloc.smartadserver.com/h/micp?imgid=0&insid=5613563&pgid=599921&pubid=13&ckid=-1192797871&tmstp=536672111&tgt=%3b%24gps%3d1t%3b%24dt%3d2t%3b%24mv%3dapplet%3b%24mm%3d10357539t%3b%24mdw%3d320%3b%24mdh%3d480%3b%24mdt%3d2t%3b%24mct%3d1t%3b%24msv%3d1063t%3b%24t%3dsdk%3b%24vsdk%3d6.3.2%3b%24mctQuova%3d1t%3b%24hc&systgt=%24qc%3d1311988622%3b%24ql%3dmedium%3b%24qpc%3d75001%3b%24qpp%3d0%3b%24qt%3d184_725_31135t%3b%24dma%3d0%3b%24b%3d9999%3b%24o%3d22092%3b%24mdwi%3d320t%3b%24mdhi%3d480t",
        "closePosition": "1",
        "confirmBeforeExiting": "0",
        "redirectToThirdParty": "1",
        "clickUrl": ""
    }
}

Example 5 - HTTP 200 with redirect "Volkswagen"

//Volswagen
{
	"ad": {
		"scriptUrl": "",
		"html": " <!DOCTYPE html><html><head><style type=\"text/css\">* { -webkit-tap-highlight-color:rgba(0,0,0,0); -webkit-focus-ring-color:rgba(0,0,0,0); -webkit-touch-callout:none; -webkit-user-select:none; } body { margin:0; background-color:# } img { position:absolute; top:0; left:0; }<\/style><\/head><body><iframe src='https:\/\/ec-ns.sascdn.com:443\/diff\/rtb\/handler\/st.min.html?%7b%22bid%22%3a%22223305737359715150%22%2c%22adomain%22%3a%22volkswagen.fr%22%2c%22page%22%3a%22599921%22%2c%22format%22%3a%2236307%22%2c%22crid%22%3a%22Gaq7z6ks%22%2c%22dsp%22%3a%2228%22%2c%22buyer%22%3a%225712%22%2c%22cid%22%3a%2219824%22%2c%22adid%22%3a%22Gaq7z6ks%22%2c%22hash%22%3a%22-6296385346490895848%22%7d' width='0' scrolling='no' height='0' frameborder='0' style='display: none;'><\/iframe><a href='http:\/\/ep.eu2.lqm.io\/bid_click_track\/fnxl6BRbJ2y\/site\/5kenu3ge\/ad\/Gaq7z6ks?turl=https%3A%2F%2Ftracker.e-novate.fr%2Fr%2Fcaddyvan_int_sph_ios_1394291SIAINT3%2F1%2Fjoule_vw_vu_juin16%2Ffnxl6BRbJ2y%2F%7Bage%7D%40_%40%7Bgender%7D%40_%40%7Blat%7D%40_%40%7Blng%7D%40_%4018773695%40_%40def6d162e0456e0cba708ae5ce0e85833dbcfb86%40_%404dfbb04c2d6ea33aa05aa8272560ab54%40_%4045BBBF79-C739-4ADC-9EB2-48513402CD85%40_%40%7BUDID_MD5%7D%40_%40%7BUDID_SHA1%7D%40_%4045BBBF79-C739-4ADC-9EB2-48513402CD85%40_%404dfbb04c2d6ea33aa05aa8272560ab54%40_%40def6d162e0456e0cba708ae5ce0e85833dbcfb86%40_%40%7BANDROID_ID_SHA1%7D%40_%40%7BANDROID_ID_MD5%7D%40_%40%2FaHR0cDovL2Fkcy5tZWRpYXNtYXJ0LmVzL2V4dGVybmFsL2NsaWNrL3B0cHZyZjZtNm9uY2o1b3QzNjkzMDdsZGk_Y3JlYXRpdmVJZD1jci1leC00MG51NHk0NmhhMnpqY2IweXQ1b2tyMTlrOSZwdWJsaXNoZXI9MTM5NDI5MVNJQUlOVDMtRS1OT1ZBVEUtRS1OT1ZBVEUma2V5d29yZHM9azpvczppcGhvbmUscDpkZXZpY2V0eXBlOnBob25lLHA6dHlwZTphcHAmdWRpZD1bc2FzX2RldmljZUlkXSZyPWh0dHAlM0ElMkYlMkZvZmZyZXMlMkR2b2xrc3dhZ2VuJTJEdXRpbGl0YWlyZXMuZnIlMkZ2ZWhpY3VsZXMlMkR1dGlsaXRhaXJlcyUyRm9mZnJlJTJGZCUyNUMzJTI1QTl0YWlsJTJGbm91dmVhdSUyRGNhZGR5JTJEdmFuJTJEMSUyRiUzRnRjJTNEb2ElMkQxNjA2JTJEVHJhZmZpYyU1Rkp1aW4lMkRmciUyREUlMkRub3ZhdGUlMkQxeDElMjZkaWQlM0QxMzk0MjkxU0lBSU5UMy1FLU5PVkFURS1FLU5PVkFURSUyNnB1YiUzRDEzOTQyOTFTSUFJTlQzLUUtTk9WQVRFLUUtTk9WQVRFJTI2c2lkJTNEMTM5NDI5MVNJQUlOVDMlMjZjcGlkJTNEMTM0MDItVlVfLV9UUkFGSUNfSlVJTiUyNmNyZWFfaWQlM0Rjci1leC00MG51NHk0NmhhMnpqY2IweXQ1b2tyMTlrOSUyNmNhbXBfaWQlM0RwdHB2cmY2bTZvbmNqNW90MzY5MzA3bGRp%2F%3Fevuid%3Dcaddyvan_int_sph_ios_1394291SIAINT3%40_%40joule_vw_vu_juin16%40_%40fnxl6BRbJ2y%40_%401%26evpartner%3D%7Bpartner%7D' target='_parent'><img style=\"width: 320px; height: 480px\" src='http:\/\/cdn.lqm.io\/creatives\/266880\/Caddy_interv220160531-16534-18kl9w8.gif' alt=''\/><\/a><img src='https:\/\/tracker.e-novate.fr\/i\/caddyvan_int_sph_ios_1394291SIAINT3\/1\/joule_vw_vu_juin16\/fnxl6BRbJ2y\/{age}@_@{gender}@_@{lat}@_@{lng}@_@18773695@_@def6d162e0456e0cba708ae5ce0e85833dbcfb86@_@4dfbb04c2d6ea33aa05aa8272560ab54@_@45BBBF79-C739-4ADC-9EB2-48513402CD85@_@{UDID_MD5}@_@{UDID_SHA1}@_@45BBBF79-C739-4ADC-9EB2-48513402CD85@_@4dfbb04c2d6ea33aa05aa8272560ab54@_@def6d162e0456e0cba708ae5ce0e85833dbcfb86@_@{ANDROID_ID_SHA1}@_@{ANDROID_ID_MD5}@_@\/?evuid=caddyvan_int_sph_ios_1394291SIAINT3@_@joule_vw_vu_juin16@_@fnxl6BRbJ2y@_@1&evpartner={partner}&pxc=http%3A%2F%2Ffc.jouleadserver.com%2Fop%2Flotame%2Fimp%2F5%2Fc%3D5077%2Frand%3D1234%2Ftp%3DTNAV%2Fctax%3DMediasmart%255EcampaignId%255Eptpvrf6m6oncj5ot369307ldi%255EcreativeId%255Ecr-ex-40nu4y46ha2zjcb0yt5okr19k9%2Fctax%3DPublisher%255ESites%255E1394291SIAINT3-E-NOVATE-E-NOVATE%2Fctax%3DCampaign%255EInteractions%255EViews%2Fctax%3DCampaign%255EAdvertisers%255E544-VOLKSWAGEN%255EInteractions%255EViews%2Fctax%3DCampaign%255EAdvertisers%255E544-VOLKSWAGEN%255ECampaigns%255E13402-VU_-_TRAFIC_JUIN%255EInteractions%255EViews%2Fctax%3DCreative%255EName%255E1394291SIAINT3%2Fctax%3DCreative%255ESize%255E320x480%2Fctax%3DCreative%255EPhysical_Size%255E1x1%2Fctax%3DDevice%255EEnvironment%255EIA%2Fctax%3DDevice%255EOS%255Eiphone%2Fctax%3DContent%255EName%255EINT%2Fctax%3DContentCreative%255E1394291SIAINT3%2Fctax%3DDevice%255EUser%255EID_Type%255Eidfa%2Fctax%3DMisc%255EKeywords%255E%2Fctax%3DLocation%255ECountry%255EFR%255ERegion%255Eall%255EDepartment%255Eall%255ECity%255Eall%2Fpv%3Dy%2Frt%3Difr' width='1' height='1' alt=''\/><img src='http:\/\/ep.eu2.lqm.io\/odin\/pixel\/fnxl6BRbJ2y\/site\/5kenu3ge\/ad\/Gaq7z6ks\/t.gif?price=1.348464&currency=EUR&ts=1466077089762585' width='1' height='1' alt=''\/><style type='text\/css'> body {margin:auto;} <\/style><\/body><\/html>",
		"impUrls": "http://tmk-eqx-geoloc.smartadserver.com:80/h/maip?visit=m&pubid=13&statid=2&ckid=-1192797871&tmstp=1109945628&usrtgt=&tgt=%3b%24gps%3d1t%3b%24dt%3d2t%3b%24mv%3dapplet%3b%24mm%3d10357539t%3b%24mdw%3d320%3b%24mdh%3d480%3b%24mdt%3d2t%3b%24mct%3d1t%3b%24msv%3d1063t%3b%24t%3dsdk%3b%24vsdk%3d6.3.2%3b%24mctQuova%3d1t%3b%24hc&systgt=%24qc%3d1311988622%3b%24ql%3dmedium%3b%24qpc%3d75001%3b%24qpp%3d0%3b%24qt%3d184_725_31135t%3b%24dma%3d0%3b%24b%3d9999%3b%24o%3d22092%3b%24mdwi%3d320t%3b%24mdhi%3d480t&rfr=&capp=0&mcrdbt=0&insid=5613563&imgid=0&pgid=599921&fmtid=36307&loguid=223305737359715148&logdate=1466077089720&sig=zz0linRIeGzqTtKmmGS4GF0sRdODqYVq7nmfQwUwDbM%3d&rtb=1&rtbnid=1612&rtbbid=223305737359715150&rtbh=7eea9db371b74242b6c0e89fa1fb64003ec2b6df&rtblt=636016738897198624&rtbet=2,",
		"openInApp": "0",
		"countClickUrl": "http://tmk-eqx-geoloc.smartadserver.com/h/micp?imgid=0&insid=5613563&pgid=599921&pubid=13&ckid=-1192797871&tmstp=1109945628&tgt=%3b%24gps%3d1t%3b%24dt%3d2t%3b%24mv%3dapplet%3b%24mm%3d10357539t%3b%24mdw%3d320%3b%24mdh%3d480%3b%24mdt%3d2t%3b%24mct%3d1t%3b%24msv%3d1063t%3b%24t%3dsdk%3b%24vsdk%3d6.3.2%3b%24mctQuova%3d1t%3b%24hc&systgt=%24qc%3d1311988622%3b%24ql%3dmedium%3b%24qpc%3d75001%3b%24qpp%3d0%3b%24qt%3d184_725_31135t%3b%24dma%3d0%3b%24b%3d9999%3b%24o%3d22092%3b%24mdwi%3d320t%3b%24mdhi%3d480t",
		"closePosition": "1",
		"confirmBeforeExiting": "0",
		"redirectToThirdParty": "1",
		"clickUrl": ""
	}
}
Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk