Follow

Web Development - Ad Requests API

Updated: 4/13/15

 

Ad Requests

Contents

[hide]

Overview

This document describes how you can form server-side or client-side ad requests to your mobile application or mobile website. TapIt! offers a variety of options for integrating with our advertising platform:

  • Server-Side tags that implement the HTTP ad server request are available for various programming languages and can be utilized on mobile pages.
  • Client-Side JavaScript tags that implement the HTTP ad server request can be utilized in smartphone-oriented web pages.
  • Application SDK's are available for iPhone and Android. These SDK's allow developers to include banner and interstitial ads within their applications. With the Android SDK, developers can configure push notifications to display ads in the notification bar of handsets.

Basic Ad Request

All ad requests should be made to http://r.tapit.com/adrequest.php as a GET.  It's highly recommended that you pass one of the following parameters labeled as "Optional" along with the required parameters: 

Parameter Required DescriptionExample Usage
zone Yes The id of the zone of publisher site. zone=12345
ip Yes The IP address of the carrier gateway which the device is connecting over. Being passed directly, it redefines the IP address the request has been received from. ip=173.3.77.115
ua Yes The browser user agent of the device making the request URL Encoded. Being passed directly, it redefines the value retrieved from ’User-Agent’ header field. ua=SCH-R211+UP.Browser/6.2.3.8+(GUI)MMP/2.0
format No The format of the ad response. The ad server will default to the format required for our SDK, but if a non-SDK integration is done, then publishers should specify either format=html, format=json or format=vast to ensure the desired response. format=html, format=json or format=vast.  By default JSON is the default response format for sites / zones configure as In-App.  By default HTML is the default response format for sites / zones configured as mobile web requests.
mode No Defaults to mode Live. Use to test with sample ad response. mode=test
videotype No

For video requests only. The type of video ad to request.

options are "all"(default), "pre-roll", "mid-roll", "post-roll"

 videotype=pre-roll
ssl No

request an ad in secure mode

Options are

ssl=0 (default) This means don't request a secure ad.

ssl=1 Ad response will be ATS compliant. 

ssl=1
Unique Device IDs
adid Yes For Android apps only. Google Play services APIs expose the user's advertising ID as a string format of UUID. adid=38400000-8cf0-11bd-b23e-10b96e40000d
adidmd5 Optional For Android apps only. MD5 hashed version of Google Play services APIs expose the user's advertising ID as a string format of UUID. Prefer un-hashed device ids over hashed representations. adidmd5=403712a5f9346f192c3cfef2f2c9fecd
adidsha1 Optional For Android apps only. SHA1 hashed version of Google Play services APIs expose the user's advertising ID as a string format of UUID. Prefer un-hashed device ids over hashed representations. adidsha1=5b1c01eb280db0058bb30d00cc5f04e50b3e622c
idfa Yes For IOS Devices. Apple Identifier For Advertisers. (can also be passed in as ifa=)

idfa=AEBE52E7-03EE-455A-B3C4-E57283966239

OR

ifa=AEBE52E7-03EE-455A-B3C4-E57283966239

idfamd5 Optional  For IOS Devices. Apple Identifier For Advertisers. Prefer un-hashed device ids over hashed representations.  idfamd5=7894c34faed92bb9db074d12dad048fd
idfasha1 Optional  For IOS Devices. Apple Identifier For Advertisers. Prefer un-hashed device ids over hashed representations. idfasha1=341c2685fe5cd178a0beba7a8f97ef8f354c5c4c 
udid Optional Deprecated. Legacy Device ID used by Apple. udid=1bef50453858d317a8471087aaf1614a
       
ate Optional Used to indicate if TapIt is allowed to track the device ID (for conversion purposes and higher eCPMs). Valid values are 0 for No and 1 for Yes. Default is 1. ate=1

Sample Ad Request:

http://r.tapit.com/adrequest.php?zone=12345&ip=173.3.77.115&ua=Mozilla/5.0+(Windows;+U; Windows+NT+5.2;+ru;+rv:1.9.0.19)+Gecko/2010031422+Firefox/3.0.19+(.NET+CLR+3.5.30729)

Ad Response Formats

The ad server supports responses in 2 formats: HTML and JSON. Additionally, our client-side JavaScript tags provide a response custom to that integration method.

Default HTML Response

Text Ad Response:

