Hi, Developer! AdServer.. This This guid guide e will will help help you you to inte integr grat ate e your your adse adserv rver er or appl applic icat atio ion n with with the the MobFox AdServer AD REQUEST You can reque request st an advert advertise isemen mentt by postin posting g a HTTP HTTP POST POST to to our adserv adserver er.. The follo followin wing g varia variable bless are are relev relevant ant for for reque requesti sting ng ads. ads. Please only request an ad if you intend to show it!
API POST URL
http://my.mobfox.com/request.php
Variable Name
Type
Content
Description
rt
required,static
rt=api
Request Type
u
required,dynamic
u=insert us useragent
Client User Agent
i
required,dynamic
u=10.10.10.10
Client IP Address
h
required,dynamic
h[headername]=
Multiple Headers
o
required,dynamic
o=
Unique Device ID*
p
optional
P=http://www….
Page Pa ge where where called** called**
m
required,dynamic
m=live/test
Test / Live Mode
s
required dynamic
s=
Publisher Site ID
Variable Name
Type
Content
Description
longitude
optional,dynamic
longitude=48.2…
Device Longitude
latitude
optional,dynamic
latitude=16.3…
Device Latitude
int_cat
optional,dynamic
int_cat
App Category ID*
*Category ID
Category Name
1
Finance
2
IT
3
Business
4
Entertainment
5
News
6
Auto&Motor
7
Sport
8
Travel
9
Information
10
Community
11
Women
* For iPhone / Android, this should be the unique device identifier. For mobile web, it should be the value of the cookie. ** Mobile Web only
XML RETURN Once our server has received an ad request, there is a set of different XML Strings that can be returned.
AD AVAILIBLE – DISPLAY IMAGE AD
[Width of the banner] [Height of the banner] [inapp/safari -> Open the page inside the app or external] [Url of the clickthrough page] [Url of the banner] [web/other – Defines if the clickthrough page is a website or not] [Time in seconds until you should request and display a new ad] [yes/no – Allow Scaling of the clickthrough page] [yes/no – If the clickthrough url no web url, you need to check in which external app the url should be opened]
AD AVAILIBLE – DISPLAY TEXT / HTML AD
[Html String of the ad to be displayed] [inapp/safari -> Open the page inside the app or external] [Url of the clickthrough page] [web/other – Defines if the clickthrough page is a website or not] [Time in seconds until you should request and display a new ad] [yes/no – Allow Scaling of the clickthrough page] [yes/no – If the clickthrough url no web url, you need to check in which external app the url should be opened] NO AD AVAILIBLE
World Headquarters Zieglergasse 2, 2. Stock Vienna, AT 1070 Europe
T +43 (1) 92110 1010 M
[email protected]
About MobFox
MobFox is one of Europe's leading mobile advertising & marketing companies, empowering Advertisers, Publishers, Agencies and Developers to reach and engage their target audiences across mobile web & applications. Using our powerful, dynamic ad targeting technology, we are able to optimize every single ad impression, delivering superior results for our network of mobile websites and applications. Learn more at http://www.mobfox.com
© 2010 MobFox. All rights reserved.