Logo mobday

MOBDAY S2S Integration / API - JS TAG

MOBDAY S2S / Js Tag integration



1) URL S2S - HTML Response (ver 1.2) - BANNERS

API url: http://pub.mobday.com/api/ads_api.php?ver=1.2&pubid={pubid}&adspace={adspace_id}&androidid={androidid_value}&advid={advid_value}&idfa={idfa}&iosappid={iosAppid}&bundle={bundle_id}&ip={ip}&ua={user_agent}
(!) for iOS use HTTPS

pubid - publisher id
adspace - adspace id
androidid - The Android device's Android ID (Settings.Secure.ANDROID_ID) (example format: 9774d56d682e549c) (optional)
advid - Google Android Advertising ID. (example format: 40d9e394-740a-4225-83f1-766a04154b83)
idfa - for iOS only (*)
iosappid -for iOS only (*)
bundle - application name package name (example: com.myapp.new )
ip - user IP
ua - user agent (urlencoded)
ver - 1.2 (no change)


2) JS TAG - HTML Response (ver 1.3) - BANNERS

<script src="http://pub.mobday.com/api/ads_api.php?ver=1.3&pubid={pubid}&adspace={adspace_id}&androidid={androidid_value}&advid={advid_value}&idfa={idfa}&iosappid={iosAppid}&bundle={bundle_id}&ip={ip}&ua={user_agent}"></script>

pubid - publisher id
adspace - adspace id
androidid - The Android device' s Android ID (Settings.Secure.ANDROID_ID) (example format: 9774d56d682e549c) (optional)
advid - Google Android Advertising ID. (example format: 40d9e394-740a-4225-83f1-766a04154b83)
idfa - for iOS only (*)
iosappid -for iOS only (*)
bundle - application name package name (example: com.myapp.new )
ip - user IP (optional)
ua - user agent (optional) (urlencoded)
ver - 1.3 (no change)


3) Video Ad Request

3.1) HTML Video
http://pub.mobday.com/api/ads_api.php?ver=1.2&pubid={pubid}&adspace={adspace_id}&androidid={androidid_value}&advid={advid_value}&idfa={idfa}&iosappid={iosAppid}&bundle={bundle_id}&ip={ip}&ua={user_agent}&adtype=video&format=html pubid - publisher id
adspace - adspace id
androidid - The Android device's Android ID (Settings.Secure.ANDROID_ID) (example format: 9774d56d682e549c) (optional)
advid - Google Android Advertising ID. (example format: 40d9e394-740a-4225-83f1-766a04154b83)
idfa - for iOS only (*)
iosappid -for iOS only (*)
bundle - application name package name (example: com.myapp.new )
ip - user IP
ua - user agent (urlencoded)
ver - 1.2 (no change)
adtype - video
format - HTML (HTML Ad Response)

3.2) VAST Videos XML
http://pub.mobday.com/api/ads_api.php?ver=1.2&pubid={pubid}&adspace={adspace_id}&androidid={androidid_value}&advid={advid_value}&idfa={idfa}&iosappid={iosAppid}&bundle={bundle_id}&ip={ip}&ua={user_agent}&adtype=video&format=xml
pubid - publisher id
adspace - adspace id
androidid - The Android device's Android ID (Settings.Secure.ANDROID_ID) (example format: 9774d56d682e549c) (optional)
advid - Google Android Advertising ID. (example format: 40d9e394-740a-4225-83f1-766a04154b83)
idfa - for iOS only (*)
iosappid -for iOS only (*)
bundle - application name package name (example: com.myapp.new )
ip - user IP
ua - user agent (urlencoded)
ver - 1.2 (no change)
adtype - video
format - xml (XML Vast Ad Response)

For any questions feel free to contact your Account Manager or mail at: contact {[a]} mobday.com
www.mobday.com
2010-2018