<a href="http://c.tapit.com/adclick.php?zone=12345&cid=678&adtype=5&udid=&xid=4e679312a2b3a">Test Ad Text</a>  
<img src="http://i.tapit.com/adimage.php?zone=12345&cid=678&adtype=5&udid=&xid=4e679312a2b3a"/>

Banner Ad Response:

<a href="http://c.tapit.com/adclick.php?zone=12345&cid=678&adtype=1&udid=&xid=4e679312a2b3a">
  <img src="http://i.tapit.com/adimage.php?zone=12345&cid=678&adtype=1&udid=&xid=4e679312a2b3a"/>
</a>

If no ads are available, nothing is returned.

JSON Request

 

http://r.tapit.com/adrequest.php?zone=1&format=json

 

 

JSON Response

 

JSON responses allow the publisher to have more flexibility with how the ads are displayed. This is the default response format for our application SDK ad requests.

 

JSON Response:

JSON response is of type "banner", then a clickurl and imageurl name/value pair will be specified in the body of the JSON response.

{"type":"banner","html":"<a href=\"http:\/\/c.tapit.com\/adclick.php?zone=1&amp;cid=109862&amp;adtype=1&amp;w=320&amp;h=50&amp;xid=33c88258268e00c5653fc370bea58785&amp;ip=72.81.243.238&amp;udid=&amp;adnetwork=1&amp;ua=Mozilla%2F5.0+%28Windows+NT+5.1%29+AppleWebKit%2F537.17+%28KHTML%2C+like+Gecko%29+Chrome%2F24.0.1312.57+Safari%2F537.17\" target=\"_blank\"><img src=\"http:\/\/i.tapit.com\/adimage.php?zone=1&amp;cid=109862&amp;adtype=1&amp;xid=33c88258268e00c5653fc370bea58785&amp;ip=72.81.243.238&amp;udid=&amp;ua=Mozilla%2F5.0+%28Windows+NT+5.1%29+AppleWebKit%2F537.17+%28KHTML%2C+like+Gecko%29+Chrome%2F24.0.1312.57+Safari%2F537.17&amp;adnetwork=1&amp;w=320&amp;h=50\" width=\"320\" height=\"50\" alt=\"\"\/><\/a>","adId":"109862","adWidth":"320","adHeight":"50","cpc":0,"adtitle":"","adtext":"",

"clickurl":"http:\/\/c.tapit.com\/adclick.php?zone=1&cid=109862&adtype=1&w=320&h=50&xid=33c88258268e00c5653fc370bea58785&ip=72.81.243.238&udid=&adnetwork=1&ua=Mozilla%2F5.0+%28Windows+NT+5.1%29+AppleWebKit%2F537.17+%28KHTML%2C+like+Gecko%29+Chrome%2F24.0.1312.57+Safari%2F537.17",

"imageurl":"http:\/\/i.tapit.com\/adimage.php?zone=1&cid=109862&adtype=1&xid=33c88258268e00c5653fc370bea58785&ip=72.81.243.238&udid=&ua=Mozilla%2F5.0+%28Windows+NT+5.1%29+AppleWebKit%2F537.17+%28KHTML%2C+like+Gecko%29+Chrome%2F24.0.1312.57+Safari%2F537.17&adnetwork=1&w=320&h=50","domain":"c.tapit.com"}

 

JSON response is of type "html", then a clickurl and imageurl name/value pair will not be specified in the body of the JSON response.

{"type":"html","html":"        <div id=\"tapit_9bd5c9d0e1ee267789797ef1e10b0b95\">\n        <img src=\"http:\/\/serve.vdopia.com\/adserver\/tracker.php?m=ti;ci=3708;ai=11010;chid=48374;ou=rd;rand=1360876854\" style=\"height:1px;width:1px;position:absolute;visibility:hidden;\" \/><script language='javascript' src='http:\/\/serve.vdopia.com\/adserver\/html5\/inwapads\/?slide=1;sleepAfter=0;adFormat=preappvideo;ak=bfb40e6f8faefb32ec1653dc0d2663f5;version=1.0;vdo=1;cb=1360876854'><\/script><noscript><img src=\"http:\/\/serve.vdopia.com\/adserver\/tracker.php?m=nji;ci=3708;ai=11011;chid=48374;ou=rd;rand=1360876854\" style=\"height:1px;width:1px;position:absolute;visibility:hidden;\" \/><\/noscript><img src=\"http:\/\/i.tapit.com\/pixel.php?zone=1&cid=109575&xid=9bd5c9d0e1ee267789797ef1e10b0b95&ip=72.81.243.238&udid=&ua=Mozilla%2F5.0+%28Windows+NT+5.1%29+AppleWebKit%2F537.17+%28KHTML%2C+like+Gecko%29+Chrome%2F24.0.1312.57+Safari%2F537.17&adnetwork=1\" width=\"1\" height=\"1\" alt=\"\"\/>\n        <\/div>\n        <script>\n(function(){'use strict';var _tap3Id='tapit_9bd5c9d0e1ee267789797ef1e10b0b95';var _tap3Ad=document.getElementById(_tap3Id);var _tap3AdUrl='http:\/\/c.tapit.com\/adclick.php?zone=1&cid=109575&adtype=3&w=320&h=50&xid=9bd5c9d0e1ee267789797ef1e10b0b95&ip=72.81.243.238&udid=&adnetwork=1&ua=Mozilla%2F5.0+%28Windows+NT+5.1%29+AppleWebKit%2F537.17+%28KHTML%2C+like+Gecko%29+Chrome%2F24.0.1312.57+Safari%2F537.17';var _tap3AdClick=function(e){var h='';if(e.currentTarget.id==_tap3Id){var _l=[];var _a=e.currentTarget.getElementsByTagName('a');_l.push(_tap3AdUrl);for(var _x=0;_x<_a.length;_x++){_l.push(_a[_x].href)}if(_l[_l.length-1].match(\/c\\.tapit\\.com\/))return true;if(_tap3ValidClick()){var _img=document.createElement('img');_img.style.width='1px';_img.style.height='1px';document.getElementsByTagName('body')[0].appendChild(_img);_img.setAttribute('src',_tap3AdUrl)}}};var _tap3ValidClick=function(){var _r,_ra,_v=true;if(_r=document.getElementById('hc_richmedia_ad')){if(_ra=_r.querySelector('.hc_content')){var _s=getComputedStyle(_ra,null);_v=_s.display=='none'?false:true}}return _v};_tap3Ad.addEventListener('click',_tap3AdClick,true)})();\n        <\/script>","adId":"109575","adWidth":320,"adHeight":50,"cpm":0,"domain":"c.tapit.com"}

 

Native JSON Response

The following is an example JSON payload for a native ad request

{
type: "html",
clickurl: "http://c.tapit.com/adclick.php?zone=64477&cid=445291&adtype=15&w=320&h=50&xid=1d8c4548c1&adnetwork=1&ua=...“,
impressionurls: [
"http://i.tapit.com/pixel.php?zone=64477&cid=445291&xid=1d8c4548c1&adnetwork=1&ua=..."
],
dimension: "native-content-stream",
adtitle: "Phunware Advertising",
adtext: "Everything you need to succeed on mobile.",
imageurl: "https://s3.amazonaws.com/img.tapit.com/creatives/88717/445291/662_324.png",
html: "<p><img src="https://s3.amazonaws.com/img.tapit.com/creatives/88717/445291/662_324.png" alt="Phunware Advertising" /></p>",
rating: "0.00",
iconurl: "https://s3.amazonaws.com/img.tapit.com/creatives/88717/445291/124_124.png",
cta: "Visit Site"
}

If no ads are available, it will return the following:

({"error" : "No ads available"})

Native JSON Response

ParameterRequiredDescriptionType
clickurl Yes The destination URL for the native ad string
impressionurls Yes Each of these URLs need to be hit once the native ad is displayed array
dimension No The type of native ad response returned string
adtitle Optional* The title of the native ad string
adtext Optional* The description of the native ad string
imageurl Optional* The main image for the native ad string
rating Optional* The rating of the native ad float (0-5)
html Optional* The imageurl wrapped in HTML string
iconurl Optional* The icon URL for the native ad string
cta Optional* The call to action for the native ad string

HTML Response

JSON Request and SDK configurations now includes  type:html response

HTML Code Need to be place directly in UI Webview or Webpage

HTML Response:

{"html":"<a href="http://c.tapit.com/adclick.php?zone=12345&cid=678&adtype=1&udid=&xid=4e67922115fcb">
           <img src="http://i.tapit.com/adimage.php?zone=12345&cid=678&adtype=1&udid=&xid=4e67922115fcb"/>
         </a>",
 "adtitle":"Test Ad Title",
 "adtext":"Test Ad Detailed Text",
 "clickurl":"http://c.tapit.com/adclick.php?zone=12345&cid=678&adtype=1&udid=&xid=4e67922115fcb",
 "imageurl":"http://i.tapit.com/adimage.php?zone=12345&cid=678&adtype=1&udid=&xid=4e67922115fcb",
 "cpc":0.05,
 "type":"banner"
}

If no ads are available, it will return the following:

({"error" : "No ads available"})

 

VAST Video Response

When making a VAST video request, make sure to set format=vast.

VAST Response:

<?xml version="1.0" encoding="utf-8"?><VAST version="2.0" ><Ad id="217973">    <InLine>
      <AdSystem version="1.0">Phunware</AdSystem>
      <AdTitle>
        <![CDATA[Video Test Ad as Mid-roll]]>
      </AdTitle>
      <Description>
        <![CDATA[ ]]>
      </Description>
      <Impression id="PW">
        <![CDATA[http://i.tapit.com/pixel.php?zone=22219&cid=217973&xid=c6d4522e6ab...&ip=192.168.1.1&lat=33.7167&long=-117.945&udid=184bd8803b...&ua=Mozilla%2F5.0+%28iPhone%3B+CPU+iPhone+OS+8_3+like+Mac+OS+X%29+AppleWebKit%2F600.1.4+%28KHTML%2C+like+Gecko%29+Mobile%2F12F69&adnetwork=1&ifa=B5C2768C-0655...]]>
      </Impression>
      <Error>
        <![CDATA[http://i.tapit.com/trackevent.php?zone=22219&cid=217973&xid=c6d4522e6ab...&ip=192.168.1.1&udid=184bd8803b...&ua=Mozilla%2F5.0+%28iPhone%3B+CPU+iPhone+OS+8_3+like+Mac+OS+X%29+AppleWebKit%2F600.1.4+%28KHTML%2C+like+Gecko%29+Mobile%2F12F69&adnetwork=1&evt=error_[ERRORCODE]]]>      </Error>      
      <Creatives>
        <Creative sequence="1" id="217973">
          <Linear>
            <Duration>00:00:16</Duration>
            <TrackingEvents>
              <Tracking event="firstQuartile">
                <![CDATA[http://i.tapit.com/trackevent.php?zone=22219&cid=217973&xid=c6d4522e6ab...&ip=192.168.1.1&udid=184bd8803b...&ua=Mozilla%2F5.0+%28iPhone%3B+CPU+iPhone+OS+8_3+like+Mac+OS+X%29+AppleWebKit%2F600.1.4+%28KHTML%2C+like+Gecko%29+Mobile%2F12F69&adnetwork=1&evt=firstQuartile]]>              </Tracking>
              <Tracking event="midpoint">
                <![CDATA[http://i.tapit.com/trackevent.php?zone=22219&cid=217973&xid=c6d4522e6ab...&ip=192.168.1.1&udid=184bd8803b...&ua=Mozilla%2F5.0+%28iPhone%3B+CPU+iPhone+OS+8_3+like+Mac+OS+X%29+AppleWebKit%2F600.1.4+%28KHTML%2C+like+Gecko%29+Mobile%2F12F69&adnetwork=1&evt=midpoint]]>
              </Tracking>
              <Tracking event="thirdQuartile">
                <![CDATA[http://i.tapit.com/trackevent.php?zone=22219&cid=217973&xid=c6d4522e6ab...&ip=192.168.1.1&udid=184bd8803b...&ua=Mozilla%2F5.0+%28iPhone%3B+CPU+iPhone+OS+8_3+like+Mac+OS+X%29+AppleWebKit%2F600.1.4+%28KHTML%2C+like+Gecko%29+Mobile%2F12F69&adnetwork=1&evt=thirdQuartile]]>              </Tracking>
              <Tracking event="complete">
                <![CDATA[http://i.tapit.com/trackevent.php?zone=22219&cid=217973&xid=c6d4522e6ab...&ip=192.168.1.1&udid=184bd8803b...&ua=Mozilla%2F5.0+%28iPhone%3B+CPU+iPhone+OS+8_3+like+Mac+OS+X%29+AppleWebKit%2F600.1.4+%28KHTML%2C+like+Gecko%29+Mobile%2F12F69&adnetwork=1&evt=complete]]>
              </Tracking>
              <Tracking event="mute">
                <![CDATA[http://i.tapit.com/trackevent.php?zone=22219&cid=217973&xid=c6d4522e6ab...&ip=192.168.1.1&udid=184bd8803b...&ua=Mozilla%2F5.0+%28iPhone%3B+CPU+iPhone+OS+8_3+like+Mac+OS+X%29+AppleWebKit%2F600.1.4+%28KHTML%2C+like+Gecko%29+Mobile%2F12F69&adnetwork=1&evt=mute]]>
              </Tracking>
              <Tracking event="unmute">
                <![CDATA[http://i.tapit.com/trackevent.php?zone=22219&cid=217973&xid=c6d4522e6ab...&ip=192.168.1.1&udid=184bd8803b...&ua=Mozilla%2F5.0+%28iPhone%3B+CPU+iPhone+OS+8_3+like+Mac+OS+X%29+AppleWebKit%2F600.1.4+%28KHTML%2C+like+Gecko%29+Mobile%2F12F69&adnetwork=1&evt=unmute]]>
              </Tracking>
              <Tracking event="pause">
                <![CDATA[http://i.tapit.com/trackevent.php?zone=22219&cid=217973&xid=c6d4522e6ab...&ip=192.168.1.1&udid=184bd8803b...&ua=Mozilla%2F5.0+%28iPhone%3B+CPU+iPhone+OS+8_3+like+Mac+OS+X%29+AppleWebKit%2F600.1.4+%28KHTML%2C+like+Gecko%29+Mobile%2F12F69&adnetwork=1&evt=pause]]>
              </Tracking>
              <Tracking event="resume">
                <![CDATA[http://i.tapit.com/trackevent.php?zone=22219&cid=217973&xid=c6d4522e6ab...&ip=192.168.1.1&udid=184bd8803b...&ua=Mozilla%2F5.0+%28iPhone%3B+CPU+iPhone+OS+8_3+like+Mac+OS+X%29+AppleWebKit%2F600.1.4+%28KHTML%2C+like+Gecko%29+Mobile%2F12F69&adnetwork=1&evt=resume]]>
              </Tracking>
              <Tracking event="fullscreen">
                <![CDATA[http://i.tapit.com/trackevent.php?zone=22219&cid=217973&xid=c6d4522e6ab...&ip=192.168.1.1&udid=184bd8803b...&ua=Mozilla%2F5.0+%28iPhone%3B+CPU+iPhone+OS+8_3+like+Mac+OS+X%29+AppleWebKit%2F600.1.4+%28KHTML%2C+like+Gecko%29+Mobile%2F12F69&adnetwork=1&evt=fullscreen]]&gt
              </Tracking>
              <Tracking event="close">
                <![CDATA[http://i.tapit.com/trackevent.php?zone=22219&cid=217973&xid=c6d4522e6ab...&ip=192.168.1.1&udid=184bd8803b...&ua=Mozilla%2F5.0+%28iPhone%3B+CPU+iPhone+OS+8_3+like+Mac+OS+X%29+AppleWebKit%2F600.1.4+%28KHTML%2C+like+Gecko%29+Mobile%2F12F69&adnetwork=1&evt=close]]>
              </Tracking>
            </TrackingEvents>
            <MediaFiles><MediaFile delivery="streaming" bitrate="0" maxBitrate="0" minBitrate="0" width="0" height="0" type="video/mp4" apiFramework="TapIt" >
                    <![CDATA[http://d2bgg7rjywcwsy.cloudfront.net/videos/21093/217973/encoded/320_480_64k.m3u8]]>
                    </MediaFile><MediaFile delivery="streaming" bitrate="1500" maxBitrate="0" minBitrate="1500" width="480" height="320" type="video/mp4" apiFramework="TapIt" >
                        <![CDATA[http://d2bgg7rjywcwsy.cloudfront.net/videos/21093/217973/encoded/320_480.mp4]]>
                    </MediaFile><MediaFile delivery="streaming" bitrate="1500" maxBitrate="0" minBitrate="1500" width="640" height="480" type="video/mp4" apiFramework="TapIt" >
                        <![CDATA[http://d2bgg7rjywcwsy.cloudfront.net/videos/21093/217973/encoded/320_480.mp4]]>
                    </MediaFile></MediaFiles><VideoClicks>
              <ClickThrough>
                <![CDATA[http://c.tapit.com/adclick.php?zone=22219&cid=217973&adtype=6&w=320&h=50&xid=c6d4522e6ab...&ip=192.168.1.1&lat=33.7167&long=-117.945&udid=184bd8803b...&adnetwork=1&ua=Mozilla%2F5.0+%28iPhone%3B+CPU+iPhone+OS+8_3+like+Mac+OS+X%29+AppleWebKit%2F600.1.4+%28KHTML%2C+like+Gecko%29+Mobile%2F12F69&ifa=B5C2768C-0655...]]>
              </ClickThrough>
            </VideoClicks></Linear>
        </Creative>
      </Creatives>
    </InLine></Ad></VAST>

Test Ads

For testing purpose, you can use the following parameter to retrieve test banners and text ads.

ParameterRequiredDescriptionCode Sample
mode No Retrieve test ads. mode=test

Sample of a request using a Galaxy S3 in the United States.  Where it says "your_zone_id" please insert one of your site's zone IDs that within your TapIt dashboard:

http://r.tapit.com/adrequest.php?zone=[your_zone_id]&ip=209.183.232.26&ua=Mozilla/5.0%20(Linux;%20U;%20Android%204.0.4;%20en-gb;%20GT-I9300%20Build/IMM76D)%20AppleWebKit/534.30%20(KHTML,%20like%20Gecko)%20Version/4.0%20Mobile%20Safari/534.30&mode=test

 

This request returns the following response:

<a href="http://c.tapit.com/adclick.php?zone=12345&cid=1&adtype=1&xid=4e679418ea37c">
  <img src="http://i.tapit.com/adimage.php?zone=12345&cid=1&adtype=1&xid=4e679418ea37c"/>
</a>

 

Geolocation Parameters

TapIt! allows advertisers to target campaigns to any location within a certain radius of a latitude and longitude. Publishers can pass in the following parameters to enable local-targeted advertising. The presence of latitude and longitude in the request will over-ride the location detection performed within the ad server.

ParameterRequiredDescriptionCode Sample
lat No User location latitude value (given in degrees). It’s used together with ’long’ parameter. lat=40.71435
long No User location longitude value (given in degrees). It’s used together with ’lat’ parameter. long=-74.00597

The lat/long parameters specified above are to be appended to the basic ad request. The updated ad request URL containing latitude and longitude parameters would look like:

http://r.tapit.com/adrequest.php?zone=12345&ip=173.3.77.115&ua=Mozilla/5.0+(Windows;+U; Windows+NT+5.2;+ru;+rv:1.9.0.19)+Gecko/2010031422+Firefox/3.0.19+(.NET+CLR 3.5.30729)&lat=40.71435&long=-74.00597

 

Publisher Install Code

TapIt! provides integration code that implement the HTTP request to the ad server. Integration code is available in the following programming languages: PHP (fsockopen and curl), JSP, ASP, CGI/PERL, VB.NET, C#, Ruby On Rails, and JavaScript.

Publisher Install Code can be obtained from the Publisher Install Code page.

 

Comprehensive Request Parameters List

ParameterRequiredDescriptionCode Sample
zone Yes The id of the zone of publisher site. zone=12345
ip Yes The IP address of the carrier gateway which the device is connecting over. Being passed directly, it redefines the IP address the request has been received from. ip=173.3.77.115
ua Yes The browser user agent of the device making the request. Being passed directly, it redefines the value retrieved from ’User-Agent’ header field. ua=SCH-R211 UP.Browser/6.2.3.8 (GUI)MMP/2.0
udid Optional* A custom unique identifier with MD5 hashing. Pass this if your system has its own unique identifiers for each user. udid=1bef50453858d317a8471087aaf1614a
format Yes* The format of the ad response. The ad server will default to the format required for our SDK, but if a non-SDK integration is done, then publishers should specify either format=html, format=json, or format=vast to ensure the desired response. format=html, format=json or format=vast
mode No Retrieve test ads. mode=test
lat Optional User location latitude value (given in degrees). It’s used together with ’long’ parameter. lat=40.71435
long Optional User location longitude value (given in degrees). It’s used together with ’lat’ parameter. long=-74.00597
mraid  Optional For in-app requests, specifies the version of MRAID the request is compatible with. mraid=1 or mraid=2
mres  Optional For native requests, specifies the number of ads requested for Native App Wall

mres=3

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk