Sie sind auf Seite 1von 231

1554818369675 com.nazara.tinylabproductions.

oggy starting to cache rewarded ad,


ad-format: VIDEO, screen-name: screen

1554818369676 com.nazara.tinylabproductions.oggy fetching ad networks...

1554818369679 com.nazara.tinylabproductions.oggy checking permissions...

1554818369684 com.nazara.tinylabproductions.oggy ad networks not available,


requesting...

1554818369685 com.nazara.tinylabproductions.oggy initialising Google Play


services...

1554818369690 com.nazara.tinylabproductions.oggy Google Play service result Code is


0

1554818369700 com.nazara.tinylabproductions.oggy Inside run of Thread after gettng


getAdvertisingIdThread 2 ::

1554818369744 com.nazara.tinylabproductions.oggy getAdvertisingIdThread() :: got


Info {b7009d36-9444-4afb-acaf-c833f6e4c098}false

1554818369745 com.nazara.tinylabproductions.oggy Inside run of Thread after getting


adinfo

1554818369778 com.nazara.tinylabproductions.oggy Scheduling now pull notification

1554818369790 com.nazara.tinylabproductions.oggy starting session manager...

1554818369791 com.nazara.tinylabproductions.oggy reading session-details...

1554818369795 com.nazara.tinylabproductions.oggy Offer Table Empty !

1554818369809 com.nazara.tinylabproductions.oggy creating new session data...

1554818369812 com.nazara.tinylabproductions.oggy saving session-details...

1554818369935 com.nazara.tinylabproductions.oggy GetAdNetworksTask is ready to


execute!

1554818369938 com.nazara.tinylabproductions.oggy executing c...

1554818369942 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155481836994022d09d9c8535860dbe79c66456b12c9f

1554818369944 com.nazara.tinylabproductions.oggy md5_token id


084fdeb0965042ec75be692b180b40b7

1554818369991 com.nazara.tinylabproductions.oggy c Request url:


https://vdo.pokkt.com/api/AdNetworksV2?
token=084fdeb0965042ec75be692b180b40b7&timestamp=1554818369940&udid=6254babc-98e5-
42b8-a1a9-
9af626a79056&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.
32&device_id=&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&
advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&androidID=&mac_address=&device_type=Phone&mobile
_no=&email_address=&connection_type=Wifi&screen_density_x=409.432&screen_density_y=
406.4&sheight=1080&swidth=2040&carrier_name=Ufone&screen_density_category=XXHDPI&de
vice_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=&long=&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd&gdpr_applicable=false&gdpr_consent=true

1554818371196 com.nazara.tinylabproductions.oggy c response:


{"status":1,"message":"success","others":{"Networks":[{"POKKT_VIDEO":
{"id":"31","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":0,"respons
eFormat":1,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=31&ad_format=0&response_format=1&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=119.160.68.214&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&preroll=[SDK_PRE_ROLL]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LE
VEL]&encodedPubParams=[SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gd
pr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type"
:3,"custom_data":{},"comscore_client_id":"22296391"}},{"POKKT_BANNER":
{"id":"32","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":1,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=32&ad_format=1&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=119.160.68.214&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LEVEL]&encodedPubParams=[
SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gdpr_applicable=[SDK_GDPR
_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type":3,"custom_data":
{},"comscore_client_id":"22296391"}},{"POKKT_INTERSTITIAL":
{"id":"33","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":3,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=33&ad_format=3&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=119.160.68.214&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LEVEL]&encodedPubParams=[
SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gdpr_applicable=[SDK_GDPR
_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&ars=[SDK_ARS]","network_type":3,"custo
m_data":{},"comscore_client_id":"22296391"}},{"POKKT_INGAME_BRANDING":
{"id":"34","integration_type":"S2S","incent":0,"non_incent":0,"adFormat":4,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=34&ad_format=4&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=119.160.68.214&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&iga_type=[SDK_IGA_TYPE]&battery_level=[SDK_BATTERY_L
EVEL]&encodedPubParams=[SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&g
dpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type
":3,"custom_data":
{},"comscore_client_id":"22296391"}}]},"max_cached_videos":"3","video_cache_ttl":"3
","notification_pull_frequency":"60","branding":"Ads by
POKKT","http_requests_timeout":15,"show_mute":"0","skip_confirm_show_dialog":"0","s
kip_confirm_message":"","skip_confirm_yes_label":"YES","skip_confirm_no_label":"NO"
,"skip_confirm_timer_message":"","incent_message":"","vpaid_background_image":"http
s://pokktjs.pokkt.com/video-js-
4.12/poster.png","track_viewability":false,"back_disable_flag":"0","viewability_tex
t":"","vc":"0","mraid_ios_path":"https://s3-ap-southeast-
1.amazonaws.com/pokktmraid/mraid.js","mraid_android_path":"https://s3-ap-southeast-
1.amazonaws.com/pokktmraid/mraid.js","viewablity_pause_duration":120,"collect_feedb
ack":0,"blocked_category":null,"gt_res_and":"","gt_res_ios":"","html_wrapper_path":
"https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/pokktIMAWrapper.html","om_js_service_path":"ht
tps://s3-ap-southeast-1.amazonaws.com/sdkplugin/omidsupport/omsdk-
v1.js","feedback_html_path":"https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/pokktsdksupport/pokktFeedbackUI.html","vpaid_html_wrapper
_path":"https://pokktjs.pokkt.com/vjs/pokktVpaidWrapper.html","interstitial_frame":
"","trackers":{"session_tracker":
{"type":"POST","url":"https://vdo.pokkt.com/api/sessionTracker/trackV2?","params":"
timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_G
DPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&stat=[SDK_STAT]&appId=511374ddba5da
f16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.ti
nylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd"},"iga_tracker":{"ty
pe":"POST","url":"https://vdo.pokkt.com/api/igaTracker/trackV2?","params":"timestam
p=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONS
ENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&stat=[SDK_STAT]&session_time=[SDK_SESSION_T
IME]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_b
undle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009
d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd"},"network_event_tracker":
{"type":"POST","url":"https://vdo.pokkt.com/api/NetworkEventTrackerV2?","params":"t
imestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GD
PR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&network_event_count=[SDK_NETWORK_EVE
NT_COUNT]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&
app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=
b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd"},"failed_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/urlTracker/trackV2?","params":"offer
_id=[SDK_OFFER_ID]&url=[SDK_URL]&timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDP
R_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&ap
pId=511374ddba5daf16929850844a9df59a"},"submit_feedback":
{"type":"GET","url":"https://vdo.pokkt.com/api/submitFeedbackV2?","params":"timesta
mp=[SDK_TIMESTAMP]&sex=[SDK_SEX]&age=[SDK_AGE]&offer_id=[SDK_OFFER_ID]&reason=[SDK_
REASON]&watch_time=[SDK_WATCH_TIME]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&advertisingID=b7009d36-
9444-4afb-acaf-c833f6e4c098&appId=511374ddba5daf16929850844a9df59a"},"iap_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/iapTracker/trackV2?","params":"times
tamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_C
ONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&productId=[SDK_PRODUCT_ID]&productPrice=
[SDK_PRODUCT_PRICE]&currencyCode=[SDK_CURRENCY_CODE]&productTitle=[SDK_PRODUCT_TITL
E]&productDesc=[SDK_PRODUCT_DESC]&productStore=[SDK_PRODUCT_STORE]&productData=[SDK
_PRODUCT_DATA]&productSignature=[SDK_PRODUCT_SIGNATURE]&appId=511374ddba5daf1692985
0844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabpro
ductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=Wifi&screen_density_x=409
.432&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_
density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd"},"get_notification":
{"type":"GET","url":"https://vdo.pokkt.com/api/notification/getNotificationsV2?","p
arams":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consen
t=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&os_id=[SDK_OS_ID]&appId=511
374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com
.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-
acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=Wifi&screen_density_x=409
.432&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_
density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd&ip=119.160.68.214"},"notification_event_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/NotificationEventsTracker/trackV2?",
"params":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&notification_id=[SDK_ID_N
OTIFICATION]&os_id=[SDK_OS_ID]&track_id=[SDK_TRACK_ID]&event=[SDK_EVENT]&appId=5113
74ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.
nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-
acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=Wifi&screen_density_x=409
.432&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_
density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd"},"app_install_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/installTracker/trackV2?","params":"t
imestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GD
PR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&appId=511374ddba5daf16929850844a9df5
9a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.
oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd"},"gratification_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/gratificationEventTracker/trackV2?",
"params":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&vc=[SDK_VC]&network_id=[S
DK_NETWORK_ID]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=
1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisi
ngID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=Wifi&screen_density_x=409
.432&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_
density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd"},"get_categories":
{"type":"GET","url":"https://ias.pokkt.com/installedapps/get?","params":"timestamp=
[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSEN
T]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&appId=511374ddba5daf16929850844a9df59a&os_ver
sion=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_
version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd&ip=119.160.68.214"},"post_categories_count":
{"type":"POST","url":"https://ias.pokkt.com/installedapps/categorycount","params":"
timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_G
DPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&categories=[SDK_CATEGORIES]&appId=5
11374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=c
om.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd&ip=119.160.68.214"},"get_apps_list":
{"type":"GET","url":"https://vdo.pokkt.com/api/appList/get?","params":"timestamp=[S
DK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]
&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&os_id=[SDK_OS_ID]&appId=511374ddba5daf169298508
44a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabprodu
ctions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=Wifi&screen_density_x=409
.432&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_
density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd&ip=119.160.68.214","refresh_rate_in_days":4}}}

1554818371200 com.nazara.tinylabproductions.oggy Network response is


{"status":1,"message":"success","others":{"Networks":[{"POKKT_VIDEO":
{"id":"31","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":0,"respons
eFormat":1,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=31&ad_format=0&response_format=1&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=119.160.68.214&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&preroll=[SDK_PRE_ROLL]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LE
VEL]&encodedPubParams=[SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gd
pr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type"
:3,"custom_data":{},"comscore_client_id":"22296391"}},{"POKKT_BANNER":
{"id":"32","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":1,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=32&ad_format=1&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=119.160.68.214&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LEVEL]&encodedPubParams=[
SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gdpr_applicable=[SDK_GDPR
_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type":3,"custom_data":
{},"comscore_client_id":"22296391"}},{"POKKT_INTERSTITIAL":
{"id":"33","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":3,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=33&ad_format=3&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=119.160.68.214&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LEVEL]&encodedPubParams=[
SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gdpr_applicable=[SDK_GDPR
_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&ars=[SDK_ARS]","network_type":3,"custo
m_data":{},"comscore_client_id":"22296391"}},{"POKKT_INGAME_BRANDING":
{"id":"34","integration_type":"S2S","incent":0,"non_incent":0,"adFormat":4,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=34&ad_format=4&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=119.160.68.214&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&iga_type=[SDK_IGA_TYPE]&battery_level=[SDK_BATTERY_L
EVEL]&encodedPubParams=[SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&g
dpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type
":3,"custom_data":
{},"comscore_client_id":"22296391"}}]},"max_cached_videos":"3","video_cache_ttl":"3
","notification_pull_frequency":"60","branding":"Ads by
POKKT","http_requests_timeout":15,"show_mute":"0","skip_confirm_show_dialog":"0","s
kip_confirm_message":"","skip_confirm_yes_label":"YES","skip_confirm_no_label":"NO"
,"skip_confirm_timer_message":"","incent_message":"","vpaid_background_image":"http
s://pokktjs.pokkt.com/video-js-
4.12/poster.png","track_viewability":false,"back_disable_flag":"0","viewability_tex
t":"","vc":"0","mraid_ios_path":"https://s3-ap-southeast-
1.amazonaws.com/pokktmraid/mraid.js","mraid_android_path":"https://s3-ap-southeast-
1.amazonaws.com/pokktmraid/mraid.js","viewablity_pause_duration":120,"collect_feedb
ack":0,"blocked_category":null,"gt_res_and":"","gt_res_ios":"","html_wrapper_path":
"https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/pokktIMAWrapper.html","om_js_service_path":"ht
tps://s3-ap-southeast-1.amazonaws.com/sdkplugin/omidsupport/omsdk-
v1.js","feedback_html_path":"https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/pokktsdksupport/pokktFeedbackUI.html","vpaid_html_wrapper
_path":"https://pokktjs.pokkt.com/vjs/pokktVpaidWrapper.html","interstitial_frame":
"","trackers":{"session_tracker":
{"type":"POST","url":"https://vdo.pokkt.com/api/sessionTracker/trackV2?","params":"
timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_G
DPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&stat=[SDK_STAT]&appId=511374ddba5da
f16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.ti
nylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd"},"iga_track
er":
{"type":"POST","url":"https://vdo.pokkt.com/api/igaTracker/trackV2?","params":"time
stamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_
CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&stat=[SDK_STAT]&session_time=[SDK_SESSI
ON_TIME]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&a
pp_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b
7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd"},"network_event_tracker":
{"type":"POST","url":"https://vdo.pokkt.com/api/NetworkEventTrackerV2?","params":"t
imestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GD
PR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&network_event_count=[SDK_NETWORK_EVE
NT_COUNT]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&
app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=
b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd"},"failed_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/urlTracker/trackV2?","params":"offer
_id=[SDK_OFFER_ID]&url=[SDK_URL]&timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDP
R_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&ap
pId=511374ddba5daf16929850844a9df59a"},"submit_feedback":
{"type":"GET","url":"https://vdo.pokkt.com/api/submitFeedbackV2?","params":"timesta
mp=[SDK_TIMESTAMP]&sex=[SDK_SEX]&age=[SDK_AGE]&offer_id=[SDK_OFFER_ID]&reason=[SDK_
REASON]&watch_time=[SDK_WATCH_TIME]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&advertisingID=b7009d36-
9444-4afb-acaf-c833f6e4c098&appId=511374ddba5daf16929850844a9df59a"},"iap_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/iapTracker/trackV2?","params":"times
tamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_C
ONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&productId=[SDK_PRODUCT_ID]&productPrice=
[SDK_PRODUCT_PRICE]&currencyCode=[SDK_CURRENCY_CODE]&productTitle=[SDK_PRODUCT_TITL
E]&productDesc=[SDK_PRODUCT_DESC]&productStore=[SDK_PRODUCT_STORE]&productData=[SDK
_PRODUCT_DATA]&productSignature=[SDK_PRODUCT_SIGNATURE]&appId=511374ddba5daf1692985
0844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabpro
ductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=Wifi&screen_density_x=409
.432&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_
density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd"},"get_notification":
{"type":"GET","url":"https://vdo.pokkt.com/api/notification/getNotificationsV2?","p
arams":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consen
t=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&os_id=[SDK_OS_ID]&appId=511
374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com
.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-
acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=Wifi&screen_density_x=409
.432&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_
density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd&ip=119.160.68.214"},"notification_event_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/NotificationEventsTracker/trackV2?",
"params":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&notification_id=[SDK_ID_N
OTIFICATION]&os_id=[SDK_OS_ID]&track_id=[SDK_TRACK_ID]&event=[SDK_EVENT]&appId=5113
74ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.
nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-
acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=Wifi&screen_density_x=409
.432&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_
density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd"},"app_install_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/installTracker/trackV2?","params":"t
imestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GD
PR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&appId=511374ddba5daf16929850844a9df5
9a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.
oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd"},"gratification_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/gratificationEventTracker/trackV2?",
"params":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&vc=[SDK_VC]&network_id=[S
DK_NETWORK_ID]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=
1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisi
ngID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=Wifi&screen_density_x=409
.432&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_
density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd"},"get_categories":
{"type":"GET","url":"https://ias.pokkt.com/installedapps/get?","params":"timestamp=
[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSEN
T]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&appId=511374ddba5daf16929850844a9df59a&os_ver
sion=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_
version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd&ip=119.160.68.214"},"post_categories_count":
{"type":"POST","url":"https://ias.pokkt.com/installedapps/categorycount","params":"
timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_G
DPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&categories=[SDK_CATEGORIES]&appId=5
11374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=c
om.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd&ip=119.160.68.214"},"get_apps_list":
{"type":"GET","url":"https://vdo.pokkt.com/api/appList/get?","params":"timestamp=[S
DK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]
&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&os_id=[SDK_OS_ID]&appId=511374ddba5daf169298508
44a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabprodu
ctions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=Wifi&screen_density_x=409
.432&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_
density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd&ip=119.160.68.214","refresh_rate_in_days":4}}}

1554818371213 com.nazara.tinylabproductions.oggy Network name POKKT_VIDEO

1554818371219 com.nazara.tinylabproductions.oggy Network name POKKT_BANNER

1554818371220 com.nazara.tinylabproductions.oggy Network name POKKT_INTERSTITIAL

1554818371222 com.nazara.tinylabproductions.oggy Network name POKKT_INGAME_BRANDING

1554818371228 com.nazara.tinylabproductions.oggy creating new network!

1554818371229 com.nazara.tinylabproductions.oggy network created: POKKT_VIDEO

1554818371230 com.nazara.tinylabproductions.oggy creating new network!

1554818371231 com.nazara.tinylabproductions.oggy network created: POKKT_BANNER

1554818371232 com.nazara.tinylabproductions.oggy creating new network!

1554818371233 com.nazara.tinylabproductions.oggy network created:


POKKT_INTERSTITIAL

1554818371234 com.nazara.tinylabproductions.oggy creating new network!

1554818371234 com.nazara.tinylabproductions.oggy network created:


POKKT_INGAME_BRANDING

1554818371238 com.nazara.tinylabproductions.oggy cacheAd requested for: rewarded


ad, ad-format: VIDEO, screen-name: screen!

1554818371239 com.nazara.tinylabproductions.oggy acquiring caching lock

1554818371240 com.nazara.tinylabproductions.oggy acquiring caching lock on:


screen_true_VIDEO

1554818371241 com.nazara.tinylabproductions.oggy lock acquired rewarded ad, ad-


format: VIDEO, screen-name: screen!

1554818371242 com.nazara.tinylabproductions.oggy activeAdSlots does not contain


mentioned adConfig
1554818371243 com.nazara.tinylabproductions.oggy activeAdSlots contains null value
for mentioned adConfig

1554818371252 com.nazara.tinylabproductions.oggy attempting to cache ad with ad-


network: POKKT_VIDEO

1554818371253 com.nazara.tinylabproductions.oggy checking ad-availability with ad-


network: POKKT_VIDEO

1554818371255 com.nazara.tinylabproductions.oggy fetching ad for slot: rewarded


ad, ad-format: VIDEO, screen-name: screen

1554818371257 com.nazara.tinylabproductions.oggy category last get at :1554818371

1554818371258 com.nazara.tinylabproductions.oggy sending session data...

1554818371259 com.nazara.tinylabproductions.oggy total sessions to send: 3

1554818371262 com.nazara.tinylabproductions.oggy Active Session

1554818371263 com.nazara.tinylabproductions.oggy Gesture path not found

1554818371266 com.nazara.tinylabproductions.oggy executing f...

1554818371267 com.nazara.tinylabproductions.oggy executing f...

1554818371267 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/sdkplugin/omidsupport/omsdk-v1.js

1554818371268 com.nazara.tinylabproductions.oggy executing f...

1554818371269 com.nazara.tinylabproductions.oggy f Request url:


https://pokktjs.pokkt.com/vjs/pokktVpaidWrapper.html

1554818371270 com.nazara.tinylabproductions.oggy executing f...

1554818371270 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/sdkplugin/imasupport/pokktIMAWrapper.html

1554818371272 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/sdkplugin/omidsupport/omsdk-v1.js

1554818372284 com.nazara.tinylabproductions.oggy f response: <html>


<head>
<meta charset="utf-8" />
<title>Pokkt Video</title>

<!-- Console Logger -->


<script type="text/javascript">
/**
* console logger
**/
(function() {
var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};
var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};

log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};

log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};

log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());
</script>

<!-- Pokkt Specific -->


<script type="text/javascript">
//alert('hi!');
window.name = "pokkt_video_window";
log.i('window name: ' + window.name);

function is_pokkt_sdk() {
return true;
}

function pokkt_on_close() {
pauseAd();
if (typeof(Android) != "undefined" && Android.closeInterstitial) {
Android.closeInterstitial();
} else {
if (window.external && window.external.notify) {
window.external.notify("closeInterstitial");
}
}
}

function pokktOnComplete() {
if (typeof(Android) != "undefined" && Android.gratifyInterstitial)
{
Android.gratifyInterstitial();
} else {
if(window && window.external && window.external.notify) {
window.external.notify("gratifyInterstitial");
}
}
}

// function injectScript() {
// var Android = {};
// function closeInterstitial() {
// setTimeout(function() {
// window.location = 'pokkt://closeInterstitial';
// }, 1000);
// };

// function gratifyInterstitial() {
// window.location = 'pokkt://gratifyInterstitial';
// };
// Android.closeInterstitial = closeInterstitial;
// Android.gratifyInterstitial = gratifyInterstitial;
// window.Android = Android;
// }
// injectScript();
</script>

<!-- VideoJS -->


<link href="https://pokktjs.pokkt.com/vjs/videojs7/video-js.css"
rel="stylesheet">
<script src="https://pokktjs.pokkt.com/vjs/videojs7/video.min.js"
type="text/javascript"></script>

<!-- VideoJS VAST-VPAID Plugin -->


<link href="https://pokktjs.pokkt.com/vjs/videojs.vast.vpaid.min.css"
rel="stylesheet">
<script src="https://pokktjs.pokkt.com/vjs/vjs_plugin.min.js"></script>

<!-- OM SESSION CLIENT -->


<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/omidsupport/omid-session-client-v1.js"></script>

<!-- Pokkt-JS Bridge -->


<script type="text/javascript">
/**
* bridge
**/
(function() {
window.pokktNativeBridge = {};
window.pokktNativeBridge.notifyNative = function(operation, params)
{
log.i('notifying native of: ' + operation + ' , with params: ' +
params);

var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "pokktbridge://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};
} ());
</script>

<!-- Pokkt-OM Wrapper -->


<script type="text/javascript">
(function() {
var pokktOMIDBridge = window.pokktOMIDBridge = {};

pokktOMIDBridge.createOMIDSession = function(omidSDKVersion,
vendors, partnerName, partnerVersion) {
log.i('creating omid session...');

var sessionClient;

try {
sessionClient = OmidSessionClient[omidSDKVersion];
} catch (e) {
log.i('error creating sessionClient!');
}

if (!sessionClient) {
log.i('sessionClient not available!');
pokktNativeBridge.notifyNative('omWrapperFailed');
return;
}

const AdSession = sessionClient.AdSession;


const Partner = sessionClient.Partner;
const Context = sessionClient.Context;
const VerificationScriptResource =
sessionClient.VerificationScriptResource;
const AdEvents = sessionClient.AdEvents;
const VideoEvents = sessionClient.VideoEvents;

log.i('compiling verification resources...');


var resources = [];
for (var i = 0; i < vendors.length; i++) {
var vendor = vendors[i];
var resource = new
VerificationScriptResource(vendor.javascriptResourceUrl, vendor.vendorKey,
vendor.verificationParameters);
resources.push(resource);
}

if (!resources.length) {
log.i('no verification resources found!');
pokktNativeBridge.notifyNative('omWrapperFailed');
return;
}

var partner = new Partner(partnerName, partnerVersion);


var context = new Context(partner, resources);
var adSession = new AdSession(context);
pokktOMIDBridge.adSession = adSession;

const videoElement = document.getElementById("pokkt-video-ad");


context.setVideoElement(videoElement);

const adEvents = new AdEvents(adSession);


const videoEvents = new VideoEvents(adSession);
pokktOMIDBridge.videoEvents = videoEvents;
adSession.registerSessionObserver(function (event) {
log.i('omid session event: ' + event.type)
if (event.type === "sessionStart") {
videoEvents.loaded({ isSkippable: true, isAutoPlay:
true, position: 'standalone' });
adEvents.impressionOccurred();
} else if (event.type === "sessionError") {
log.i('session error occured! ' + event);
} else if (event.type === "sessionFinish") {
log.i('session finished!');
}
});

log.i('notifying omid wrapper ready...');


pokktNativeBridge.notifyNative('omWrapperReady');
};
} ());

function initOMIDSession(pokktOMConfig) {
log.i('initializing omid session...');

if (pokktOMConfig === undefined) {


log.i('using dummy verification data');
// TEST DATA
pokktOMConfig = {
"omid_sdk_version" : "1.1.3-iab493",
"partner_name" : "Pokkt",
"partner_version" : "7.3.0",
"vendors" : [
{
"vendorKey": "iabtechlab.com-omid",
"javascriptResourceUrl": " https://s3-us-west-
2.amazonaws.com/omsdk-files/compliance-js/omid-validation-verification-script-
v1.js",
"verificationParameters": "iabtechlab-pokkt"
}
]
};
}

if (window.pokktOMIDBridge !== undefined && pokktOMConfig !==


undefined) {
var omidSDKVersion = pokktOMConfig.omid_sdk_version;
var partnerName = pokktOMConfig.partner_name;
var partnerVersion = pokktOMConfig.partner_version;
var vendors = pokktOMConfig.vendors;

log.i('omid version is ' + omidSDKVersion);


log.i('creating omid session with ' + partnerName + ', for
version ' + partnerVersion);
window.pokktOMIDBridge.createOMIDSession(omidSDKVersion,
vendors, partnerName, partnerVersion)
} else {
log.e('invalid pokktOMConfig OR pokktOMIDBridge not
available!');
}
}
</script>
</head>
<body>
<div class="pokkt-video-container" id="pokkt-video-container"
style="opacity:100">
<video id="pokkt-video-ad" class="video-js vjs-default-skin vjs-16-9"
controls webkit-playsinline playsinline preload="auto"
poster="https://pokktjs.pokkt.com/vjs/assets/logo.png" data-
setup='{}'>
<source src="https://pokktjs.pokkt.com/vjs/assets/blank.mp4"
type='video/mp4'>
</video>
</div>

<script type="text/javascript">
window.vjsPlayer = videojs('pokkt-video-ad', {
'controls':false,
'forceSSL':true
}, function () {
log.i('videojs is ready!');
setupEventListeners(this);
window.pokktNativeBridge.notifyNative('vjsPlayerReady');
//this.play();
});

var vastResponseXML = '';


function requestVASTXML(callback) {
setTimeout(function () {
// the macro should be replaced with a proper VAST xml
callback(null, vastResponseXML);
}, 0);
}

function setupVJS(isTagAnURL, vastTag, moatData, moatPartnerCode) {


var vastClientSettings = {};
vastClientSettings.adsCancelTimeout = 200000;
vastClientSettings.adsEnabled = true;
vastClientSettings.playAdAlways = true;
vastClientSettings.vpaidFlashLoaderPath =
'https://vdo.pokkt.com/video-js-4.12/vpaid/VPAIDFlash.swf';
vastClientSettings.moatData = moatData;
vastClientSettings.moatPartnerCode = moatPartnerCode;
vastClientSettings.verbosity = 4;

if (isTagAnURL) {
vastClientSettings.adTagUrl = vastTag;
} else {
vastResponseXML = vastTag;
vastClientSettings.adTagXML = 'requestVASTXML';
}

window.vjsPlayer.vastClient(vastClientSettings);
}

function setupEventListeners(player) {
log.i('setting up listeners on player: ' + player);

player.on('vpaid.AdVideoStart', function(e) {
log.i('window.pokktOMIDBridge start');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
var duration = player.duration();
var muted = player.muted() ? 0 : 1;
if (!isNaN(duration)) {
window.pokktOMIDBridge.videoEvents.start(duration, muted);
} else {
// TODO: wait until duration is available to start
}
});

player.on('vpaid.AdVideoFirstQuartile', function(e) {
log.i('window.pokktOMIDBridge first quartile');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.firstQuartile();
});

player.on('vpaid.AdVideoMidpoint', function(e) {
log.i('window.pokktOMIDBridge midpoint');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.midpoint();
});

player.on('vpaid.AdVideoThirdQuartile', function(e) {
log.i('window.pokktOMIDBridge third quartile');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.thirdQuartile();
});

player.on('vpaid.AdVideoComplete', function(e) {
log.i('window.pokktOMIDBridge complete');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.complete();
});

player.on('vpaid.AdSkipped', function(e) {
log.i('window.pokktOMIDBridge skipped');
if (window.pokktOMIDBridge === undefined ||
window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.skipped();
});

player.on('vpaid.AdPaused', function(e) {
log.i('window.pokktOMIDBridge paused');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.pause();
});

player.on('vpaid.AdPlaying', function(e) {
log.i('window.pokktOMIDBridge resumed');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.resume();
});

player.on('vpaid.AdVolumeChange', function(e) {
log.i('window.pokktOMIDBridge volume changed');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
var videoPlayerVolume = player.volume();
log.i('device volume is: ' + videoPlayerVolume);

window.pokktOMIDBridge.videoEvents.volumeChange(videoPlayerVolume);
});
}

function playAd() {
window.vjsPlayer.play();
}

function pauseAd() {
window.vjsPlayer.pause();
}
</script>

<script type="text/javascript">
// replace macros and call the following
// setupVJS(isTagAnURL, vastTag, moatData, moatPartnerCode);
setupVJS({{IS_TAG_A_URL}}, '{{VAST_TAG}}', {{MOAT_DATA}},
'{{MOAT_PARTNER_CODE}}');
</script>
</body>
</html>

1554818372287 com.nazara.tinylabproductions.oggy Successfully downloaded VPAID HTML

1554818372287 com.nazara.tinylabproductions.oggy executing f...

1554818372288 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/sdkplugin/imasupport/pokktIMAWrapper.html

1554818372496 com.nazara.tinylabproductions.oggy f response: <html>


<head>
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/style.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/video-js.min.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ads.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ima.css" />
</head>
<body>
<div id="pokkt-ima-adcontainer" class="pokkt-ima-adcontainer">
<div id="pokkt-ima-videoplayer" class="pokkt-ima-videoplayer">
<video id="pokkt-video-ad" class="video-js vjs-default-skin vjs-fullscreen
pokkt-video-ad" autoplay preload="auto" playsinline
poster="https://pokktjs.pokkt.com/video-js-4.12/poster.png"></video>
</div>
</div>

<script src="https://imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/video.min.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ads.min.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ima.js"></script>
<script type="text/javascript">
/**
* console logger
**/
(function() {
var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};

var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};

log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};

log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};

log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());

/**
* bridge
**/
(function() {
window.pokktNativeBridge = {};
window.pokktNativeBridge.notifyNative = function(operation, params) {
log.i('notifying native of: ' + operation + ' , with params: ' + params);

var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "pokktbridge://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};
} ());

/**
* POKKT-IMA Wrapper
**/
var PokktIMAWrapper = function(debugEnabled) {
log.i('preparing ima wrapper for pokkt...');

this.player = videojs('pokkt-video-ad');
this.player.fluid(true);

// Remove controls from the player on iPad to stop native controls from
stealing our click
if (navigator.userAgent.match(/iPad/i) ||
navigator.userAgent.match(/Android/i)){
var contentPlayer = document.getElementById('content_video_html5_api');
if (contentPlayer != null && contentPlayer.hasAttribute('controls')) {
contentPlayer.removeAttribute('controls');
}
this.player.controls(false);
}

var options = {
debug: debugEnabled,
id: 'pokkt-video-ad',
autoPlayAdBreaks: false,
showControlsForJSAds: false,
vpaidMode: 'INSECURE',
disableCustomPlaybackForIOS10Plus: true,
adsManagerLoadedCallback: this.adsManagerLoadedCallback.bind(this)
};
this.player.ima(options);

this.player.ima.setAdBreakReadyListener(function(){
log.i('ad-break ready, attempting ad playback...');
this.player.ima.playAdBreak();
});

pokktNativeBridge.notifyNative('wrapperPrepared');
};

PokktIMAWrapper.prototype.initWithAdTag = function(adTag, isAdTagAUrl) {


log.i('initializing ima...');

this.player.ima.initializeAdDisplayContainer();

if (isAdTagAUrl) {
this.player.ima.setContentWithAdTag(null, adTag, false);
} else {
this.player.ima.setContentWithAdsResponse(null, adTag, false);
}

this.player.ima.requestAds();
};

PokktIMAWrapper.prototype.adsManagerLoadedCallback = function(event) {
log.i('ads-manager loaded, registering remaining listners...');

var events = [
google.ima.AdEvent.Type.AD_BREAK_READY,
google.ima.AdEvent.Type.AD_CAN_PLAY,
google.ima.AdEvent.Type.AD_METADATA,
google.ima.AdEvent.Type.ALL_ADS_COMPLETED,
google.ima.AdEvent.Type.CLICK,
google.ima.AdEvent.Type.COMPLETE,
google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,
google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,
google.ima.AdEvent.Type.DURATION_CHANGE,
google.ima.AdEvent.Type.EXPANDED_CHANGED,
google.ima.AdEvent.Type.FIRST_QUARTILE,
google.ima.AdEvent.Type.IMPRESSION,
google.ima.AdEvent.Type.INTERACTION,
google.ima.AdEvent.Type.LINEAR_CHANGED,
google.ima.AdEvent.Type.LOADED,
google.ima.AdEvent.Type.LOG,
google.ima.AdEvent.Type.MIDPOINT,
google.ima.AdEvent.Type.PAUSED,
google.ima.AdEvent.Type.RESUMED,
google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,
google.ima.AdEvent.Type.SKIPPED,
google.ima.AdEvent.Type.STARTED,
google.ima.AdEvent.Type.THIRD_QUARTILE,
google.ima.AdEvent.Type.USER_CLOSE,
google.ima.AdEvent.Type.VIEWABLE_IMPRESSION,
google.ima.AdEvent.Type.VOLUME_CHANGED,
google.ima.AdEvent.Type.VOLUME_MUTED,
google.ima.AdErrorEvent.Type.AD_ERROR
];

for (var index = 0; index < events.length; index++) {


log.i('registering listner for ' + events[index]);
this.player.ima.addEventListener(events[index],
this.onAdEvent.bind(this));
}

window.addEventListener('resize', this.onWindowResize.bind(this));
};

PokktIMAWrapper.prototype.onAdEvent = function(event) {
var message = 'Ad event: ' + event.type;
log.i(message);

// notify this event to native


window.pokktNativeBridge.notifyNative('adEvent', event.type);
};

PokktIMAWrapper.prototype.playAd = function() {
this.player.ima.playAdBreak();
};

PokktIMAWrapper.prototype.pauseAd = function() {
this.player.pause();
};

PokktIMAWrapper.prototype.onWindowResize = function() {
var adContainer = document.getElementById('pokkt-ima-adcontainer');
var videoElement = document.getElementById('pokkt-video-ad');
var adContainerWidth = adContainer.offsetWidth;
var videoHeight = videoElement.offsetHeight;

var adsManager = this.player.ima.getAdsManager();


if (adsManager) {
adsManager.resize(adContainerWidth, videoHeight,
google.ima.ViewMode.NORMAL);
}
};

function prepareIMA(debugEnabled) {
window.imaAds = new PokktIMAWrapper(debugEnabled);
}

function initIMAWithTag(adTag, isAdTagAUrl) {


window.imaAds.initWithAdTag(adTag, isAdTagAUrl);
}

function playAd() {
window.imaAds.playAd();
}

function pauseAd() {
window.imaAds.pauseAd();
}

</script>
</body>
</html>

1554818372500 com.nazara.tinylabproductions.oggy executing f...

1554818372501 com.nazara.tinylabproductions.oggy f Request url:


https://pokktjs.pokkt.com/vjs/pokktVpaidWrapper.html

1554818372503 com.nazara.tinylabproductions.oggy Successfully downloaded IMA HTML

1554818372708 com.nazara.tinylabproductions.oggy f response: ;(function(omidGlobal)


{
'use strict';var h,aa='function'==typeof Object.defineProperties?
Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!
=Object.prototype&&(a[b]=c.value)},k='undefined'!=typeof window&&window===this?
this:'undefined'!=typeof global&&global?global:this;function ba(){ba=function()
{};k.Symbol||(k.Symbol=ca)}var da=0;function ca(a){return'jscomp_symbol_'+(a||'')
+da++}
function n(){ba();var a=k.Symbol.iterator;a||
(a=k.Symbol.iterator=k.Symbol('iterator'));'function'!=typeof
Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!
0,value:function(){return ea(this)}});n=function(){}}function ea(a){var b=0;return
fa(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}function fa(a)
{n();a={next:a};a[k.Symbol.iterator]=function(){return this};return a}function p(a)
{n();ba();n();var b=a[Symbol.iterator];return b?b.call(a):ea(a)}
function q(a,b){function c()
{}c.prototype=b.prototype;a.oa=b.prototype;a.prototype=new
c;a.prototype.constructor=a;for(var d in b)if('prototype'!
=d)if(Object.defineProperties){var
e=Object.getOwnPropertyDescriptor(b,d);e&&Object.defineProperty(a,d,e)}else
a[d]=b[d]}function r(a){if(!(a instanceof Array)){a=p(a);for(var b,c=[];!
(b=a.next()).done;)c.push(b.value);a=c}return a}
function ha(a,b){if(b){var c=k;a=a.split('.');for(var d=0;d<a.length-1;d++){var
e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!
=b&&aa(c,a,{configurable:!0,writable:!0,value:b})}}ha('Object.assign',function(a)
{return a?a:function(a,c){for(var b=1;b<arguments.length;b++){var
e=arguments[b];if(e)for(var f in
e)Object.prototype.hasOwnProperty.call(e,f)&&(a[f]=e[f])}return a}});
ha('Object.values',function(a){return a?a:function(a){var b=[],d;for(d in
a)Object.prototype.hasOwnProperty.call(a,d)&&b.push(a[d]);return b}});function
ia(a){return/\d+\.\d+\.\d+(-.*)?/.test(a)}function ja(a){a=a.split('-')
[0].split('.');for(var b=['1','0','3'],c=0;3>c;c++){var
d=parseInt(a[c],10),e=parseInt(b[c],10);if(d>e)break;else if(d<e)return!1}return!
0};function ka(a,b){return ia(a)&&ja(a)?b?b:[]:b&&'string'===typeof b?
JSON.parse(b):[]};var
t={da:'loaded',ka:'start',Z:'firstQuartile',ea:'midpoint',la:'thirdQuartile',Y:'com
plete',ga:'pause',ia:'resume',X:'bufferStart',W:'bufferFinish',ja:'skipped',na:'vol
umeChange',ha:'playerStateChange',U:'adUserInteraction'},la={aa:'generic',ma:'video
'},ma={F:'native',ba:'html'},na={F:'native',ca:'javascript',NONE:'none'},oa={V:'bac
kgrounded',$:'foregrounded'},pa={fa:'app'};function u(a,b,c,d)
{this.b=a;this.method=b;this.version=c;this.a=d}function qa(a){return!!a&&void 0!
==a.omid_message_guid&&void 0!==a.omid_message_method&&void 0!
==a.omid_message_version&&'string'===typeof a.omid_message_guid&&'string'===typeof
a.omid_message_method&&'string'===typeof a.omid_message_version&&(void
0===a.omid_message_args||void 0!==a.omid_message_args)}function ra(a){return new
u(a.omid_message_guid,a.omid_message_method,a.omid_message_version,a.omid_message_a
rgs)}
function sa(a){var
b={};b=(b.omid_message_guid=a.b,b.omid_message_method=a.method,b.omid_message_versi
on=a.version,b);void 0!==a.a&&(b.omid_message_args=a.a);return b};function ta(a)
{this.b=a};function ua(a){var
b=a.document.createElement('iframe');b.id='omid_v1_present';b.name='omid_v1_present
';b.style.display='none';a.document.body.appendChild(b)}function za(){var a=v,b=new
MutationObserver(function(c){c.forEach(function(c)
{'BODY'===c.addedNodes[0].nodeName&&(ua(a),b.disconnect())})});b.observe(a.document
.documentElement,{childList:!0})};function z(a)
{this.b=a;this.handleExportedMessage=z.prototype.c.bind(this)}q(z,ta);z.prototype.s
endMessage=function(a,b){b=void 0===b?this.b:b;if(!b)throw Error('Message
destination must be defined at construction time or when sending the
message.');b.handleExportedMessage(sa(a),this)};z.prototype.c=function(a,b)
{qa(a)&&this.a&&this.a(ra(a),b)};function C(a){for(var b=[],c=0;c<arguments.length;
++c)b[c-0]=arguments[c];Aa(function(){throw new
(Function.prototype.bind.apply(Error,[null].concat(['Could not complete the test
successfully - '],r(b))));},function(){return console.error.apply(console,
[].concat(r(b)))})}function Ba(a){for(var b=[],c=0;c<arguments.length;++c)b[c-
0]=arguments[c];Aa(function(){},function(){return console.error.apply(console,
[].concat(r(b)))})}
function Aa(a,b){'undefined'!==typeof jasmine&&jasmine?a():'undefined'!==typeof
console&&console&&console.error&&b()};var Ca=eval('this'),v=function()
{if('undefined'!==typeof omidGlobal&&omidGlobal)return omidGlobal;if('undefined'!
==typeof global&&global)return global;if('undefined'!==typeof window&&window)return
window;if('undefined'!==typeof Ca&&Ca)return Ca;throw Error('Could not determine
global object context.');}();function E(a,b){this.b=b=b?b:v;var
c=this;a.addEventListener('message',function(a){if('object'===typeof a.data){var
b=a.data;qa(b)&&a.source&&c.a&&c.a(ra(b),a.source)}})}q(E,ta);E.prototype.sendMessa
ge=function(a,b){b=b?b:this.b;if(!b)throw Error('Message destination must be
defined at construction time or when sending the
message.');b.postMessage(sa(a),'*')};function Da(a,b)
{this.y=this.x=0;this.width=a;this.height=b};function F(a,b)
{this.x=a.x;this.y=a.y;this.width=a.width;this.height=a.height;this.endX=this.x+thi
s.width;this.endY=this.y+this.height;this.adSessionId=a.adSessionId||void
0;this.isFriendlyObstructionFor=a.isFriendlyObstructionFor||
[];this.clipsToBounds=void 0!==a.clipsToBounds?!0===a.clipsToBounds:!
0;this.childViews=a.childViews||[];this.isCreative=a.isCreative||!
1;this.a=b}function Ea(a){var b={};return b.width=a.width,b.height=a.height,b}
function I(a){var b={};return Object.assign({},Ea(a),(b.x=a.x,b.y=a.y,b))}function
J(a){var b=I(a),c={};return Object.assign({},b,
(c.endX=a.endX,c.endY=a.endY,c))}function Fa(a,b,c)
{a.x+=b;a.y+=c;a.endX+=b;a.endY+=c}F.prototype.u=function(a){if(!a)return!
1;a=I(a);var b=a.y,c=a.width,d=a.height;return
this.x===a.x&&this.y===b&&this.width===c&&this.height===d};function Ga(a){return
a.width*a.height};function Ha(a,b){a=I(a);for(var c=[],d=[],e=0;e<b.length;e++){var
f=I(b[e]),l=Math.max(a.y,f.y),g=Math.min(a.x+a.width,f.x+f.width),m=Math.min(a.y+a.
height,f.y+f.height);K(c,Math.max(a.x,f.x));K(c,g);K(d,l);K(d,m)}c=c.sort(function(
a,b){return a-b});d=d.sort(function(a,b){return a-b});return{S:c,T:d}}function
K(a,b){-1===a.indexOf(b)&&a.push(b)};function Ia()
{this.a=this.b=this.l=this.j=this.c=this.i=void
0;this.m=0;this.g=[];this.f=[];this.h=[]}Ia.prototype.u=function(a){return a?
JSON.stringify(L(this))===JSON.stringify(L(a)):!1};
function L(a){var b=[],c={viewport:a.i,adView:
{percentageInView:a.m,reasons:a.h}};if(a.b)
{c.adView.geometry=I(a.b);c.adView.onScreenGeometry=I(a.a);for(var
d=0;d<a.f.length;d+
+)b.push(I(a.f[d]));c.adView.onScreenGeometry.obstructions=b;a.j&&a.l&&(c.adView.co
ntainerGeometry=I(a.j),c.adView.onScreenContainerGeometry=I(a.l),c.adView.measuring
Element=!0)}return c}
function Ja(a,b)
{b=Ea(b);a.i={};a.i.width=b.width;a.i.height=b.height;a.c={};a.c.x=0;a.c.y=0;a.c.wi
dth=b.width;a.c.height=b.height;a.c.endX=b.width;a.c.endY=b.height}function Ka(a,b)
{var
c={};c.x=Math.max(a.x,b.x);c.y=Math.max(a.y,b.y);c.endX=Math.min(a.endX,b.endX);c.e
ndY=Math.min(a.endY,b.endY);c.width=Math.max(0,c.endX-
c.x);c.height=Math.max(0,c.endY-c.y);return c}function La(a,b){return
a.width<b.width||a.height<b.height}
function Ma(a){var b=Ga(a.b);if(b){var c=Ga(a.a);var d=a.f,e=0;if(0<d.length){var
f=Ha(a.a,d),l=f.S;f=f.T;for(var g=0;g<l.length-1;g++)for(var m=(l[g]+(l[g]
+1))/2,N=l[g+1]-l[g],x=0;x<f.length-1;x++){for(var A=(f[x]+(f[x]+1))/2,G=f[x+1]-
f[x],H=!1,B=0;B<d.length;B++){var
w=I(d[B]);if(w.x<m&&w.x+w.width>m&&w.y<A&&w.y+w.height>A){H=!
0;break}}H&&(e+=Math.round(N)*Math.round(G))}}b=Math.round((c-
e)/b*100);a.m=Math.max(b,0)}}
function M(a,b){for(var c=!1,d=0;d<a.h.length;d++)a.h[d]===b&&(c=!0);c||
a.h.push(b)};function Na(){}function Oa(a,b,c,d){var e=new Ia(0);b=new F(b,!
1);Ja(e,b);Pa(a,b,e,d);if('backgrounded'===c)M(e,'backgrounded');else if(e.b)
{for(a=0;a<e.g.length;a++){c=e.g[a];if(0!==c.width&&0!==c.height&&e.a)
{d=J(e.a);b=d.y;var f=d.endX,l=d.endY;c=!(c.endX<=d.x||c.x>=f||c.endY<=b||
c.y>=l)}else c=!1;if(c){a:{c=e.g[a];for(d=0;d<e.f.length;d++)if(e.f[d].u(c)){c=!
0;break a}c=!1}c=!c}c&&(M(e,'obstructed'),e.f.push(e.g[a]))}Ma(e)}else
M(e,'notFound');return e}
function Pa(a,b,c,d){var e=b.isCreative?!0:b.adSessionId===d;if(e){c.b=b;var
f=J(c.b);a=Ka(c.c,f);La(a,f)&&M(c,'clipped');c.a=new F(a,!1)}else if(f=!0,b.a&&(f=-
1!==b.isFriendlyObstructionFor.indexOf(d)?!1:!1===b.clipsToBounds),f)for(var
l=b.childViews,g=0;g<l.length;g++)f=!!c.b,Pa(a,new F(l[g],f),c,d);!e&&c.b&&(b.a?-1!
==b.isFriendlyObstructionFor.indexOf(d)||c.g.push(b):
(e=J(b),d=J(c.a),I(c.a),a=c.a,0!==a.width&&0!
==a.height&&b.clipsToBounds&&(b=Ka(d,e),La(b,d)&&(M(c,'clipped'),c.a=new F(b,!
1)))))}
;function Qa(){return{apiVersion:'1.0',accessMode:'limited',omidJsInfo:
{omidImplementer:'omsdk',serviceVersion:'1.1.3-iab493'}}}function Ra()
{this.adSessionId=null;this.c=Qa();this.j='foregrounded';this.b=this.a='none';this.
i=this.g=this.f=this.A=this.B=this.l=null;this.m=!0}var O;function P(){O||(O=new
Ra);return O};function Sa(a,b)
{this.b=a;this.c=b}k.Object.defineProperties(Sa.prototype,{a:{configurable:!
0,enumerable:!0,get:function(){return this.b}},origin:{configurable:!0,enumerable:!
0,get:function(){return this.c}}});function Ta()
{this.b=[];this.c=[];this.g=[];this.h=[];this.f={};this.a=P()}function Ua(a)
{a.b=[];a.c=[];a.g=[];a.h=[];a.f={};O.adSessionId=null;O.c=Qa();O.v=void 0;O.w=void
0;O.h=null;O.s=null;O.C=null;O.j='foregrounded';O.a='none';O.b='none';O.l=null;O.B=
null;O.A=null;O.f=null;O.g=null;O.i=null;O.m=!0}function Va(a,b){!1!
==Wa(b)&&a.g.filter(function(a){return a.type===b.a.type}).forEach(function(c)
{return a.i(c.o,b.a)})}
function Xa(a,b,c){a.b.filter(function(a){return
a.a.type===b&&Wa(a)}).map(function(a){return a.a}).forEach(c)}function Wa(a){var
b=a.a.type,c=-1!==Object.values(t).indexOf(b)&&'volumeChange'!
==b;return'impression'===b?a.origin===P().b:c?a.origin===P().a:!0}function
Ya(a,b,c){'video'===b?Za(a,c):(a.g.push({type:b,o:c}),Xa(a,b,c))}function Za(a,b)
{Object.keys(t).forEach(function(c){c=t[c];a.g.push({type:c,o:b});Xa(a,c,b)})}
function $a(a,b,c){a.h.push({R:c,o:b});a.c.forEach(function(d){var
e=ab(d);'sessionStart'===d.a.type&&(e.data.verificationParameters=c&&a.f[c]);a.i(b,
e)})}function bb(a){return a.b.some(function(a){return'impression'===a.a.type})||
a.c.some(function(a){return'impression'===a.a.type})}function Q(a,b,c){var
d=S(a,'sessionError','native',
{errorType:b,message:c});a.c.push(d);a.h.forEach(function(b){a.i(b.o,d.a)})}
function cb(a,b){a.f=Object.assign(a.f,b);if(b=a.a.c){var
c=S(a,'sessionStart','native',{context:b});a.c.push(c);a.h.forEach(function(b){var
d=b.o,f=ab(c);b=b.R;f.data.verificationParameters=b&&a.f[b];a.i(d,f)},a)}}function
db(a){var
b=a.h,c=S(a,'sessionFinish','native');a.c.push(c);Ua(a);b.forEach(function(b)
{return a.i(b.o,c.a)})}Ta.prototype.i=function(a,b){for(var
c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];try{a.apply(null,
[].concat(r(c)))}catch(e){Ba(e)}};
function eb(a,b){var c=a.a.A;var d=(d=P().h)?L(d).viewport:void 0;var e=(e=P().h)?
L(e).adView:void 0;b=S(a,'impression',b,
{mediaType:c,viewport:d,adView:e});a.b.push(b);Va(a,b)}function fb(a,b,c,d)
{'start'!==b&&'volumeChange'!==b||null!=(d&&d.deviceVolume)||
(d.deviceVolume=a.a.l);'start'!==b&&'volumeChange'!==b||
null==(d&&d.videoPlayerVolume)||
(a.a.B=d.videoPlayerVolume);b=S(a,b,c,d);a.b.push(b);Va(a,b)}
function gb(a,b){var c=a.g.filter(function(a)
{return'loaded'===a.type}).map(function(a){return a.o}),d=a.b.filter(function(a)
{return'loaded'===a.a.type&&a.origin===b}).map(function(a){return
a.a});c.forEach(function(a){d.forEach(a)})}function hb(a,b){return'none'!
==a.a.b&&a.a.b!==b?(C('Impression event is owned by '+(a.a.b+', not '+b+'.')),!1):!
0}function ib(a,b){return'none'!==a.a.a&&a.a.a!==b?(C('Video events are owned by '+
(a.a.a+', not '+b+'.')),!1):!0}
function S(a,b,c,d){return new Sa({adSessionId:a.a.adSessionId||'',timestamp:(new
Date).getTime(),type:b,data:d},c)}function ab(a)
{a=a.a;return{adSessionId:a.adSessionId,timestamp:a.timestamp,type:a.type,data:a.da
ta}};function jb(a,b,c){'container'===b&&void 0!==a.a.v&&a.a&&null!
=a.a.adSessionId&&(a.a.h=Oa(a.b,a.a.v,a.a.j,a.a.adSessionId));'creative'===b&&a.a.w
&&(a.a.s=Oa(a.b,a.a.w,a.a.j,a.a.adSessionId));if(a.a.h)if(a.a.s){b=new Ia(0);var
d=a.a.h,e=a.a.s,f=d.i,l=d.b,g=d.a,m=e.b;e=e.a;f&&l&&g&&m&&e&&(Ja(b,f),b.j=new F(l,!
1),b.l=new F(g,!
1),b.g=Object.assign([],d.g),b.f=Object.assign([],d.f),b.h=Object.assign([],d.h),d=
b.j.x,f=b.j.y,m=new F(m,!1),e=new F(e,!1),Fa(m,d,f),Fa(e,d,f),b.b=m,b.a=Ka(e,g),-
1===b.h.indexOf('backgrounded')&&
Ma(b))}else b=a.a.h;else b=null;g=a.a.C;if(b&&!b.u(g)||
c)g=L(b),c&&(g.adView.reasons=g.adView.reasons||
[c]),c=a.c,g=S(c,'geometryChange','native',
{viewport:g.viewport,adView:g.adView}),c.b.push(g),Va(c,g),a.a.C=b};function
lb(a,b,c){this.i=a;this.v=b;this.j=c;this.c=P();this.b=null;this.a=this.g=void
0;this.m=!0;T(this)}function T(a){if(!a.b){var b;a:
{if((b=a.i.document)&&b.getElementsByClassName&&(b=b.getElementsByClassName('omid-
element'))){if(1==b.length){b=b[0];break a}1<b.length&&a.m&&(Q(a.j,'generic',"More
than one element with 'omid-element' class name."),a.m=!
1)}b=null}b&&(b.tagName&&'video'===b.tagName.toLowerCase()?a.c.g=b:a.c.f=b,mb(a))}}
function mb(a){a.c.g?
(a.b=a.c.g,a.h()):a.c.f&&(a.b=a.c.f,'iframe'===a.b.tagName.toLowerCase()?
a.c.i&&a.h():a.h())}function nb(a)
{if(a.a&&a.g)if(a.b.tagName&&'iframe'===a.b.tagName.toLowerCase()){if(a.c.i)
{a:if(a.c.i){var b=new F(a.c.i,!1);Fa(b,a.a.x,a.a.y);b.clipsToBounds=!
0;b.isCreative=!0;for(var c=0;c<a.a.childViews.length;c+
+)if(a.a.childViews[c].isCreative){a.a.childViews[c]=b;break
a}a.a.childViews.push(b)}ob(a)}}else a.a.isCreative=!0,ob(a)}function ob(a)
{a.c.w=a.g;jb(a.v,'creative')};function pb(a,b,c){return qb(a,'setInterval')
(b,c)}function rb(a,b){qb(a,'clearInterval')(b)}function sb(a,b)
{qb(a,'clearTimeout')(b)}function qb(a,b){return a.a&&a.a[b]?a.a[b]:tb(a,b)}
function ub(a,b,c,d){if(a.a.document&&a.a.document.body){var
e=a.a.document.createElement('img');e.width=1;e.height=1;e.style.display='none';e.s
rc=b;c&&e.addEventListener('load',function(){return
c()});d&&e.addEventListener('error',function(){return
d()});a.a.document.body.appendChild(e)}else tb(a,'sendUrl')(b,c,d)}function tb(a,b)
{if(a.a&&a.a.omidNative&&a.a.omidNative[b])return
a.a.omidNative[b].bind(a.a.omidNative);throw Error('Native interface method "'+b+'"
not found.');};function vb(a,b,c,d){lb.call(this,a,b,d);this.f=void
0;this.l=c}q(vb,lb);vb.prototype.s=function(){void 0!
==this.f&&(rb(this.l,this.f),this.f=void 0)};vb.prototype.h=function(){var
a=this;this.b?void 0===this.f&&(this.f=pb(this.l,function(){return
wb(a)},200),wb(this)):this.f=void 0};
function wb(a){if(void 0!==a.f){var b=new F(new
Da(a.i.innerWidth,a.i.innerHeight),!1),c=a.b.getBoundingClientRect();if(null==c.x||
isNaN(c.x))c.x=c.left;if(null==c.y||isNaN(c.y))c.y=c.top;c=new F(c,!
1);b.u(a.g)&&c.u(a.a)||(a.a=c,a.a.clipsToBounds=!
0,a.g=b,a.g.childViews.push(a.a),nb(a))}};function xb(a,b,c)
{lb.call(this,a,b,c);this.f=void 0}q(xb,lb);xb.prototype.s=function()
{this.f&&this.b&&this.f.unobserve(this.b)};xb.prototype.h=function(){this.b&&!
this.f&&(this.f=yb(this),this.f.observe(this.b))};
function yb(a){return new a.i.IntersectionObserver(function(b){try{if(b.length)
{for(var c=b[0],d=1;d<b.length;d++)b[d].time>c.time&&(c=b[d]);b=c;a.g=new
F(b.rootBounds,!1);a.a=new F(b.boundingClientRect,!1);a.a.clipsToBounds=!
0;a.g.childViews.push(a.a);nb(a)}}catch(e){a.s(),Q(a.j,'generic','Problem handling
IntersectionObserver callback: '+e.message)}},
{root:null,rootMargin:'0px',threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]})};function
U(a){return'string'===typeof a}function V(a){return'object'===typeof a}function
zb(a){return'number'===typeof a&&!isNaN(a)&&0<=a}function W(a,b){return U(a)&&-1!
==Object.values(b).indexOf(a)};function X(a,b,c,d,e)
{this.b=a;this.f=b;this.g=c;this.c=e;this.a=P()}h=X.prototype;
h.H=function(a){if(a&&V(a)&&W(a.impressionOwner,na)&&(!('videoEventsOwner'in
a&&null!=a.videoEventsOwner)||W(a.videoEventsOwner,na))){var
b=a.videoEventsOwner;this.a.A=null==b||'none'===b?'display':'video';a&&null!
=a.isolateVerificationScripts&&'boolean'===typeof
a.isolateVerificationScripts&&(this.a.m=a.isolateVerificationScripts);b=this.b;var
c=a.impressionOwner;a=a.videoEventsOwner;bb(b)?C('Impression event has occcured
before the event owners have been registered.'):(b.a.b!==c&&'none'===b.a.b&&
(b.a.b=c),b.a.a!==a&&'none'===b.a.a&&(b.a.a=a),gb(b,a))}};
h.P=function(a,b,c){var d;if(d=V(b))
{if(d=W(b.environment,pa)&&W(b.adSessionType,ma))d=b.omidNativeInfo,d=V(d)?
U(d.partnerName)&&U(d.partnerVersion):!1;d&&(d=b.app,d=V(d)?
U(d.libraryVersion)&&U(d.appId):!1)}d&&(this.a.adSessionId=a,a=b,b=this.a.c||
{},a.omidJsInfo=Object.assign({},b.omidJsInfo||{},a.omidJsInfo||
{}),b=a=Object.assign({},b,a),this.a.m||(this.a.g?
(b.videoElement=this.a.g,b.accessMode='full'):this.a.f&&(b.slotElement=this.a.f,b.a
ccessMode='full')),this.a.c=a,cb(this.b,c),this.c&&T(this.c))};
h.G=function(){db(this.b)};h.N=function(a)
{V(a)&&zb(a.x)&&zb(a.y)&&zb(a.width)&&zb(a.height)&&(this.a.v=a,jb(this.f,'containe
r'))};h.O=function(a){W(a,oa)&&(this.a.j=a,'backgrounded'===a?
jb(this.f,'container','backgrounded'):jb(this.f,'container'))};h.L=function(a)
{'impression'===a&&(this.D(),this.c&&T(this.c))};h.D=function()
{hb(this.b,'native')&&eb(this.b,'native')};h.error=function(a,b)
{W(a,la)&&Q(this.b,a,b)};
h.I=function(a,b){ib(this.b,'native')&&W(a,t)&&(void 0===b||
V(b))&&fb(this.b,a,'native',b)};h.M=function(a){if('none'!
==this.b.a.a&&'number'===typeof a&&!isNaN(a)){this.a.l=a;a=this.g;var b=a.a.B;null!
=b&&fb(a.b,'volumeChange','native',
{videoPlayerVolume:b,deviceVolume:a.a.l})}};X.prototype.startSession=X.prototype.P;
X.prototype.error=X.prototype.error;X.prototype.finishSession=X.prototype.G;X.proto
type.publishAdEvent=X.prototype.L;X.prototype.publishImpressionEvent=X.prototype.D;
X.prototype.publishVideoEvent=X.prototype.I;X.prototype.setNativeViewHierarchy=X.pr
ototype.N;X.prototype.setState=X.prototype.O;X.prototype.setDeviceVolume=X.prototyp
e.M;X.prototype.init=X.prototype.H;function Ab(a,b,c){var d=this;c=c?
c:v;this.b=a;this.a=b;this.i=c;this.h=new z;c.omid=c.omid||
{};c.omid.v1_SessionServiceCommunication=this.h;this.f=null;c&&c.addEventListener&&
c.postMessage&&(this.f=new
E(c));this.h.a=this.J.bind(this);this.f&&(this.f.a=this.K.bind(this));this.c=[];thi
s.g=!1;Bb(this,function(a){return Cb(d,a)})}function Bb(a,b){$a(a.b,b)}function
Db(a,b){P().f=b;a.a&&mb(a.a)}function Eb(a,b){P().g=b;a.a&&mb(a.a)}function Fb(a,b)
{P().i=b;a.a&&mb(a.a);a.a&&nb(a.a)}h=Ab.prototype;
h.error=function(a,b){Q(this.b,a,b)};function Gb(a)
{hb(a.b,'javascript')&&(eb(a.b,'javascript'),a.a&&T(a.a))}h.loaded=function(a){var
b={skippable:a.isSkippable,autoPlay:a.isAutoPlay,position:a.position};a.isSkippable
&&(b.skipOffset=a.skipOffset);fb(this.b,'loaded','javascript',b);this.a&&T(this.a)}
;h.start=function(a,b){Y(this,'start',
{duration:a,videoPlayerVolume:b});this.a&&T(this.a)};
function Hb(a){if(a.g&&a.c.length){var b=a.c;if(a.i&&'undefined'!==typeof
a.i.document)for(var c=P().m,d=0;d<b.length;d++){var
e=b[d],f=d,l=e.resourceUrl,g=a.i.document,m=g.createElement('iframe');c&&(m.sandbox
='allow-scripts');m.id='omid-verification-script-
frame-'+f;m.style.display='none';m.srcdoc='<html><head>'+('<script
type="text/javascript" src="'+l+'">\x3c/script>')
+'</head><body></body></html>';g.body.appendChild(m);f=e.vendorKey;e=e.verification
Parameters;f=void 0===f?'':f;e=void 0===e?'':
e;f&&'string'===typeof f&&''!==f&&e&&'string'===typeof e&&''!==e&&(a.b.f[f]=e)}else
C('OMID Session Client is not running within a window');a.c=[]}}function Ib(a){var
b=P().c.omidJsInfo;a(b.serviceVersion)}function Cb(a,b)
{'sessionStart'===b.type&&(a.g=!0,Hb(a));'sessionFinish'===b.type&&(a.g=!
1,Bb(a,function(b){return Cb(a,b)}))}function Jb(a,b,c){var d=P().c||
{};d.omidJsInfo=Object.assign({},d.omidJsInfo,
{sessionClientVersion:a,partnerName:b,partnerVersion:c});P().c=d}
function Y(a,b,c){'javascript'===P().a&&fb(a.b,b,'javascript',c)}h.K=function(a,b)
{Kb(this,a,b,this.f)};h.J=function(a,b){Kb(this,a,b,this.h)};
function Kb(a,b,c,d){function e(a){for(var b=[],e=0;e<arguments.length;++e)b[e-
0]=arguments[e];b=new u(f,'response',g,ia(g)&&ja(g)?
b:JSON.stringify(b));d.sendMessage(b,c)}var
f=b.b,l=b.method,g=b.version;b=ka(g,b.a);try{switch(l){case
'SessionService.registerAdEvents':hb(a.b,'javascript');break;case
'SessionService.registerVideoEvents':ib(a.b,'javascript');break;case
'SessionService.registerSessionObserver':Bb(a,e);break;case
'SessionService.setSlotElement':var m=p(b).next().value;Db(a,m);break;case
'SessionService.setVideoElement':var N=
p(b).next().value;Eb(a,N);break;case 'SessionService.setElementBounds':var
x=p(b).next().value;Fb(a,x);break;case
'SessionService.impressionOccurred':Gb(a);break;case 'SessionService.loaded':var
A=p(b).next().value;a.loaded(A);break;case 'SessionService.start':var
G=p(b),H=G.next().value,B=G.next().value;a.start(H,B);break;case
'SessionService.firstQuartile':Y(a,'firstQuartile');break;case
'SessionService.midpoint':Y(a,'midpoint');break;case
'SessionService.thirdQuartile':Y(a,'thirdQuartile');break;
case 'SessionService.complete':Y(a,'complete');break;case
'SessionService.pause':Y(a,'pause');break;case
'SessionService.resume':Y(a,'resume');break;case
'SessionService.bufferStart':Y(a,'bufferStart');break;case
'SessionService.bufferFinish':Y(a,'bufferFinish');break;case
'SessionService.skipped':Y(a,'skipped');break;case
'SessionService.volumeChange':var w=p(b).next().value;Y(a,'volumeChange',
{videoPlayerVolume:w});break;case 'SessionService.playerStateChange':var
va=p(b).next().value;Y(a,'playerStateChange',
{state:va});break;case 'SessionService.adUserInteraction':var
wa=p(b).next().value;Y(a,'adUserInteraction',{interactionType:wa});break;case
'SessionService.setClientInfo':var
R=p(b),xa=R.next().value,ya=R.next().value,y=R.next().value;Jb(xa,ya,y);Ib(e);break
;case 'SessionService.injectVerificationScriptResources':var
Rb=p(b).next().value;a.c.push.apply(a.c,[].concat(r(Rb)));Hb(a);break;case
'SessionService.sessionError':var
kb=p(b),Sb=kb.next().value,Tb=kb.next().value;a.error(Sb,Tb)}}catch(D)
{d.sendMessage(new u(f,
'error',g,'\n name: '+D.name+'\n message: '+D.message+'\n
filename: '+D.filename+'\n lineNumber: '+D.lineNumber+'\n
columnNumber: '+D.columnNumber+'\n stack: '+D.stack+'\n
toString(): '+D.toString()+'\n '),c)}};function Lb(a,b,c){c=c?
c:v;this.g=a;this.a=b;this.h={};this.f={};this.c=new z;c.omid=c.omid||
{};c.omid.v1_VerificationServiceCommunication=this.c;this.b=null;c&&c.addEventListe
ner&&c.postMessage&&(this.b=new
E(c));this.c.a=this.i.bind(this);this.b&&(this.b.a=this.j.bind(this))}function
Mb(a,b,c,d){ub(a.a,b,c,d)}function Nb(a,b,c,d){tb(a.a,'downloadJavaScriptResource')
(b,c,d)}Lb.prototype.j=function(a,b)
{this.b&&Ob(this,a,b,this.b)};Lb.prototype.i=function(a,b){Ob(this,a,b,this.c)};
function Ob(a,b,c,d){function e(a){for(var b=[],e=0;e<arguments.length;++e)b[e-
0]=arguments[e];b=new u(f,'response',g,ia(g)&&ja(g)?
b:JSON.stringify(b));d.sendMessage(b,c)}var
f=b.b,l=b.method,g=b.version;b=ka(g,b.a);try{switch(l){case
'VerificationService.addEventListener':var
m=p(b).next().value;Ya(a.g,m,e);break;case
'VerificationService.addSessionListener':var N=p(b).next().value;
$a(a.g,e,N);break;case 'VerificationService.sendUrl':var
x=p(b).next().value;Mb(a,x,function(){return e(!0)},function(){return e(!1)});
break;case 'VerificationService.setTimeout':var
A=p(b),G=A.next().value,H=A.next().value;a.h[G]=qb(a.a,'setTimeout')
(e,H);break;case 'VerificationService.clearTimeout':var
B=p(b).next().value;sb(a.a,a.h[B]);break;case 'VerificationService.setInterval':var
w=p(b),va=w.next().value,wa=w.next().value;a.f[va]=pb(a.a,e,wa);break;case
'VerificationService.clearInterval':var
R=p(b).next().value;rb(a.a,a.f[R]);break;case
'VerificationService.injectJavaScriptResource':var
xa=p(b).next().value;Nb(a,xa,function(a){return e(!0,
a)},function(){return e(!1)});break;case
'VerificationService.getVersion':p(b).next();var
ya=P().c.omidJsInfo;e(ya.serviceVersion)}}catch(y){d.sendMessage(new
u(f,'error',g,'\n name: '+y.name+'\n message:
'+y.message+'\n filename: '+y.filename+'\n lineNumber:
'+y.lineNumber+'\n columnNumber: '+y.columnNumber+'\n
stack: '+y.stack+'\n toString(): '+y.toString()+'\n
'),c)}};var Z=new Ta,Pb=new function(){var a;this.a=a=void 0===a?omidGlobal:a};new
Lb(Z,Pb);var Qb=new function(){var a=new Na;this.c=Z;this.b=a;this.a=P()},Ub=v?
v.IntersectionObserver?new xb(v,Qb,Z):new vb(v,Qb,Pb,Z):null;new
Ab(Z,Ub);v.omidBridge=new X(Z,Qb,new function(){var a=P();this.b=Z;this.a=a},new
function(){},Ub);if(v.frames&&v.document&&!('omid_v1_present'in v.frames)){var
Vb;if(Vb=!v.document.body)Vb='MutationObserver'in v;Vb?za():v.document.body?
ua(v):v.document.write('<iframe style="display:none" id="omid_v1_present"
name="omid_v1_present"></iframe>')};
}).call(this, this);

1554818372710 com.nazara.tinylabproductions.oggy executing d...

1554818372712 com.nazara.tinylabproductions.oggy Successfully downloaded OM JS

1554818372719 com.nazara.tinylabproductions.oggy f response: <html>


<head>
<meta charset="utf-8" />
<title>Pokkt Video</title>

<!-- Console Logger -->


<script type="text/javascript">
/**
* console logger
**/
(function() {
var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};

var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};

log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};

log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};

log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());
</script>

<!-- Pokkt Specific -->


<script type="text/javascript">
//alert('hi!');
window.name = "pokkt_video_window";
log.i('window name: ' + window.name);

function is_pokkt_sdk() {
return true;
}

function pokkt_on_close() {
pauseAd();
if (typeof(Android) != "undefined" && Android.closeInterstitial) {
Android.closeInterstitial();
} else {
if (window.external && window.external.notify) {
window.external.notify("closeInterstitial");
}
}
}

function pokktOnComplete() {
if (typeof(Android) != "undefined" && Android.gratifyInterstitial)
{
Android.gratifyInterstitial();
} else {
if(window && window.external && window.external.notify) {
window.external.notify("gratifyInterstitial");
}
}
}

// function injectScript() {
// var Android = {};
// function closeInterstitial() {
// setTimeout(function() {
// window.location = 'pokkt://closeInterstitial';
// }, 1000);
// };

// function gratifyInterstitial() {
// window.location = 'pokkt://gratifyInterstitial';
// };
// Android.closeInterstitial = closeInterstitial;
// Android.gratifyInterstitial = gratifyInterstitial;
// window.Android = Android;
// }
// injectScript();
</script>

<!-- VideoJS -->


<link href="https://pokktjs.pokkt.com/vjs/videojs7/video-js.css"
rel="stylesheet">
<script src="https://pokktjs.pokkt.com/vjs/videojs7/video.min.js"
type="text/javascript"></script>

<!-- VideoJS VAST-VPAID Plugin -->


<link href="https://pokktjs.pokkt.com/vjs/videojs.vast.vpaid.min.css"
rel="stylesheet">
<script src="https://pokktjs.pokkt.com/vjs/vjs_plugin.min.js"></script>

<!-- OM SESSION CLIENT -->


<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/omidsupport/omid-session-client-v1.js"></script>

<!-- Pokkt-JS Bridge -->


<script type="text/javascript">
/**
* bridge
**/
(function() {
window.pokktNativeBridge = {};
window.pokktNativeBridge.notifyNative = function(operation, params)
{
log.i('notifying native of: ' + operation + ' , with params: ' +
params);

var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "pokktbridge://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};
} ());
</script>

<!-- Pokkt-OM Wrapper -->


<script type="text/javascript">
(function() {
var pokktOMIDBridge = window.pokktOMIDBridge = {};

pokktOMIDBridge.createOMIDSession = function(omidSDKVersion,
vendors, partnerName, partnerVersion) {
log.i('creating omid session...');

var sessionClient;

try {
sessionClient = OmidSessionClient[omidSDKVersion];
} catch (e) {
log.i('error creating sessionClient!');
}

if (!sessionClient) {
log.i('sessionClient not available!');
pokktNativeBridge.notifyNative('omWrapperFailed');
return;
}

const AdSession = sessionClient.AdSession;


const Partner = sessionClient.Partner;
const Context = sessionClient.Context;
const VerificationScriptResource =
sessionClient.VerificationScriptResource;
const AdEvents = sessionClient.AdEvents;
const VideoEvents = sessionClient.VideoEvents;

log.i('compiling verification resources...');


var resources = [];
for (var i = 0; i < vendors.length; i++) {
var vendor = vendors[i];
var resource = new
VerificationScriptResource(vendor.javascriptResourceUrl, vendor.vendorKey,
vendor.verificationParameters);
resources.push(resource);
}

if (!resources.length) {
log.i('no verification resources found!');
pokktNativeBridge.notifyNative('omWrapperFailed');
return;
}

var partner = new Partner(partnerName, partnerVersion);


var context = new Context(partner, resources);
var adSession = new AdSession(context);
pokktOMIDBridge.adSession = adSession;

const videoElement = document.getElementById("pokkt-video-ad");


context.setVideoElement(videoElement);

const adEvents = new AdEvents(adSession);


const videoEvents = new VideoEvents(adSession);
pokktOMIDBridge.videoEvents = videoEvents;

adSession.registerSessionObserver(function (event) {
log.i('omid session event: ' + event.type)
if (event.type === "sessionStart") {
videoEvents.loaded({ isSkippable: true, isAutoPlay:
true, position: 'standalone' });
adEvents.impressionOccurred();
} else if (event.type === "sessionError") {
log.i('session error occured! ' + event);
} else if (event.type === "sessionFinish") {
log.i('session finished!');
}
});

log.i('notifying omid wrapper ready...');


pokktNativeBridge.notifyNative('omWrapperReady');
};
} ());

function initOMIDSession(pokktOMConfig) {
log.i('initializing omid session...');

if (pokktOMConfig === undefined) {


log.i('using dummy verification data');
// TEST DATA
pokktOMConfig = {
"omid_sdk_version" : "1.1.3-iab493",
"partner_name" : "Pokkt",
"partner_version" : "7.3.0",
"vendors" : [
{
"vendorKey": "iabtechlab.com-omid",
"javascriptResourceUrl": " https://s3-us-west-
2.amazonaws.com/omsdk-files/compliance-js/omid-validation-verification-script-
v1.js",
"verificationParameters": "iabtechlab-pokkt"
}
]
};
}

if (window.pokktOMIDBridge !== undefined && pokktOMConfig !==


undefined) {
var omidSDKVersion = pokktOMConfig.omid_sdk_version;
var partnerName = pokktOMConfig.partner_name;
var partnerVersion = pokktOMConfig.partner_version;
var vendors = pokktOMConfig.vendors;

log.i('omid version is ' + omidSDKVersion);


log.i('creating omid session with ' + partnerName + ', for
version ' + partnerVersion);
window.pokktOMIDBridge.createOMIDSession(omidSDKVersion,
vendors, partnerName, partnerVersion)
} else {
log.e('invalid pokktOMConfig OR pokktOMIDBridge not
available!');
}
}
</script>
</head>
<body>
<div class="pokkt-video-container" id="pokkt-video-container"
style="opacity:100">
<video id="pokkt-video-ad" class="video-js vjs-default-skin vjs-16-9"
controls webkit-playsinline playsinline preload="auto"
poster="https://pokktjs.pokkt.com/vjs/assets/logo.png" data-
setup='{}'>
<source src="https://pokktjs.pokkt.com/vjs/assets/blank.mp4"
type='video/mp4'>
</video>
</div>

<script type="text/javascript">
window.vjsPlayer = videojs('pokkt-video-ad', {
'controls':false,
'forceSSL':true
}, function () {
log.i('videojs is ready!');
setupEventListeners(this);
window.pokktNativeBridge.notifyNative('vjsPlayerReady');
//this.play();
});

var vastResponseXML = '';


function requestVASTXML(callback) {
setTimeout(function () {
// the macro should be replaced with a proper VAST xml
callback(null, vastResponseXML);
}, 0);
}

function setupVJS(isTagAnURL, vastTag, moatData, moatPartnerCode) {


var vastClientSettings = {};
vastClientSettings.adsCancelTimeout = 200000;
vastClientSettings.adsEnabled = true;
vastClientSettings.playAdAlways = true;
vastClientSettings.vpaidFlashLoaderPath =
'https://vdo.pokkt.com/video-js-4.12/vpaid/VPAIDFlash.swf';
vastClientSettings.moatData = moatData;
vastClientSettings.moatPartnerCode = moatPartnerCode;
vastClientSettings.verbosity = 4;

if (isTagAnURL) {
vastClientSettings.adTagUrl = vastTag;
} else {
vastResponseXML = vastTag;
vastClientSettings.adTagXML = 'requestVASTXML';
}

window.vjsPlayer.vastClient(vastClientSettings);
}

function setupEventListeners(player) {
log.i('setting up listeners on player: ' + player);

player.on('vpaid.AdVideoStart', function(e) {
log.i('window.pokktOMIDBridge start');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
var duration = player.duration();
var muted = player.muted() ? 0 : 1;
if (!isNaN(duration)) {
window.pokktOMIDBridge.videoEvents.start(duration, muted);
} else {
// TODO: wait until duration is available to start
}
});

player.on('vpaid.AdVideoFirstQuartile', function(e) {
log.i('window.pokktOMIDBridge first quartile');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.firstQuartile();
});

player.on('vpaid.AdVideoMidpoint', function(e) {
log.i('window.pokktOMIDBridge midpoint');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.midpoint();
});

player.on('vpaid.AdVideoThirdQuartile', function(e) {
log.i('window.pokktOMIDBridge third quartile');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.thirdQuartile();
});

player.on('vpaid.AdVideoComplete', function(e) {
log.i('window.pokktOMIDBridge complete');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.complete();
});

player.on('vpaid.AdSkipped', function(e) {
log.i('window.pokktOMIDBridge skipped');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.skipped();
});

player.on('vpaid.AdPaused', function(e) {
log.i('window.pokktOMIDBridge paused');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.pause();
});

player.on('vpaid.AdPlaying', function(e) {
log.i('window.pokktOMIDBridge resumed');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.resume();
});

player.on('vpaid.AdVolumeChange', function(e) {
log.i('window.pokktOMIDBridge volume changed');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
var videoPlayerVolume = player.volume();
log.i('device volume is: ' + videoPlayerVolume);

window.pokktOMIDBridge.videoEvents.volumeChange(videoPlayerVolume);
});
}

function playAd() {
window.vjsPlayer.play();
}

function pauseAd() {
window.vjsPlayer.pause();
}
</script>

<script type="text/javascript">
// replace macros and call the following
// setupVJS(isTagAnURL, vastTag, moatData, moatPartnerCode);
setupVJS({{IS_TAG_A_URL}}, '{{VAST_TAG}}', {{MOAT_DATA}},
'{{MOAT_PARTNER_CODE}}');
</script>
</body>
</html>

1554818372729 com.nazara.tinylabproductions.oggy f response: ;(function(omidGlobal)


{
'use strict';var h,aa='function'==typeof Object.defineProperties?
Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!
=Object.prototype&&(a[b]=c.value)},k='undefined'!=typeof window&&window===this?
this:'undefined'!=typeof global&&global?global:this;function ba(){ba=function()
{};k.Symbol||(k.Symbol=ca)}var da=0;function ca(a){return'jscomp_symbol_'+(a||'')
+da++}
function n(){ba();var a=k.Symbol.iterator;a||
(a=k.Symbol.iterator=k.Symbol('iterator'));'function'!=typeof
Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!
0,value:function(){return ea(this)}});n=function(){}}function ea(a){var b=0;return
fa(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}function fa(a)
{n();a={next:a};a[k.Symbol.iterator]=function(){return this};return a}function p(a)
{n();ba();n();var b=a[Symbol.iterator];return b?b.call(a):ea(a)}
function q(a,b){function c()
{}c.prototype=b.prototype;a.oa=b.prototype;a.prototype=new
c;a.prototype.constructor=a;for(var d in b)if('prototype'!
=d)if(Object.defineProperties){var
e=Object.getOwnPropertyDescriptor(b,d);e&&Object.defineProperty(a,d,e)}else
a[d]=b[d]}function r(a){if(!(a instanceof Array)){a=p(a);for(var b,c=[];!
(b=a.next()).done;)c.push(b.value);a=c}return a}
function ha(a,b){if(b){var c=k;a=a.split('.');for(var d=0;d<a.length-1;d++){var
e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!
=b&&aa(c,a,{configurable:!0,writable:!0,value:b})}}ha('Object.assign',function(a)
{return a?a:function(a,c){for(var b=1;b<arguments.length;b++){var
e=arguments[b];if(e)for(var f in
e)Object.prototype.hasOwnProperty.call(e,f)&&(a[f]=e[f])}return a}});
ha('Object.values',function(a){return a?a:function(a){var b=[],d;for(d in
a)Object.prototype.hasOwnProperty.call(a,d)&&b.push(a[d]);return b}});function
ia(a){return/\d+\.\d+\.\d+(-.*)?/.test(a)}function ja(a){a=a.split('-')
[0].split('.');for(var b=['1','0','3'],c=0;3>c;c++){var
d=parseInt(a[c],10),e=parseInt(b[c],10);if(d>e)break;else if(d<e)return!1}return!
0};function ka(a,b){return ia(a)&&ja(a)?b?b:[]:b&&'string'===typeof b?
JSON.parse(b):[]};var
t={da:'loaded',ka:'start',Z:'firstQuartile',ea:'midpoint',la:'thirdQuartile',Y:'com
plete',ga:'pause',ia:'resume',X:'bufferStart',W:'bufferFinish',ja:'skipped',na:'vol
umeChange',ha:'playerStateChange',U:'adUserInteraction'},la={aa:'generic',ma:'video
'},ma={F:'native',ba:'html'},na={F:'native',ca:'javascript',NONE:'none'},oa={V:'bac
kgrounded',$:'foregrounded'},pa={fa:'app'};function u(a,b,c,d)
{this.b=a;this.method=b;this.version=c;this.a=d}function qa(a){return!!a&&void 0!
==a.omid_message_guid&&void 0!==a.omid_message_method&&void 0!
==a.omid_message_version&&'string'===typeof a.omid_message_guid&&'string'===typeof
a.omid_message_method&&'string'===typeof a.omid_message_version&&(void
0===a.omid_message_args||void 0!==a.omid_message_args)}function ra(a){return new
u(a.omid_message_guid,a.omid_message_method,a.omid_message_version,a.omid_message_a
rgs)}
function sa(a){var
b={};b=(b.omid_message_guid=a.b,b.omid_message_method=a.method,b.omid_message_versi
on=a.version,b);void 0!==a.a&&(b.omid_message_args=a.a);return b};function ta(a)
{this.b=a};function ua(a){var
b=a.document.createElement('iframe');b.id='omid_v1_present';b.name='omid_v1_present
';b.style.display='none';a.document.body.appendChild(b)}function za(){var a=v,b=new
MutationObserver(function(c){c.forEach(function(c)
{'BODY'===c.addedNodes[0].nodeName&&(ua(a),b.disconnect())})});b.observe(a.document
.documentElement,{childList:!0})};function z(a)
{this.b=a;this.handleExportedMessage=z.prototype.c.bind(this)}q(z,ta);z.prototype.s
endMessage=function(a,b){b=void 0===b?this.b:b;if(!b)throw Error('Message
destination must be defined at construction time or when sending the
message.');b.handleExportedMessage(sa(a),this)};z.prototype.c=function(a,b)
{qa(a)&&this.a&&this.a(ra(a),b)};function C(a){for(var b=[],c=0;c<arguments.length;
++c)b[c-0]=arguments[c];Aa(function(){throw new
(Function.prototype.bind.apply(Error,[null].concat(['Could not complete the test
successfully - '],r(b))));},function(){return console.error.apply(console,
[].concat(r(b)))})}function Ba(a){for(var b=[],c=0;c<arguments.length;++c)b[c-
0]=arguments[c];Aa(function(){},function(){return console.error.apply(console,
[].concat(r(b)))})}
function Aa(a,b){'undefined'!==typeof jasmine&&jasmine?a():'undefined'!==typeof
console&&console&&console.error&&b()};var Ca=eval('this'),v=function()
{if('undefined'!==typeof omidGlobal&&omidGlobal)return omidGlobal;if('undefined'!
==typeof global&&global)return global;if('undefined'!==typeof window&&window)return
window;if('undefined'!==typeof Ca&&Ca)return Ca;throw Error('Could not determine
global object context.');}();function E(a,b){this.b=b=b?b:v;var
c=this;a.addEventListener('message',function(a){if('object'===typeof a.data){var
b=a.data;qa(b)&&a.source&&c.a&&c.a(ra(b),a.source)}})}q(E,ta);E.prototype.sendMessa
ge=function(a,b){b=b?b:this.b;if(!b)throw Error('Message destination must be
defined at construction time or when sending the
message.');b.postMessage(sa(a),'*')};function Da(a,b)
{this.y=this.x=0;this.width=a;this.height=b};function F(a,b)
{this.x=a.x;this.y=a.y;this.width=a.width;this.height=a.height;this.endX=this.x+thi
s.width;this.endY=this.y+this.height;this.adSessionId=a.adSessionId||void
0;this.isFriendlyObstructionFor=a.isFriendlyObstructionFor||
[];this.clipsToBounds=void 0!==a.clipsToBounds?!0===a.clipsToBounds:!
0;this.childViews=a.childViews||[];this.isCreative=a.isCreative||!
1;this.a=b}function Ea(a){var b={};return b.width=a.width,b.height=a.height,b}
function I(a){var b={};return Object.assign({},Ea(a),(b.x=a.x,b.y=a.y,b))}function
J(a){var b=I(a),c={};return Object.assign({},b,
(c.endX=a.endX,c.endY=a.endY,c))}function Fa(a,b,c)
{a.x+=b;a.y+=c;a.endX+=b;a.endY+=c}F.prototype.u=function(a){if(!a)return!
1;a=I(a);var b=a.y,c=a.width,d=a.height;return
this.x===a.x&&this.y===b&&this.width===c&&this.height===d};function Ga(a){return
a.width*a.height};function Ha(a,b){a=I(a);for(var c=[],d=[],e=0;e<b.length;e++){var
f=I(b[e]),l=Math.max(a.y,f.y),g=Math.min(a.x+a.width,f.x+f.width),m=Math.min(a.y+a.
height,f.y+f.height);K(c,Math.max(a.x,f.x));K(c,g);K(d,l);K(d,m)}c=c.sort(function(
a,b){return a-b});d=d.sort(function(a,b){return a-b});return{S:c,T:d}}function
K(a,b){-1===a.indexOf(b)&&a.push(b)};function Ia()
{this.a=this.b=this.l=this.j=this.c=this.i=void
0;this.m=0;this.g=[];this.f=[];this.h=[]}Ia.prototype.u=function(a){return a?
JSON.stringify(L(this))===JSON.stringify(L(a)):!1};
function L(a){var b=[],c={viewport:a.i,adView:
{percentageInView:a.m,reasons:a.h}};if(a.b)
{c.adView.geometry=I(a.b);c.adView.onScreenGeometry=I(a.a);for(var
d=0;d<a.f.length;d+
+)b.push(I(a.f[d]));c.adView.onScreenGeometry.obstructions=b;a.j&&a.l&&(c.adView.co
ntainerGeometry=I(a.j),c.adView.onScreenContainerGeometry=I(a.l),c.adView.measuring
Element=!0)}return c}
function Ja(a,b)
{b=Ea(b);a.i={};a.i.width=b.width;a.i.height=b.height;a.c={};a.c.x=0;a.c.y=0;a.c.wi
dth=b.width;a.c.height=b.height;a.c.endX=b.width;a.c.endY=b.height}function Ka(a,b)
{var
c={};c.x=Math.max(a.x,b.x);c.y=Math.max(a.y,b.y);c.endX=Math.min(a.endX,b.endX);c.e
ndY=Math.min(a.endY,b.endY);c.width=Math.max(0,c.endX-
c.x);c.height=Math.max(0,c.endY-c.y);return c}function La(a,b){return
a.width<b.width||a.height<b.height}
function Ma(a){var b=Ga(a.b);if(b){var c=Ga(a.a);var d=a.f,e=0;if(0<d.length){var
f=Ha(a.a,d),l=f.S;f=f.T;for(var g=0;g<l.length-1;g++)for(var m=(l[g]+(l[g]
+1))/2,N=l[g+1]-l[g],x=0;x<f.length-1;x++){for(var A=(f[x]+(f[x]+1))/2,G=f[x+1]-
f[x],H=!1,B=0;B<d.length;B++){var
w=I(d[B]);if(w.x<m&&w.x+w.width>m&&w.y<A&&w.y+w.height>A){H=!
0;break}}H&&(e+=Math.round(N)*Math.round(G))}}b=Math.round((c-
e)/b*100);a.m=Math.max(b,0)}}
function M(a,b){for(var c=!1,d=0;d<a.h.length;d++)a.h[d]===b&&(c=!0);c||
a.h.push(b)};function Na(){}function Oa(a,b,c,d){var e=new Ia(0);b=new F(b,!
1);Ja(e,b);Pa(a,b,e,d);if('backgrounded'===c)M(e,'backgrounded');else if(e.b)
{for(a=0;a<e.g.length;a++){c=e.g[a];if(0!==c.width&&0!==c.height&&e.a)
{d=J(e.a);b=d.y;var f=d.endX,l=d.endY;c=!(c.endX<=d.x||c.x>=f||c.endY<=b||
c.y>=l)}else c=!1;if(c){a:{c=e.g[a];for(d=0;d<e.f.length;d++)if(e.f[d].u(c)){c=!
0;break a}c=!1}c=!c}c&&(M(e,'obstructed'),e.f.push(e.g[a]))}Ma(e)}else
M(e,'notFound');return e}
function Pa(a,b,c,d){var e=b.isCreative?!0:b.adSessionId===d;if(e){c.b=b;var
f=J(c.b);a=Ka(c.c,f);La(a,f)&&M(c,'clipped');c.a=new F(a,!1)}else if(f=!0,b.a&&(f=-
1!==b.isFriendlyObstructionFor.indexOf(d)?!1:!1===b.clipsToBounds),f)for(var
l=b.childViews,g=0;g<l.length;g++)f=!!c.b,Pa(a,new F(l[g],f),c,d);!e&&c.b&&(b.a?-1!
==b.isFriendlyObstructionFor.indexOf(d)||c.g.push(b):
(e=J(b),d=J(c.a),I(c.a),a=c.a,0!==a.width&&0!
==a.height&&b.clipsToBounds&&(b=Ka(d,e),La(b,d)&&(M(c,'clipped'),c.a=new F(b,!
1)))))}
;function Qa(){return{apiVersion:'1.0',accessMode:'limited',omidJsInfo:
{omidImplementer:'omsdk',serviceVersion:'1.1.3-iab493'}}}function Ra()
{this.adSessionId=null;this.c=Qa();this.j='foregrounded';this.b=this.a='none';this.
i=this.g=this.f=this.A=this.B=this.l=null;this.m=!0}var O;function P(){O||(O=new
Ra);return O};function Sa(a,b)
{this.b=a;this.c=b}k.Object.defineProperties(Sa.prototype,{a:{configurable:!
0,enumerable:!0,get:function(){return this.b}},origin:{configurable:!0,enumerable:!
0,get:function(){return this.c}}});function Ta()
{this.b=[];this.c=[];this.g=[];this.h=[];this.f={};this.a=P()}function Ua(a)
{a.b=[];a.c=[];a.g=[];a.h=[];a.f={};O.adSessionId=null;O.c=Qa();O.v=void 0;O.w=void
0;O.h=null;O.s=null;O.C=null;O.j='foregrounded';O.a='none';O.b='none';O.l=null;O.B=
null;O.A=null;O.f=null;O.g=null;O.i=null;O.m=!0}function Va(a,b){!1!
==Wa(b)&&a.g.filter(function(a){return a.type===b.a.type}).forEach(function(c)
{return a.i(c.o,b.a)})}
function Xa(a,b,c){a.b.filter(function(a){return
a.a.type===b&&Wa(a)}).map(function(a){return a.a}).forEach(c)}function Wa(a){var
b=a.a.type,c=-1!==Object.values(t).indexOf(b)&&'volumeChange'!
==b;return'impression'===b?a.origin===P().b:c?a.origin===P().a:!0}function
Ya(a,b,c){'video'===b?Za(a,c):(a.g.push({type:b,o:c}),Xa(a,b,c))}function Za(a,b)
{Object.keys(t).forEach(function(c){c=t[c];a.g.push({type:c,o:b});Xa(a,c,b)})}
function $a(a,b,c){a.h.push({R:c,o:b});a.c.forEach(function(d){var
e=ab(d);'sessionStart'===d.a.type&&(e.data.verificationParameters=c&&a.f[c]);a.i(b,
e)})}function bb(a){return a.b.some(function(a){return'impression'===a.a.type})||
a.c.some(function(a){return'impression'===a.a.type})}function Q(a,b,c){var
d=S(a,'sessionError','native',
{errorType:b,message:c});a.c.push(d);a.h.forEach(function(b){a.i(b.o,d.a)})}
function cb(a,b){a.f=Object.assign(a.f,b);if(b=a.a.c){var
c=S(a,'sessionStart','native',{context:b});a.c.push(c);a.h.forEach(function(b){var
d=b.o,f=ab(c);b=b.R;f.data.verificationParameters=b&&a.f[b];a.i(d,f)},a)}}function
db(a){var
b=a.h,c=S(a,'sessionFinish','native');a.c.push(c);Ua(a);b.forEach(function(b)
{return a.i(b.o,c.a)})}Ta.prototype.i=function(a,b){for(var
c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];try{a.apply(null,
[].concat(r(c)))}catch(e){Ba(e)}};
function eb(a,b){var c=a.a.A;var d=(d=P().h)?L(d).viewport:void 0;var e=(e=P().h)?
L(e).adView:void 0;b=S(a,'impression',b,
{mediaType:c,viewport:d,adView:e});a.b.push(b);Va(a,b)}function fb(a,b,c,d)
{'start'!==b&&'volumeChange'!==b||null!=(d&&d.deviceVolume)||
(d.deviceVolume=a.a.l);'start'!==b&&'volumeChange'!==b||
null==(d&&d.videoPlayerVolume)||
(a.a.B=d.videoPlayerVolume);b=S(a,b,c,d);a.b.push(b);Va(a,b)}
function gb(a,b){var c=a.g.filter(function(a)
{return'loaded'===a.type}).map(function(a){return a.o}),d=a.b.filter(function(a)
{return'loaded'===a.a.type&&a.origin===b}).map(function(a){return
a.a});c.forEach(function(a){d.forEach(a)})}function hb(a,b){return'none'!
==a.a.b&&a.a.b!==b?(C('Impression event is owned by '+(a.a.b+', not '+b+'.')),!1):!
0}function ib(a,b){return'none'!==a.a.a&&a.a.a!==b?(C('Video events are owned by '+
(a.a.a+', not '+b+'.')),!1):!0}
function S(a,b,c,d){return new Sa({adSessionId:a.a.adSessionId||'',timestamp:(new
Date).getTime(),type:b,data:d},c)}function ab(a)
{a=a.a;return{adSessionId:a.adSessionId,timestamp:a.timestamp,type:a.type,data:a.da
ta}};function jb(a,b,c){'container'===b&&void 0!==a.a.v&&a.a&&null!
=a.a.adSessionId&&(a.a.h=Oa(a.b,a.a.v,a.a.j,a.a.adSessionId));'creative'===b&&a.a.w
&&(a.a.s=Oa(a.b,a.a.w,a.a.j,a.a.adSessionId));if(a.a.h)if(a.a.s){b=new Ia(0);var
d=a.a.h,e=a.a.s,f=d.i,l=d.b,g=d.a,m=e.b;e=e.a;f&&l&&g&&m&&e&&(Ja(b,f),b.j=new F(l,!
1),b.l=new F(g,!
1),b.g=Object.assign([],d.g),b.f=Object.assign([],d.f),b.h=Object.assign([],d.h),d=
b.j.x,f=b.j.y,m=new F(m,!1),e=new F(e,!1),Fa(m,d,f),Fa(e,d,f),b.b=m,b.a=Ka(e,g),-
1===b.h.indexOf('backgrounded')&&
Ma(b))}else b=a.a.h;else b=null;g=a.a.C;if(b&&!b.u(g)||
c)g=L(b),c&&(g.adView.reasons=g.adView.reasons||
[c]),c=a.c,g=S(c,'geometryChange','native',
{viewport:g.viewport,adView:g.adView}),c.b.push(g),Va(c,g),a.a.C=b};function
lb(a,b,c){this.i=a;this.v=b;this.j=c;this.c=P();this.b=null;this.a=this.g=void
0;this.m=!0;T(this)}function T(a){if(!a.b){var b;a:
{if((b=a.i.document)&&b.getElementsByClassName&&(b=b.getElementsByClassName('omid-
element'))){if(1==b.length){b=b[0];break a}1<b.length&&a.m&&(Q(a.j,'generic',"More
than one element with 'omid-element' class name."),a.m=!
1)}b=null}b&&(b.tagName&&'video'===b.tagName.toLowerCase()?a.c.g=b:a.c.f=b,mb(a))}}
function mb(a){a.c.g?
(a.b=a.c.g,a.h()):a.c.f&&(a.b=a.c.f,'iframe'===a.b.tagName.toLowerCase()?
a.c.i&&a.h():a.h())}function nb(a)
{if(a.a&&a.g)if(a.b.tagName&&'iframe'===a.b.tagName.toLowerCase()){if(a.c.i)
{a:if(a.c.i){var b=new F(a.c.i,!1);Fa(b,a.a.x,a.a.y);b.clipsToBounds=!
0;b.isCreative=!0;for(var c=0;c<a.a.childViews.length;c+
+)if(a.a.childViews[c].isCreative){a.a.childViews[c]=b;break
a}a.a.childViews.push(b)}ob(a)}}else a.a.isCreative=!0,ob(a)}function ob(a)
{a.c.w=a.g;jb(a.v,'creative')};function pb(a,b,c){return qb(a,'setInterval')
(b,c)}function rb(a,b){qb(a,'clearInterval')(b)}function sb(a,b)
{qb(a,'clearTimeout')(b)}function qb(a,b){return a.a&&a.a[b]?a.a[b]:tb(a,b)}
function ub(a,b,c,d){if(a.a.document&&a.a.document.body){var
e=a.a.document.createElement('img');e.width=1;e.height=1;e.style.display='none';e.s
rc=b;c&&e.addEventListener('load',function(){return
c()});d&&e.addEventListener('error',function(){return
d()});a.a.document.body.appendChild(e)}else tb(a,'sendUrl')(b,c,d)}function tb(a,b)
{if(a.a&&a.a.omidNative&&a.a.omidNative[b])return
a.a.omidNative[b].bind(a.a.omidNative);throw Error('Native interface method "'+b+'"
not found.');};function vb(a,b,c,d){lb.call(this,a,b,d);this.f=void
0;this.l=c}q(vb,lb);vb.prototype.s=function(){void 0!
==this.f&&(rb(this.l,this.f),this.f=void 0)};vb.prototype.h=function(){var
a=this;this.b?void 0===this.f&&(this.f=pb(this.l,function(){return
wb(a)},200),wb(this)):this.f=void 0};
function wb(a){if(void 0!==a.f){var b=new F(new
Da(a.i.innerWidth,a.i.innerHeight),!1),c=a.b.getBoundingClientRect();if(null==c.x||
isNaN(c.x))c.x=c.left;if(null==c.y||isNaN(c.y))c.y=c.top;c=new F(c,!
1);b.u(a.g)&&c.u(a.a)||(a.a=c,a.a.clipsToBounds=!
0,a.g=b,a.g.childViews.push(a.a),nb(a))}};function xb(a,b,c)
{lb.call(this,a,b,c);this.f=void 0}q(xb,lb);xb.prototype.s=function()
{this.f&&this.b&&this.f.unobserve(this.b)};xb.prototype.h=function(){this.b&&!
this.f&&(this.f=yb(this),this.f.observe(this.b))};
function yb(a){return new a.i.IntersectionObserver(function(b){try{if(b.length)
{for(var c=b[0],d=1;d<b.length;d++)b[d].time>c.time&&(c=b[d]);b=c;a.g=new
F(b.rootBounds,!1);a.a=new F(b.boundingClientRect,!1);a.a.clipsToBounds=!
0;a.g.childViews.push(a.a);nb(a)}}catch(e){a.s(),Q(a.j,'generic','Problem handling
IntersectionObserver callback: '+e.message)}},
{root:null,rootMargin:'0px',threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]})};function
U(a){return'string'===typeof a}function V(a){return'object'===typeof a}function
zb(a){return'number'===typeof a&&!isNaN(a)&&0<=a}function W(a,b){return U(a)&&-1!
==Object.values(b).indexOf(a)};function X(a,b,c,d,e)
{this.b=a;this.f=b;this.g=c;this.c=e;this.a=P()}h=X.prototype;
h.H=function(a){if(a&&V(a)&&W(a.impressionOwner,na)&&(!('videoEventsOwner'in
a&&null!=a.videoEventsOwner)||W(a.videoEventsOwner,na))){var
b=a.videoEventsOwner;this.a.A=null==b||'none'===b?'display':'video';a&&null!
=a.isolateVerificationScripts&&'boolean'===typeof
a.isolateVerificationScripts&&(this.a.m=a.isolateVerificationScripts);b=this.b;var
c=a.impressionOwner;a=a.videoEventsOwner;bb(b)?C('Impression event has occcured
before the event owners have been registered.'):(b.a.b!==c&&'none'===b.a.b&&
(b.a.b=c),b.a.a!==a&&'none'===b.a.a&&(b.a.a=a),gb(b,a))}};
h.P=function(a,b,c){var d;if(d=V(b))
{if(d=W(b.environment,pa)&&W(b.adSessionType,ma))d=b.omidNativeInfo,d=V(d)?
U(d.partnerName)&&U(d.partnerVersion):!1;d&&(d=b.app,d=V(d)?
U(d.libraryVersion)&&U(d.appId):!1)}d&&(this.a.adSessionId=a,a=b,b=this.a.c||
{},a.omidJsInfo=Object.assign({},b.omidJsInfo||{},a.omidJsInfo||
{}),b=a=Object.assign({},b,a),this.a.m||(this.a.g?
(b.videoElement=this.a.g,b.accessMode='full'):this.a.f&&(b.slotElement=this.a.f,b.a
ccessMode='full')),this.a.c=a,cb(this.b,c),this.c&&T(this.c))};
h.G=function(){db(this.b)};h.N=function(a)
{V(a)&&zb(a.x)&&zb(a.y)&&zb(a.width)&&zb(a.height)&&(this.a.v=a,jb(this.f,'containe
r'))};h.O=function(a){W(a,oa)&&(this.a.j=a,'backgrounded'===a?
jb(this.f,'container','backgrounded'):jb(this.f,'container'))};h.L=function(a)
{'impression'===a&&(this.D(),this.c&&T(this.c))};h.D=function()
{hb(this.b,'native')&&eb(this.b,'native')};h.error=function(a,b)
{W(a,la)&&Q(this.b,a,b)};
h.I=function(a,b){ib(this.b,'native')&&W(a,t)&&(void 0===b||
V(b))&&fb(this.b,a,'native',b)};h.M=function(a){if('none'!
==this.b.a.a&&'number'===typeof a&&!isNaN(a)){this.a.l=a;a=this.g;var b=a.a.B;null!
=b&&fb(a.b,'volumeChange','native',
{videoPlayerVolume:b,deviceVolume:a.a.l})}};X.prototype.startSession=X.prototype.P;
X.prototype.error=X.prototype.error;X.prototype.finishSession=X.prototype.G;X.proto
type.publishAdEvent=X.prototype.L;X.prototype.publishImpressionEvent=X.prototype.D;
X.prototype.publishVideoEvent=X.prototype.I;X.prototype.setNativeViewHierarchy=X.pr
ototype.N;X.prototype.setState=X.prototype.O;X.prototype.setDeviceVolume=X.prototyp
e.M;X.prototype.init=X.prototype.H;function Ab(a,b,c){var d=this;c=c?
c:v;this.b=a;this.a=b;this.i=c;this.h=new z;c.omid=c.omid||
{};c.omid.v1_SessionServiceCommunication=this.h;this.f=null;c&&c.addEventListener&&
c.postMessage&&(this.f=new
E(c));this.h.a=this.J.bind(this);this.f&&(this.f.a=this.K.bind(this));this.c=[];thi
s.g=!1;Bb(this,function(a){return Cb(d,a)})}function Bb(a,b){$a(a.b,b)}function
Db(a,b){P().f=b;a.a&&mb(a.a)}function Eb(a,b){P().g=b;a.a&&mb(a.a)}function Fb(a,b)
{P().i=b;a.a&&mb(a.a);a.a&&nb(a.a)}h=Ab.prototype;
h.error=function(a,b){Q(this.b,a,b)};function Gb(a)
{hb(a.b,'javascript')&&(eb(a.b,'javascript'),a.a&&T(a.a))}h.loaded=function(a){var
b={skippable:a.isSkippable,autoPlay:a.isAutoPlay,position:a.position};a.isSkippable
&&(b.skipOffset=a.skipOffset);fb(this.b,'loaded','javascript',b);this.a&&T(this.a)}
;h.start=function(a,b){Y(this,'start',
{duration:a,videoPlayerVolume:b});this.a&&T(this.a)};
function Hb(a){if(a.g&&a.c.length){var b=a.c;if(a.i&&'undefined'!==typeof
a.i.document)for(var c=P().m,d=0;d<b.length;d++){var
e=b[d],f=d,l=e.resourceUrl,g=a.i.document,m=g.createElement('iframe');c&&(m.sandbox
='allow-scripts');m.id='omid-verification-script-
frame-'+f;m.style.display='none';m.srcdoc='<html><head>'+('<script
type="text/javascript" src="'+l+'">\x3c/script>')
+'</head><body></body></html>';g.body.appendChild(m);f=e.vendorKey;e=e.verification
Parameters;f=void 0===f?'':f;e=void 0===e?'':
e;f&&'string'===typeof f&&''!==f&&e&&'string'===typeof e&&''!==e&&(a.b.f[f]=e)}else
C('OMID Session Client is not running within a window');a.c=[]}}function Ib(a){var
b=P().c.omidJsInfo;a(b.serviceVersion)}function Cb(a,b)
{'sessionStart'===b.type&&(a.g=!0,Hb(a));'sessionFinish'===b.type&&(a.g=!
1,Bb(a,function(b){return Cb(a,b)}))}function Jb(a,b,c){var d=P().c||
{};d.omidJsInfo=Object.assign({},d.omidJsInfo,
{sessionClientVersion:a,partnerName:b,partnerVersion:c});P().c=d}
function Y(a,b,c){'javascript'===P().a&&fb(a.b,b,'javascript',c)}h.K=function(a,b)
{Kb(this,a,b,this.f)};h.J=function(a,b){Kb(this,a,b,this.h)};
function Kb(a,b,c,d){function e(a){for(var b=[],e=0;e<arguments.length;++e)b[e-
0]=arguments[e];b=new u(f,'response',g,ia(g)&&ja(g)?
b:JSON.stringify(b));d.sendMessage(b,c)}var
f=b.b,l=b.method,g=b.version;b=ka(g,b.a);try{switch(l){case
'SessionService.registerAdEvents':hb(a.b,'javascript');break;case
'SessionService.registerVideoEvents':ib(a.b,'javascript');break;case
'SessionService.registerSessionObserver':Bb(a,e);break;case
'SessionService.setSlotElement':var m=p(b).next().value;Db(a,m);break;case
'SessionService.setVideoElement':var N=
p(b).next().value;Eb(a,N);break;case 'SessionService.setElementBounds':var
x=p(b).next().value;Fb(a,x);break;case
'SessionService.impressionOccurred':Gb(a);break;case 'SessionService.loaded':var
A=p(b).next().value;a.loaded(A);break;case 'SessionService.start':var
G=p(b),H=G.next().value,B=G.next().value;a.start(H,B);break;case
'SessionService.firstQuartile':Y(a,'firstQuartile');break;case
'SessionService.midpoint':Y(a,'midpoint');break;case
'SessionService.thirdQuartile':Y(a,'thirdQuartile');break;
case 'SessionService.complete':Y(a,'complete');break;case
'SessionService.pause':Y(a,'pause');break;case
'SessionService.resume':Y(a,'resume');break;case
'SessionService.bufferStart':Y(a,'bufferStart');break;case
'SessionService.bufferFinish':Y(a,'bufferFinish');break;case
'SessionService.skipped':Y(a,'skipped');break;case
'SessionService.volumeChange':var w=p(b).next().value;Y(a,'volumeChange',
{videoPlayerVolume:w});break;case 'SessionService.playerStateChange':var
va=p(b).next().value;Y(a,'playerStateChange',
{state:va});break;case 'SessionService.adUserInteraction':var
wa=p(b).next().value;Y(a,'adUserInteraction',{interactionType:wa});break;case
'SessionService.setClientInfo':var
R=p(b),xa=R.next().value,ya=R.next().value,y=R.next().value;Jb(xa,ya,y);Ib(e);break
;case 'SessionService.injectVerificationScriptResources':var
Rb=p(b).next().value;a.c.push.apply(a.c,[].concat(r(Rb)));Hb(a);break;case
'SessionService.sessionError':var
kb=p(b),Sb=kb.next().value,Tb=kb.next().value;a.error(Sb,Tb)}}catch(D)
{d.sendMessage(new u(f,
'error',g,'\n name: '+D.name+'\n message: '+D.message+'\n
filename: '+D.filename+'\n lineNumber: '+D.lineNumber+'\n
columnNumber: '+D.columnNumber+'\n stack: '+D.stack+'\n
toString(): '+D.toString()+'\n '),c)}};function Lb(a,b,c){c=c?
c:v;this.g=a;this.a=b;this.h={};this.f={};this.c=new z;c.omid=c.omid||
{};c.omid.v1_VerificationServiceCommunication=this.c;this.b=null;c&&c.addEventListe
ner&&c.postMessage&&(this.b=new
E(c));this.c.a=this.i.bind(this);this.b&&(this.b.a=this.j.bind(this))}function
Mb(a,b,c,d){ub(a.a,b,c,d)}function Nb(a,b,c,d){tb(a.a,'downloadJavaScriptResource')
(b,c,d)}Lb.prototype.j=function(a,b)
{this.b&&Ob(this,a,b,this.b)};Lb.prototype.i=function(a,b){Ob(this,a,b,this.c)};
function Ob(a,b,c,d){function e(a){for(var b=[],e=0;e<arguments.length;++e)b[e-
0]=arguments[e];b=new u(f,'response',g,ia(g)&&ja(g)?
b:JSON.stringify(b));d.sendMessage(b,c)}var
f=b.b,l=b.method,g=b.version;b=ka(g,b.a);try{switch(l){case
'VerificationService.addEventListener':var
m=p(b).next().value;Ya(a.g,m,e);break;case
'VerificationService.addSessionListener':var N=p(b).next().value;
$a(a.g,e,N);break;case 'VerificationService.sendUrl':var
x=p(b).next().value;Mb(a,x,function(){return e(!0)},function(){return e(!1)});
break;case 'VerificationService.setTimeout':var
A=p(b),G=A.next().value,H=A.next().value;a.h[G]=qb(a.a,'setTimeout')
(e,H);break;case 'VerificationService.clearTimeout':var
B=p(b).next().value;sb(a.a,a.h[B]);break;case 'VerificationService.setInterval':var
w=p(b),va=w.next().value,wa=w.next().value;a.f[va]=pb(a.a,e,wa);break;case
'VerificationService.clearInterval':var
R=p(b).next().value;rb(a.a,a.f[R]);break;case
'VerificationService.injectJavaScriptResource':var
xa=p(b).next().value;Nb(a,xa,function(a){return e(!0,
a)},function(){return e(!1)});break;case
'VerificationService.getVersion':p(b).next();var
ya=P().c.omidJsInfo;e(ya.serviceVersion)}}catch(y){d.sendMessage(new
u(f,'error',g,'\n name: '+y.name+'\n message:
'+y.message+'\n filename: '+y.filename+'\n lineNumber:
'+y.lineNumber+'\n columnNumber: '+y.columnNumber+'\n
stack: '+y.stack+'\n toString(): '+y.toString()+'\n
'),c)}};var Z=new Ta,Pb=new function(){var a;this.a=a=void 0===a?omidGlobal:a};new
Lb(Z,Pb);var Qb=new function(){var a=new Na;this.c=Z;this.b=a;this.a=P()},Ub=v?
v.IntersectionObserver?new xb(v,Qb,Z):new vb(v,Qb,Pb,Z):null;new
Ab(Z,Ub);v.omidBridge=new X(Z,Qb,new function(){var a=P();this.b=Z;this.a=a},new
function(){},Ub);if(v.frames&&v.document&&!('omid_v1_present'in v.frames)){var
Vb;if(Vb=!v.document.body)Vb='MutationObserver'in v;Vb?za():v.document.body?
ua(v):v.document.write('<iframe style="display:none" id="omid_v1_present"
name="omid_v1_present"></iframe>')};
}).call(this, this);

1554818372731 com.nazara.tinylabproductions.oggy executing q...


1554818372731 com.nazara.tinylabproductions.oggy Successfully downloaded VPAID HTML

1554818372732 com.nazara.tinylabproductions.oggy executing t...

1554818372732 com.nazara.tinylabproductions.oggy Successfully downloaded OM JS

1554818372732 com.nazara.tinylabproductions.oggy Checking array data


[{"network_id":31,"event":2,"count":2}] after encoding %5B%7B%22network_id
%22%3A31%2C%22event%22%3A2%2C%22count%22%3A2%7D%5D

1554818372733 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155481837273322d09d9c8535860dbe79c66456b12c9f

1554818372734 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155481837273322d09d9c8535860dbe79c66456b12c9f

1554818372735 com.nazara.tinylabproductions.oggy md5_token id


ca188dff37d95dd90ad548d0a13d1812

1554818372735 com.nazara.tinylabproductions.oggy md5_token id


ca188dff37d95dd90ad548d0a13d1812

1554818372737 com.nazara.tinylabproductions.oggy 360 POKKT SDK not found

1554818372739 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155481837273822d09d9c8535860dbe79c66456b12c9f

1554818372740 com.nazara.tinylabproductions.oggy md5_token id


56307e329bda25f45988a60aa722c016

1554818372763 com.nazara.tinylabproductions.oggy t Request url:


https://vdo.pokkt.com/api/sessionTracker/trackV2? parameters :
timestamp=1554818372733&gdpr_applicable=false&gdpr_consent=true&udid=6254babc-98e5-
42b8-a1a9-9af626a79056&token=ca188dff37d95dd90ad548d0a13d1812&stat=%7B%22s_id%22%3A
%22ba83b946-85bc-43aa-95ce-aa7a69596d61%22%2C%22s_ct%22%3A1553880777359%2C%22s_lt
%22%3A1553880777359%2C%22s_et%22%3A-1%2C%22s_d%22%3A0%2C%22s_tvc%22%3A0%2C%22s_pe
%22%3A0%2C%22s_pc%22%3A0%2C%22s_pp
%22%3A0%7D&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32
&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID
=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-89c821aebfbd

1554818372763 com.nazara.tinylabproductions.oggy q Request url:


https://vdo.pokkt.com/api/NetworkEventTrackerV2? parameters :
timestamp=1554818372733&gdpr_applicable=false&gdpr_consent=true&udid=6254babc-98e5-
42b8-a1a9-
9af626a79056&token=ca188dff37d95dd90ad548d0a13d1812&network_event_count=[{"network_
id":31,"event":2,"count":2}]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.
0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7
.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-89c821aebfbd

1554818372778 com.nazara.tinylabproductions.oggy d Request url:


https://vdo.pokkt.com/api/AdRequestV2?
network_id=31&ad_format=0&response_format=1&resolution=1&screen=screen&offerids=0&a
ppId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&androidID=&app_version=1.32&
device_id=&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&adv
ertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=Wifi&swidth=20
40&sheight=1080&carrier_name=Ufone&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n=
&ip=119.160.68.214&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=1554818372738&page=1&token=56307e329bda25f45988a60aa722c016&mac_ad
dress=&mobile_no=&email_address=&screen_density_x=409.432&screen_density_y=406.4&sc
reen_density_category=XXHDPI&maturity_rating=&asset_value=&pub_meta=&source=&name=&
age=&sex=&location=&marital_status=&birthday=&facebook_id=&twitter_handle=&educatio
n=&nationality=&latitude=&longitude=&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd&incent=1&preroll=1&udid=6254babc-98e5-42b8-a1a9-
9af626a79056&battery_level=52&encodedPubParams=&vdo_pt=0&gdpr_applicable=false&gdpr
_consent=true

1554818373021 com.nazara.tinylabproductions.oggy t response:


{"status":1,"message":"success","response":{}}

1554818373022 com.nazara.tinylabproductions.oggy executing q...

1554818373023 com.nazara.tinylabproductions.oggy Checking array data [] after


encoding %5B%5D

1554818373024 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155481837302322d09d9c8535860dbe79c66456b12c9f

1554818373024 com.nazara.tinylabproductions.oggy removing session with id:


ba83b946-85bc-43aa-95ce-aa7a69596d61

1554818373025 com.nazara.tinylabproductions.oggy saving session-details...

1554818373027 com.nazara.tinylabproductions.oggy md5_token id


20fd16520adca921caed3be005511bcc

1554818373050 com.nazara.tinylabproductions.oggy q Request url:


https://vdo.pokkt.com/api/NetworkEventTrackerV2? parameters :
timestamp=1554818373023&gdpr_applicable=false&gdpr_consent=true&udid=6254babc-98e5-
42b8-a1a9-
9af626a79056&token=20fd16520adca921caed3be005511bcc&network_event_count=[]&appId=51
1374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=co
m.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-89c821aebfbd

1554818373272 com.nazara.tinylabproductions.oggy f response: <html>


<head>
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/style.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/video-js.min.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ads.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ima.css" />
</head>
<body>
<div id="pokkt-ima-adcontainer" class="pokkt-ima-adcontainer">
<div id="pokkt-ima-videoplayer" class="pokkt-ima-videoplayer">
<video id="pokkt-video-ad" class="video-js vjs-default-skin vjs-fullscreen
pokkt-video-ad" autoplay preload="auto" playsinline
poster="https://pokktjs.pokkt.com/video-js-4.12/poster.png"></video>
</div>
</div>

<script src="https://imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/video.min.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ads.min.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ima.js"></script>
<script type="text/javascript">
/**
* console logger
**/
(function() {
var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};

var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};

log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};

log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};

log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());

/**
* bridge
**/
(function() {
window.pokktNativeBridge = {};
window.pokktNativeBridge.notifyNative = function(operation, params) {
log.i('notifying native of: ' + operation + ' , with params: ' + params);

var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "pokktbridge://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};
} ());

/**
* POKKT-IMA Wrapper
**/
var PokktIMAWrapper = function(debugEnabled) {
log.i('preparing ima wrapper for pokkt...');

this.player = videojs('pokkt-video-ad');
this.player.fluid(true);

// Remove controls from the player on iPad to stop native controls from
stealing our click
if (navigator.userAgent.match(/iPad/i) ||
navigator.userAgent.match(/Android/i)){
var contentPlayer = document.getElementById('content_video_html5_api');
if (contentPlayer != null && contentPlayer.hasAttribute('controls')) {
contentPlayer.removeAttribute('controls');
}

this.player.controls(false);
}

var options = {
debug: debugEnabled,
id: 'pokkt-video-ad',
autoPlayAdBreaks: false,
showControlsForJSAds: false,
vpaidMode: 'INSECURE',
disableCustomPlaybackForIOS10Plus: true,
adsManagerLoadedCallback: this.adsManagerLoadedCallback.bind(this)
};
this.player.ima(options);

this.player.ima.setAdBreakReadyListener(function(){
log.i('ad-break ready, attempting ad playback...');
this.player.ima.playAdBreak();
});

pokktNativeBridge.notifyNative('wrapperPrepared');
};

PokktIMAWrapper.prototype.initWithAdTag = function(adTag, isAdTagAUrl) {


log.i('initializing ima...');

this.player.ima.initializeAdDisplayContainer();

if (isAdTagAUrl) {
this.player.ima.setContentWithAdTag(null, adTag, false);
} else {
this.player.ima.setContentWithAdsResponse(null, adTag, false);
}

this.player.ima.requestAds();
};

PokktIMAWrapper.prototype.adsManagerLoadedCallback = function(event) {
log.i('ads-manager loaded, registering remaining listners...');

var events = [
google.ima.AdEvent.Type.AD_BREAK_READY,
google.ima.AdEvent.Type.AD_CAN_PLAY,
google.ima.AdEvent.Type.AD_METADATA,
google.ima.AdEvent.Type.ALL_ADS_COMPLETED,
google.ima.AdEvent.Type.CLICK,
google.ima.AdEvent.Type.COMPLETE,
google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,
google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,
google.ima.AdEvent.Type.DURATION_CHANGE,
google.ima.AdEvent.Type.EXPANDED_CHANGED,
google.ima.AdEvent.Type.FIRST_QUARTILE,
google.ima.AdEvent.Type.IMPRESSION,
google.ima.AdEvent.Type.INTERACTION,
google.ima.AdEvent.Type.LINEAR_CHANGED,
google.ima.AdEvent.Type.LOADED,
google.ima.AdEvent.Type.LOG,
google.ima.AdEvent.Type.MIDPOINT,
google.ima.AdEvent.Type.PAUSED,
google.ima.AdEvent.Type.RESUMED,
google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,
google.ima.AdEvent.Type.SKIPPED,
google.ima.AdEvent.Type.STARTED,
google.ima.AdEvent.Type.THIRD_QUARTILE,
google.ima.AdEvent.Type.USER_CLOSE,
google.ima.AdEvent.Type.VIEWABLE_IMPRESSION,
google.ima.AdEvent.Type.VOLUME_CHANGED,
google.ima.AdEvent.Type.VOLUME_MUTED,
google.ima.AdErrorEvent.Type.AD_ERROR
];
for (var index = 0; index < events.length; index++) {
log.i('registering listner for ' + events[index]);
this.player.ima.addEventListener(events[index],
this.onAdEvent.bind(this));
}

window.addEventListener('resize', this.onWindowResize.bind(this));
};

PokktIMAWrapper.prototype.onAdEvent = function(event) {
var message = 'Ad event: ' + event.type;
log.i(message);

// notify this event to native


window.pokktNativeBridge.notifyNative('adEvent', event.type);
};

PokktIMAWrapper.prototype.playAd = function() {
this.player.ima.playAdBreak();
};

PokktIMAWrapper.prototype.pauseAd = function() {
this.player.pause();
};

PokktIMAWrapper.prototype.onWindowResize = function() {
var adContainer = document.getElementById('pokkt-ima-adcontainer');
var videoElement = document.getElementById('pokkt-video-ad');
var adContainerWidth = adContainer.offsetWidth;
var videoHeight = videoElement.offsetHeight;

var adsManager = this.player.ima.getAdsManager();


if (adsManager) {
adsManager.resize(adContainerWidth, videoHeight,
google.ima.ViewMode.NORMAL);
}
};

function prepareIMA(debugEnabled) {
window.imaAds = new PokktIMAWrapper(debugEnabled);
}

function initIMAWithTag(adTag, isAdTagAUrl) {


window.imaAds.initWithAdTag(adTag, isAdTagAUrl);
}

function playAd() {
window.imaAds.playAd();
}

function pauseAd() {
window.imaAds.pauseAd();
}

</script>
</body>
</html>
1554818373278 com.nazara.tinylabproductions.oggy executing t...

1554818373278 com.nazara.tinylabproductions.oggy Successfully downloaded IMA HTML

1554818373280 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155481837327922d09d9c8535860dbe79c66456b12c9f

1554818373281 com.nazara.tinylabproductions.oggy md5_token id


6b23accb16cda5cc466091ca04315532

1554818373299 com.nazara.tinylabproductions.oggy t Request url:


https://vdo.pokkt.com/api/sessionTracker/trackV2? parameters :
timestamp=1554818373279&gdpr_applicable=false&gdpr_consent=true&udid=6254babc-98e5-
42b8-a1a9-9af626a79056&token=6b23accb16cda5cc466091ca04315532&stat=%7B%22s_id%22%3A
%22483f0e05-50a8-40da-a800-b39b8d2900c0%22%2C%22s_ct%22%3A1554469550305%2C%22s_lt
%22%3A1554469550305%2C%22s_et%22%3A-1%2C%22s_d%22%3A0%2C%22s_tvc%22%3A0%2C%22s_pe
%22%3A0%2C%22s_pc%22%3A0%2C%22s_pp
%22%3A0%7D&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32
&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID
=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=Wifi&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swi
dth=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RN
E-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=df21865a-743f-47ca-a4af-89c821aebfbd

1554818373821 com.nazara.tinylabproductions.oggy q response:


{"status":1,"message":"success","response":{}}

1554818373889 com.nazara.tinylabproductions.oggy d response: <?xml version="1.0"


encoding="UTF-8" ?><VAST version="2.0"></VAST>

1554818373955 com.nazara.tinylabproductions.oggy VAST element is present

1554818373962 com.nazara.tinylabproductions.oggy First element value: {} 2.0

1554818373968 com.nazara.tinylabproductions.oggy vast version ---- {} 2.0

1554818373978 com.nazara.tinylabproductions.oggy Ad element is absent

1554818373981 com.nazara.tinylabproductions.oggy Error Code 19 : No Campaign


Available Vast Error 303

1554818373994 com.nazara.tinylabproductions.oggy executing f...

1554818373996 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/pokktmraid/mraid.js

1554818374031 com.nazara.tinylabproductions.oggy q response:


{"status":1,"message":"success","response":{}}

1554818374032 com.nazara.tinylabproductions.oggy saving session-details...

1554818374038 com.nazara.tinylabproductions.oggy saving session-details...

1554818374337 com.nazara.tinylabproductions.oggy t response:


{"status":1,"message":"success","response":{}}
1554818374339 com.nazara.tinylabproductions.oggy removing session with id:
483f0e05-50a8-40da-a800-b39b8d2900c0

1554818374340 com.nazara.tinylabproductions.oggy saving session-details...

1554818374486 com.nazara.tinylabproductions.oggy f response: /**


* mraid.js
*
* (c) Pokkt
*
* Supports MRAID 3
**/

/**
* mraid functionalities
**/
(function() {
if (console.oldLog === undefined) {
console.oldLog = console.log;

console.log = function(log) {
if (console.oldLog !== undefined) {
console.oldLog(log);
}

// native console logger for ios


var isIOS = (/iphone|ipad|
ipod/i).test(window.navigator.userAgent.toLowerCase());
if (isIOS) {
var iframe = document.createElement("IFRAME");
iframe.setAttribute("src", "console-log://" + log);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
}
};
}

var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};

var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};

log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};

log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};

log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());

/**
* console logger
**/
(function() {
log.i("init mraid...");

/**
* globals
**/
var mraid = window.mraid = {};

var bridge = window.mraidBridge = {};

var mraidUtils = window.mraidUtils = {};

/**
* constants
**/
var VERSION = "3.0";

var SUPPORTED_FEATURES = mraid.SUPPORTED_FEATURES = {


"SMS" : "sms",
"TEL" : "tel",
"CALENDAR" : "calendar",
"STOREPICTURE" : "storePicture",
"INLINEVIDEO" : "inlineVideo",
"VPAID" : "vpaid",
"LOCATION" : "location"
};

var PLACEMENT_TYPE = mraid.PLACEMENT_TYPE = {


"INLINE" : "inline",
"INTERSTITIAL" : "interstitial",
"UNKNOWN" : "unknown"
};

var DEVICE_ORIENTATIONS = mraid.DEVICE_ORIENTATIONS = {


"PORTRAIT" : "portrait",
"LANDSCAPE" : "landscape",
"NONE" : "none"
};
var STATES = mraid.STATES = {
"LOADING" : "loading",
"DEFAULT" : "default",
"EXPANDED" : "expanded",
"RESIZED" : "resized",
"HIDDEN" : "hidden"
};

var CUSTOM_CLOSE_POSITION = mraid.CUSTOM_CLOSE_POSITION = {


"TOP_LEFT" : "top-left",
"TOP_CENTER" : "top-center",
"TOP_RIGHT" : "top-right",
"CENTER" : "center",
"BOTTOM_LEFT" : "bottom-left",
"BOTTOM_CENTER" : "bottom-center",
"BOTTOM_RIGHT" : "bottom-right"
};

var LOCATION_PROVIDER_TYPES = mraid.LOCATION_PROVIDER_TYPES = {


"GPS" : 1,
"IP" : 2,
"USER" : 3
};

var EVENTS = mraid.EVENTS = {


"ERROR" : "error",
"READY" : "ready",
"SIZECHANGE" : "sizeChange",
"STATECHANGE" : "stateChange",
"VIEWABLECHANGE" : "viewableChange",
"EXPOSURECHANGE" : "exposureChange",
"AUDIOVOLUMECHANGE" : "audioVolumeChange"
};

/**
* states
**/
var supportedFeatures = {};

var placementType = PLACEMENT_TYPE.UNKNOWN;

var state = STATES.LOADING;

var isViewable = false;

var volumePercentage = 1.0;

var isResizeReady = false;

var eventListeners = {};

var orientationProperties = {
"allowOrientationChange" : true,
"forceOrientation" : DEVICE_ORIENTATIONS.NONE
};

var currentAppOrientation = {
"orientation" : DEVICE_ORIENTATIONS.NONE,
"locked" : false
};

var currentPosition = {
"x" : 0,
"y" : 0,
"width" : 0,
"height" : 0
};

var defaultPosition = {
"x" : 0,
"y" : 0,
"width" : 0,
"height" : 0
};

var expandProperties = {
"width" : 0,
"height" : 0,
"useCustomClose" : false,
"isModal" : true
};

var maxSize = {
"width" : 0,
"height" : 0
};

var screenSize = {
"width" : 0,
"height" : 0
};

var resizeProperties = {
"width" : 0,
"height" : 0,
"offsetX" : 0,
"offsetY" : 0,
"customClosePosition" : CUSTOM_CLOSE_POSITION.TOP_RIGHT,
"allowOffscreen" : true
};

var locationData = {
"lat" : 0.0,
"lon" : 0.0,
"type" : LOCATION_PROVIDER_TYPES.GPS,
"accuracy" : 0.0,
"lastfix" : 0,
"ipservice" : ""
};

var exposureProperties = {
"exposedPercentage" : 0,
"visibleRectangle" : {},
"occlusionRectangles" : null // not used in this version
};
//\\//\\//\\//\\//\\//\\//\\// BRIDGE \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: mraid-native bridge...");

var notifyNative = bridge.notifyNative = function(operation, params) {


var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "mraid://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};

bridge.setSupportedFeature = function(feature, isSupported) {


supportedFeatures[feature] = isSupported;
};

bridge.setPlacementType = function(pt) {
placementType = pt;
};

bridge.setCurrentAppOrientation = function(orientation, locked) {


currentAppOrientation.orientation = orientation;
currentAppOrientation.locked = locked;
};

bridge.setCurrentPosition = function(x, y, width, height) {


var previousSize = {};
previousSize.width = currentPosition.width;
previousSize.height = currentPosition.height;
//log.i("previousSize " + previousSize.width + "," + previousSize.height);

currentPosition.x = x;
currentPosition.y = y;
currentPosition.width = width;
currentPosition.height = height;

if (width !== previousSize.width || height !== previousSize.height) {


mraid.fireSizeChangeEvent(width, height);
}
};

bridge.setDefaultPosition = function(x, y, width, height) {


defaultPosition.x = x;
defaultPosition.y = y;
defaultPosition.width = width;
defaultPosition.height = height;
};

bridge.setMaxSize = function(width, height) {


maxSize.width = width;
maxSize.height = height;

// FIXME: do we need a separate method for this??


expandProperties.width = width;
expandProperties.height = height;
};
bridge.setScreenSize = function(width, height) {
screenSize.width = width;
screenSize.height = height;
};

bridge.setLocation = function(lat, lon, type, accuracy, lastfix, ipservice) {


locationData.lat = lat;
locationData.lon = lon;
locationData.type = type;
locationData.accuracy = accuracy;
locationData.lastfix = lastfix;
locationData.ipservice = ipservice;
};

//\\//\\//\\//\\//\\//\\//\\// UTILS \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: utilities...");

var contains = mraidUtils.containsInArray = function(value, array) {


for (var i in array) {
if (array[i] === value)
return true;
}
return false;
};

var resizeUtil = {};


resizeUtil.isCloseRegionOnScreen = function(properties) {
log.d("isCloseRegionOnScreen");
log.d("defaultPosition " + defaultPosition.x + " " + defaultPosition.y);
log.d("offset " + properties.offsetX + " " + properties.offsetY);

var resizeRect = {};


resizeRect.x = defaultPosition.x + properties.offsetX;
resizeRect.y = defaultPosition.y + properties.offsetY;
resizeRect.width = properties.width;
resizeRect.height = properties.height;
resizeUtil.printRect("resizeRect", resizeRect);

var customClosePosition =
properties.hasOwnProperty("customClosePosition") ?
properties.customClosePosition : resizeProperties.customClosePosition;
log.d("customClosePosition " + customClosePosition);

var closeRect = { "width": 50, "height": 50 };

if (customClosePosition.search("left") !== -1) {


closeRect.x = resizeRect.x;
} else if (customClosePosition.search("center") !== -1) {
closeRect.x = resizeRect.x + (resizeRect.width / 2) - 25;
} else if (customClosePosition.search("right") !== -1) {
closeRect.x = resizeRect.x + resizeRect.width - 50;
}

if (customClosePosition.search("top") !== -1) {


closeRect.y = resizeRect.y;
} else if (customClosePosition === "center") {
closeRect.y = resizeRect.y + (resizeRect.height / 2) - 25;
} else if (customClosePosition.search("bottom") !== -1) {
closeRect.y = resizeRect.y + resizeRect.height - 50;
}

var maxRect = { "x": 0, "y": 0 };


maxRect.width = maxSize.width;
maxRect.height = maxSize.height;

return resizeUtil.isRectContained(maxRect, closeRect);


};

resizeUtil.fitResizeViewOnScreen = function(properties) {
log.d("fitResizeViewOnScreen");
log.d("defaultPosition " + defaultPosition.x + " " + defaultPosition.y);
log.d("offset " + properties.offsetX + " " + properties.offsetY);

var resizeRect = {};


resizeRect.x = defaultPosition.x + properties.offsetX;
resizeRect.y = defaultPosition.y + properties.offsetY;
resizeRect.width = properties.width;
resizeRect.height = properties.height;
resizeUtil.printRect("resizeRect", resizeRect);

var maxRect = { "x": 0, "y": 0 };


maxRect.width = maxSize.width;
maxRect.height = maxSize.height;

var adjustments = { "x": 0, "y": 0 };

if (resizeUtil.isRectContained(maxRect, resizeRect)) {
log.d("no adjustment necessary");
return adjustments;
}

if (resizeRect.x < maxRect.x) {


adjustments.x = maxRect.x - resizeRect.x;
} else if ((resizeRect.x + resizeRect.width) > (maxRect.x + maxRect.width))
{
adjustments.x = (maxRect.x + maxRect.width) - (resizeRect.x +
resizeRect.width);
}
log.d("adjustments.x " + adjustments.x);

if (resizeRect.y < maxRect.y) {


adjustments.y = maxRect.y - resizeRect.y;
} else if ((resizeRect.y + resizeRect.height) > (maxRect.y +
maxRect.height)) {
adjustments.y = (maxRect.y + maxRect.height) - (resizeRect.y +
resizeRect.height);
}
log.d("adjustments.y " + adjustments.y);

resizeRect.x = defaultPosition.x + properties.offsetX + adjustments.x;


resizeRect.y = defaultPosition.y + properties.offsetY + adjustments.y;
resizeUtil.printRect("adjusted resizeRect", resizeRect);

return adjustments;
};
resizeUtil.isRectContained = function(containingRect, containedRect) {
log.d("isRectContained");
resizeUtil.printRect("containingRect", containingRect);
resizeUtil.printRect("containedRect", containedRect);
return (containedRect.x >= containingRect.x &&
(containedRect.x + containedRect.width) <= (containingRect.x +
containingRect.width) &&
containedRect.y >= containingRect.y &&
(containedRect.y + containedRect.height) <= (containingRect.y +
containingRect.height));
};

resizeUtil.printRect = function(label, rect) {


log.d(label +
" [" + rect.x + "," + rect.y + "]" +
",[" + (rect.x + rect.width) + "," + (rect.y + rect.height) + "]" +
" (" + rect.width + "x" + rect.height + ")");
};

var dumpListeners = mraidUtils.dumpListeners = function() {


var nEvents = Object.keys(eventListeners).length
log.i("dumping listeners (" + nEvents + " events)");
for (var event in eventListeners) {
var listeners = eventListeners[event];
log.i(" " + event + " contains " + listeners.length + " listeners");
for (var i = 0; i < listeners.length; i++) {
log.i(" " + listeners[i]);
}
}
};

//\\//\\//\\//\\//\\//\\//\\// EVENT MANAGEMENT \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: event-management...");

var EventListeners = function(event) {


this.event = event;
this.count = 0;
var listeners = {};

this.add = function(func) {
var id = String(func);
if (!listeners[id]) {
listeners[id] = func;
this.count++;
}
};

this.remove = function(func) {
var id = String(func);
if (listeners[id]) {
listeners[id] = null;
delete listeners[id];
this.count--;
return true;
} else {
return false;
}
};

this.removeAll = function() {
for (var id in listeners) {
if (listeners.hasOwnProperty(id)) {
this.remove(listeners[id]);
}
}
};

this.broadcast = function(args) {
for (var id in listeners) {
if (listeners.hasOwnProperty(id)) {
listeners[id].apply(mraid, args);
}
}
};

this.toString = function() {
var out = [event, ':'];
for (var id in listeners) {
if (listeners.hasOwnProperty(id)) {
out.push('|', id, '|');
}
}
return out.join('');
};
};

var broadcastEvent = mraidUtils.broadcastEvent = function() {


var args = new Array(arguments.length);
var l = arguments.length;
for (var i = 0; i < l; i++) {
args[i] = arguments[i];
}
var event = args.shift();
if (eventListeners[event]) {
eventListeners[event].broadcast(args);
}
};

//\\//\\//\\//\\//\\//\\//\\// VALIDTORS \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: validators...");

/**
* validators
*
* The action parameter is a string which is the name of the setter function
which called this function
* (in other words, setExpandPropeties, setOrientationProperties, or
setResizeProperties).
* It serves both as the key to get the the appropriate set of validating
functions from the allValidators object
* as well as the action parameter of any error event that may be thrown.
*
* added location-data validation
**/
var allValidators = mraidUtils.allValidators = {
"setExpandProperties": {
"width" : function(width) {
return !isNaN(width);
},
"height" : function(height) {
return !isNaN(height);
},
"useCustomClose" : function(useCustomClose) {
if (VERSION === "3.0")
return true; // ignoring in case of MRAID 3

return (typeof useCustomClose === "boolean");


}
},
"setOrientationProperties": {
"allowOrientationChange" : function(allowOrientationChange) {
return (typeof allowOrientationChange === "boolean");
},
"forceOrientation" : function(forceOrientation) {
var validValues = [ "portrait","landscape","none" ];
return validValues.indexOf(forceOrientation) !== -1;
}
},
"setResizeProperties": {
"width" : function(width) {
return !isNaN(width) && width >= 50;
},
"height" : function(height) {
return !isNaN(height) && height >= 50;
},
"offsetX" : function(offsetX) {
return !isNaN(offsetX);
},
"offsetY" : function(offsetY) {
return !isNaN(offsetY);
},
"customClosePosition" : function(customClosePosition) {
var validPositions = [ "top-left","top-center","top-
right","center","bottom-left","bottom-center","bottom-right" ];
return validPositions.indexOf(customClosePosition) !== -1;
},
"allowOffscreen" : function(allowOffscreen) {
return (typeof allowOffscreen === "boolean");
}
},
"locationData" : {
"lat" : function(lat) {
return !isNaN(lat);
},
"lon" : function(lon) {
return !isNaN(lon);
},
"type" : function(type) {
return !isNaN(type) && type >= 1 && type <= 3;
},
"accuracy" : function(accuracy) {
return !isNaN(accuracy);
},
"lastfix" : function(lastfix) {
return !isNaN(lastfix);
}
}
};

var validate = mraidUtils.validate = function(properties, action) {


var retval = true;
var validators = allValidators[action];
for (var prop in properties) {
var validator = validators[prop];
var value = properties[prop];
if (validator && !validator(value)) {
var message = "Value of property " + prop + " (" + value + ") is
invalid!";
log.e(message);
broadcastEvent(EVENTS.ERROR, message, action);
retval = false;
}
}
return retval;
};

//\\//\\//\\//\\//\\//\\//\\// MRAID \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: mraid mraid features...");

/**
* mraid properties
**/
mraid.supports = function(feature) {
log.i("mraid.supports: " + feature + " " + supportedFeatures[feature]);
var retval = supportedFeatures[feature];
if (typeof retval === "undefined") {
retval = false;
}
return retval;
};

mraid.getPlacementType = function() {
log.i("mraid.getPlacementType");
return placementType;
};

mraid.getOrientationProperties = function() {
log.i("mraid.getOrientationProperties");

var properties = {};


properties.allowOrientationChange =
orientationProperties.allowOrientationChange;
properties.forceOrientation = orientationProperties.forceOrientation;
return properties;
};

mraid.setOrientationProperties = function(properties) {
log.i("mraid.setOrientationProperties...");
if (!validate(properties, "setOrientationProperties")) {
log.e("validation failed!");
return;
}

var newOrientationProperties = {};


newOrientationProperties.allowOrientationChange =
orientationProperties.allowOrientationChange,
newOrientationProperties.forceOrientation =
orientationProperties.forceOrientation;

// orientationProperties contains 2 read-write properties:


allowOrientationChange and forceOrientation
var rwProps = [ "allowOrientationChange", "forceOrientation" ];
for (var i = 0; i < rwProps.length; i++) {
var propname = rwProps[i];
if (properties.hasOwnProperty(propname)) {
newOrientationProperties[propname] = properties[propname];
}
}

// setting allowOrientationChange to true while setting forceOrientation to


either portrait or landscape
// is considered an error condition.
if (newOrientationProperties.allowOrientationChange &&
newOrientationProperties.forceOrientation !==
mraid.DEVICE_ORIENTATIONS.NONE) {
var message = "allowOrientationChange is true but forceOrientation is "
+ newOrientationProperties.forceOrientation;
log.e(message);
broadcastEvent(EVENTS.ERROR, message, "setOrientationProperties");
return;
}

orientationProperties.allowOrientationChange =
newOrientationProperties.allowOrientationChange;
orientationProperties.forceOrientation =
newOrientationProperties.forceOrientation;

notifyNative("setOrientationProperties",
JSON.stringify(orientationProperties));
};

mraid.getCurrentAppOrientation = function() {
log.i("mraid.getCurrentAppOrientation");

var appOrientation = {};


appOrientation.orientation = currentAppOrientation.orientation;
appOrientation.locked = currentAppOrientation.locked;
return appOrientation;
};

mraid.getCurrentPosition = function() {
log.i("mraid.getCurrentPosition");

var position = {
"x": currentPosition.x,
"y": currentPosition.y,
"width": currentPosition.width,
"height": currentPosition.height
};
return position;
};

mraid.getDefaultPosition = function() {
log.i("mraid.getDefaultPosition");

var position = {
"x": defaultPosition.x,
"y": defaultPosition.y,
"width": defaultPosition.width,
"height": defaultPosition.height
};
return position;
};

mraid.getState = function() {
log.i("mraid.getState: " + state);
return state;
};

mraid.getExpandProperties = function() {
log.i("mraid.getExpandProperties");

var properties = {
"width" : expandProperties.width,
"height" : expandProperties.height,
"useCustomClose" : expandProperties.useCustomClose,
"isModal" : expandProperties.isModal
};
return properties;
};

mraid.setExpandProperties = function(properties) {
log.i("mraid.setExpandProperties");

if (!validate(properties, "setExpandProperties")) {
log.e("validation failed!");
return;
}

var oldUseCustomClose = expandProperties.useCustomClose;

// expandProperties contains 3 read-write properties: width, height, and


useCustomClose;
// the isModal property is read-only
var rwProps = [ "width", "height", "useCustomClose" ];
for (var i = 0; i < rwProps.length; i++) {
var propname = rwProps[i];
if (properties.hasOwnProperty(propname)) {
expandProperties[propname] = properties[propname];
}
}

// In MRAID v2.0, all expanded ads by definition cover the entire screen,
// so the only property that the native side has to know about is
useCustomClose.
// (That is, the width and height properties are not needed by the native
code.)
if (expandProperties.useCustomClose !== oldUseCustomClose) {
mraid.useCustomClose(properties.useCustomClose);
}
};

mraid.getMaxSize = function() {
log.i("mraid.getMaxSize: " + maxSize.width + " x " + maxSize.height);

var size = {};


size.width = maxSize.width;
size.height = maxSize.height;
return size;
};

mraid.getScreenSize = function() {
log.i("mraid.getScreenSize: " + screenSize.width + " x " +
screenSize.height);

var size = {};


size.width = screenSize.width;
size.height = screenSize.height;
return size;
};

mraid.getResizeProperties = function() {
log.i("mraid.getResizeProperties");

var properties = {
"width" : resizeProperties.width,
"height" : resizeProperties.height,
"offsetX" : resizeProperties.offsetX,
"offsetY" : resizeProperties.offsetY,
"customClosePosition" : resizeProperties.customClosePosition,
"allowOffscreen" : resizeProperties.allowOffscreen
};
return properties;
};

mraid.setResizeProperties = function(properties) {
log.i("mraid.setResizeProperties");

isResizeReady = false;

// resizeProperties contains 6 read-write properties:


// width, height, offsetX, offsetY, customClosePosition, allowOffscreen

// The properties object passed into this function must contain width,
height, offsetX, offsetY.
// The remaining two properties are optional.
var rwProps = [ "width", "height", "offsetX", "offsetY" ];
for (var i = 0; i < rwProps.length; i++) {
var propname = rwProps[i];
if (!properties.hasOwnProperty(propname)) {
var message = "required property " + propname + " is missing";
log.e(message);
broadcastEvent(EVENTS.ERROR, message, "setResizeProperties");
return;
}
}

if (!validate(properties, "setResizeProperties")) {
log.e("validation failed!");
return;
}

var adjustments = { "x": 0, "y": 0 };

var allowOffscreen = properties.hasOwnProperty("allowOffscreen")


? properties.allowOffscreen
: resizeProperties.allowOffscreen;

if (!allowOffscreen) {
if (properties.width > maxSize.width || properties.height >
maxSize.height) {
var message = "Resize width or height is greater than the maxSize
width or height!";
log.e(message);
broadcastEvent(EVENTS.ERROR, message, "setResizeProperties");
return;
}
adjustments = resizeUtil.fitResizeViewOnScreen(properties);
} else if (!resizeUtil.isCloseRegionOnScreen(properties)) {
var message = "Close event region will not appear entirely onscreen!";
log.e(message);
broadcastEvent(EVENTS.ERROR, message, "setResizeProperties");
return;
}

var desiredProperties = ['width', 'height', 'offsetX', 'offsetY',


'customClosePosition', 'allowOffscreen'];
for (var i = 0; i < desiredProperties.length; i++) {
var propname = desiredProperties[i];
if (properties.hasOwnProperty(propname)) {
resizeProperties[propname] = properties[propname];
}
}

var params = {
"width" : resizeProperties.width,
"height" : resizeProperties.height,
"offsetX" : resizeProperties.offsetX + adjustments.x,
"offsetY" : resizeProperties.offsetY + adjustments.y,
"customClosePosition" : resizeProperties.customClosePosition,
"allowOffscreen" : resizeProperties.allowOffscreen
};

notifyNative("setResizeProperties", JSON.stringify(params));

isResizeReady = true;
};

mraid.getLocation = function() {
if (!validate(locationData, "locationData")) {
log.e("invalid location data!");
return -1;
}
// ensure service or provider used to determine geolocation from IP address
(i.e., type = 2)
if (locationData.type == 2 && !ipservice) {
log.e("invalid location data!");
broadcastEvent(EVENTS.ERROR, "invalid location data!", "getLocation");
log.e("invalid location data!");
return -1;
}

var data = {
"lat" : locationData.lat,
"lon" : locationData.lon,
"type" : locationData.type,
"accuracy" : locationData.accuracy,
"lastfix" : locationData.lastfix,
"ipservice" : locationData.ipservice
};
return data;
};

/**
* mraid methods
**/
mraid.getVersion = function() {
log.i("mraid.getVersion: " + VERSION);
return VERSION;
};

mraid.addEventListener = function(event, listener) {


log.i("mraid.addEventListener for event: " + event);

if (!event || !listener) {
broadcastEvent(EVENTS.ERROR, "Both event and listener are required.",
"addEventListener");
return;
}

if (!contains(event, EVENTS)) {
broadcastEvent(EVENTS.ERROR, "Unknown MRAID event: " + event,
"addEventListener");
return;
}

if (!eventListeners[event]) {
eventListeners[event] = new EventListeners(event);
}
eventListeners[event].add(listener);
};

mraid.removeEventListener = function(event, listener) {


log.i("mraid.removeEventListener for event: " + event);

if (!event) {
broadcastEvent(EVENTS.ERROR, "Event is required.",
"removeEventListener");
return;
}
if (!contains(event, EVENTS)) {
broadcastEvent(EVENTS.ERROR, "Unknown MRAID event: " + event,
"removeEventListener");
return;
}

if (eventListeners[event]) {
if (!listener) {
eventListeners[event].removeAll();
} else if (!eventListeners[event].remove(listener)) {
broadcastEvent(EVENTS.ERROR, "Listener not currently registered for
event.", "removeEventListener");
}
}

if (eventListeners[event] && eventListeners[event].count === 0) {


eventListeners[event] = null;
delete eventListeners[event];
}
};

mraid.open = function(url) {
log.i("mraid.open: " + url);

if (!url) {
broadcastEvent(EVENTS.ERROR, "Invalid URL: " + url, "open");
return;
}

// a cheap hack to ensure whether the url is encoded or not,


// if its not encoded, make sure to "double encode" as the sdk does a
double decode
if (url.includes("&")) {
//url = url.replace("&", "%26")
url = encodeURIComponent(url);
}

notifyNative("open", url);
};

mraid.close = function() {
log.i("mraid.close");

if (state === STATES.HIDDEN) {


broadcastEvent(EVENTS.ERROR, "Ad cannot be closed when it is already
hidden.", "close");
return;
}

notifyNative("close");
};

mraid.unload = function() {
log.i("mraid.unload");
notifyNative("unload");
};

mraid.useCustomClose = function(shouldUseCustomClose) {
log.i("mraid.useCustomClose: " + shouldUseCustomClose);
expandProperties.useCustomClose = shouldUseCustomClose;
notifyNative("useCustomClose", shouldUseCustomClose);
};

mraid.expand = function(url) {
log.i("mraid.expand: " + (url === undefined) ? "(1-part)" : url);

// The only time it is valid to call expand is when the ad is


// a banner currently in either default or resized state.
if (placementType !== PLACEMENT_TYPE.INLINE ||
(state !== STATES.DEFAULT && state !== STAES.RESIZED)) {
broadcastEvent(EVENTS.ERROR, "Ad can only be expanded from the default
or resized state.", "expand");
return;
}

notifyNative("expand", (url === undefined) ? "" : url);


};

mraid.isViewable = function() {
log.i("mraid.isViewable");
return isViewable;
};

mraid.playVideo = function(uri) {
log.i("mraid.playVideo: " + uri);

// TODO: consider exposure change event too


if (!mraid.isViewable()) {
broadcastEvent(EVENTS.ERROR, "playVideo cannot be called until the ad
is viewable", "playVideo");
return;
}

if (!uri) {
broadcastEvent(EVENTS.ERROR, "Invalid URI: " + uri, "playVideo");
return;
}

notifyNative("playVideo", uri);
};

mraid.resize = function() {
log.i("mraid.resize");

// The only time it is valid to call resize is when the ad is


// a banner currently in either default or resized state.
// Trigger an error if the current state is expanded.
if (placementType === PLACEMENT_TYPE.INTERSTITIAL || state ===
STATES.LOADING || state === STATES.HIDDEN) {
// do nothing
return;
}
if (state === STATES.EXPANDED) {
broadcastEvent(EVENTS.ERROR, "Ad cannot be resized when in expanded
state.", "resize");
return;
}
if (!isResizeReady) {
broadcastEvent(EVENTS.ERROR, "Ad is not ready for resizing.",
"resize");
return;
}

notifyNative("resize", JSON.stringify(resizeProperties));
};

mraid.storePicture = function(uri) {
log.i("mraid.storePicture: " + uri);

if (!mraid.supports(mraid.SUPPORTED_FEATURES.STOREPICTURE)) {
broadcastEvent(EVENTS.ERROR, "storePicture is not supported",
"storePicture");
return;
}

// TODO: consider exposure change event too


if (!mraid.isViewable()) {
broadcastEvent(EVENTS.ERROR, "storePicture cannot be called until the
ad is viewable", "storePicture");
return;
}

if (!uri) {
broadcastEvent(EVENTS.ERROR, "Invalid URI: " + uri, "storePicture");
return;
}

notifyNative("storePicture", uri);
};

mraid.createCalendarEvent = function(parameters) {
log.i("mraid.createCalendarEvent");

if (!mraid.supports(mraid.SUPPORTED_FEATURES.CALENDAR)) {
broadcastEvent(EVENTS.ERROR, "createCalendarEvent is not supported",
"createCalendarEvent");
return;
}

notifyNative("createCalendarEvent", JSON.stringify(parameters));
};

/**
* event dispatchers
**/
mraid.fireErrorEvent = function(message, action) {
broadcastEvent(EVENTS.ERROR, message, action);
};

mraid.fireReadyEvent = function() {
broadcastEvent(EVENTS.READY);
};

mraid.fireSizeChangeEvent = function(width, height) {


screenSize.width = width;
screenSize.height = height;
broadcastEvent(EVENTS.SIZECHANGE, width, height);
};

mraid.fireStateChangeEvent = function(newState) {
if (state !== newState) {
state = newState;
broadcastEvent(EVENTS.STATECHANGE, state);
}
};

mraid.fireViewableChangeEvent = function(newIsViewable) {
if (isViewable !== newIsViewable) {
isViewable = newIsViewable;
broadcastEvent(EVENTS.VIEWABLECHANGE, isViewable);
}
};

mraid.fireExposureChangeEvent = function(exposedPercentage, visibleRectangle,


occlusionRectangles) {
exposureProperties.exposedPercentage = exposedPercentage;
exposureProperties.visibleRectangle = visibleRectangle;
exposureProperties.occlusionRectangles = occlusionRectangles;
broadcastEvent(EVENTS.EXPOSURECHANGE, exposedPercentage, visibleRectangle,
occlusionRectangles);
};

mraid.fireAudioVolumeChangeEvent = function(percentage) {
if (volumePercentage !== percentage) {
volumePercentage = volumePercentage;
broadcastEvent(EVENTS.AUDIOVOLUMECHANGE, percentage);
}
};

// TODO: VPAID

log.i("mraid object is ready!");


} ());

/**
* pokkt extended featuers
**/
(function() {
log.i("setting up: mraid-extensions...");

var mraid = window.mraid;

if (!mraid || mraid === undefined) {


log.e("error initializing pokkt's extended features!");
return;
}

/**
* pokkt specific constants
**/
var NETWORK = mraid.NETWORK = {
OFFLINE :'offline',
WIFI :'wifi',
CELL :'cell',
UNKNOWN :'unknown'
};

mraid.SUPPORTED_FEATURES.AUDIO = "audio";
mraid.SUPPORTED_FEATURES.CAMERA = "camera";
mraid.SUPPORTED_FEATURES.NETWORK = "network";
mraid.SUPPORTED_FEATURES.SHAKE = "shake";
mraid.SUPPORTED_FEATURES.TILT = "tilt";
mraid.SUPPORTED_FEATURES.HEADING = "heading";
mraid.SUPPORTED_FEATURES.ORIENTATION = "orientation";
mraid.SUPPORTED_FEATURES.MAP = "map";

mraid.EVENTS.SHAKE = "shake";
mraid.EVENTS.TILTCHANGE = "tiltChange";
mraid.EVENTS.HEADINGCHANGE = "headingChange";
mraid.EVENTS.LOCATIONCHANGE = "locationChange";
mraid.EVENTS.NETWORKCHANGE = "networkChange";
mraid.EVENTS.KEYBOARDSTATECHANGE = "keyboardStateChange";

/**
* pokkt specific states
**/
var shakeProperties = {
"interval" : 0,
"intensity" : 0
};

var tiltProperties = {
"interval" : 0,
"intensity" : 0
};

var headingProperties = {
"interval" : 0,
"intensity" : 0
};

var tiltValues = {
"x" : 0,
"y" : 0,
"z" : 0
};

var headingValue = 0;
var currentNetwork = "";
var currentKeyboardState = 0;

/**
* pokkt specific validators
**/
mraidUtils.allValidators.setShakeProperties =
mraidUtils.allValidators.setTiltProperties =
mraidUtils.allValidators.setHeadingProperties = {
"intensity":function(value) { return !isNaN(value); },
"interval":function(value) { return !isNaN(value); }
};

mraidUtils.allValidators.setTilt = {
"x":function(value) { return !isNaN(value); },
"y":function(value) { return !isNaN(value); },
"z":function(value) { return !isNaN(value); }
};

/**
* pokkt's extended properties
**/
mraid.setShakeProperties = function(properties) {
log.i("mraid.setShakeProperties: " + properties);
if (!mraidUtils.validate(properties, "setShakeProperties")) {
log.e("validation failed!");
return;
}

shakeProperties = properties;
mraidBridge.notifyNative("setShakeProperties", JSON.stringify(properties));
};

mraid.getShakeProperties = function() {
log.i("mraid.getShakeProperties");

var properties = {};


properties.interval = shakeProperties.interval;
properties.intensity = shakeProperties.intensity;
return properties;
};

mraid.setTiltProperties = function(properties) {
log.i("mraid.setTiltProperties: " + properties);
if (!mraidUtils.validate(properties, "setTiltProperties")) {
log.e("validation failed!");
return;
}

tiltProperties = properties;
mraidBridge.notifyNative("setTiltProperties", JSON.stringify(properties));
};

mraid.getTiltProperties = function() {
log.i("mraid.getTiltProperties");

var properties = {};


properties.interval = tiltProperties.interval;
properties.intensity = tiltProperties.intensity;
return properties;
}

mraid.setHeadingProperties = function(properties) {
log.i("mraid.setHeadingProperties: " + properties);
if (!mraidUtils.validate(properties, "setHeadingProperties")) {
log.e("validation failed!");
return;
}

headingProperties = properties;
mraidBridge.notifyNative("setHeadingProperties",
JSON.stringify(properties));
};

mraid.getHeadingProperties = function() {
log.i("mraid.getHeadingProperties");

var properties = {};


properties.interval = headingProperties.interval;
properties.intensity = headingProperties.intensity;
return properties;
};

mraid.getTilt = function () {
log.i("mraid.getTilt");

var values = {};


values.x = tiltValues.x;
values.y = tiltValues.y;
values.z = tiltValues.z;
return values;
};

mraid.setTilt = function (newValue) {


log.i("mraid.setTilt: " + newValue);
if (!mraidUtils.validate(newValue, "setTilt")) {
log.e("validation failed!");
return;
}

tiltValues = newValue;
};

mraid.getNetwork = function () {
log.i("mraid.getNetwork");
return currentNetwork;
};

mraid.setNetwork = function (newValue) {


log.i("mraid.setNetwork: " + newValue);
currentNetwork = newValue;
};

mraid.getHeading = function () {
log.i("mraid.getHeading");
return headingValue;
};

mraid.setHeading = function (newValue) {


log.i("mraid.setHeading: " + newValue);
headingValue = newValue;
};

mraid.getKeyboardState = function () {
log.i("mraid.getKeyboardState");
return currentKeyboardState;
}

mraid.setKeyboardState = function (newValue) {


log.i("mraid.setKeyboardState: " + newValue);
currentKeyboardState = newValue;
}

/**
* extended methods
**/
mraid.playAudio = function(url) {
log.i("mraid.playAudio " + url);

if (!mraid.supports(mraid.SUPPORTED_FEATURES.AUDIO)) {
mraidUtils.broadcastEvent(mraid.EVENTS.ERROR, "playAudio is not
supported", "playAudio");
return;
}

mraidBridge.notifyNative("playAudio", url);
};

mraid.openCamera = function () {
log.i("mraid.openCamera");

if (!mraid.supports(mraid.SUPPORTED_FEATURES.CAMERA)) {
mraidUtils.broadcastEvent(mraid.EVENTS.ERROR, "openCamera is not
supported", "openCamera");
return;
}

mraidBridge.notifyNative("openCamera");
}

/**
* event dispatchers
**/
mraid.fireShakeEvent = function() {
log.i("mraid.fireShakeEvent");
mraidUtils.broadcastEvent(mraid.EVENTS.SHAKE);
}

mraid.fireTiltChangeEvent = function(x, y, z) {
log.i("mraid.fireTiltChangeEvent, x: " + x + " y: " + y + " z: " + z);
tiltValues.x = x;
tiltValues.y = y;
tiltValues.z = z;
mraidUtils.broadcastEvent(mraid.EVENTS.TILTCHANGE, x, y, z);
}

mraid.fireLocationChangeEvent = function(lat, lon, type, accuracy, lastfix,


ipservice) {
log.i("mraid.fireLocationChangeEvent, lat: " + lat + " lon: " + lon + "
type: " + type +
" accuracy: " + accuracy + " lastfix: " + lastfix +
" ipservice: " + ipservice);
mraidBridge.setLocation(lat, lon, type, accuracy, lastfix, ipservice);

mraidUtils.broadcastEvent(mraid.EVENTS.LOCATIONCHANGE, lat, lon, type,


accuracy, lastfix, ipservice);
}

mraid.fireHeadingChangeEvent = function(val) {
log.i("mraid.fireHeadingChangeEvent, val: " + val);
if (headingValue != val) {
headingValue = val;
mraidUtils.broadcastEvent(mraid.EVENTS.HEADINGCHANGE, val);
}
}

mraid.fireNetworkChangeEvent = function(network) {
log.d("mraid.fireNetworkChangeEvent: " + network);
if (currentNetwork != network) {
currentNetwork = network;
mraidUtils.broadcastEvent(mraid.EVENTS.NETWORKCHANGE, network);
}
}

mraid.fireKeyboardStateChangeEvent = function(state) {
log.d("mraid.fireKeyboardStateChangeEvent: " + state);
if (currentKeyboardState !== state) {
currentKeyboardState = state;
mraidUtils.broadcastEvent(mraid.EVENTS.KEYBOARDSTATECHANGE, state);
}
}

log.i("mraid extensions are ready!");


} ());

1554818374489 com.nazara.tinylabproductions.oggy caching timeout timer cancelled!

1554818374491 com.nazara.tinylabproductions.oggy error with ad-network:


POKKT_VIDEO, error: failed to get ad with rewarded ad, ad-format: VIDEO, screen-
name: screen! Error Code 19 : No Campaign Available Vast Error 303

1554818374494 com.nazara.tinylabproductions.oggy saving session-details...

1554818374497 com.nazara.tinylabproductions.oggy release caching lock

1554818374498 com.nazara.tinylabproductions.oggy release caching lock on:


screen_true_VIDEO

1554819314014 com.nazara.tinylabproductions.oggy starting to cache rewarded ad,


ad-format: VIDEO, screen-name: screen

1554819314016 com.nazara.tinylabproductions.oggy fetching ad networks...

1554819314022 com.nazara.tinylabproductions.oggy checking permissions...

1554819314024 com.nazara.tinylabproductions.oggy ad networks already available!

1554819314025 com.nazara.tinylabproductions.oggy cacheAd requested for: rewarded


ad, ad-format: VIDEO, screen-name: screen!

1554819314026 com.nazara.tinylabproductions.oggy acquiring caching lock


1554819314026 com.nazara.tinylabproductions.oggy acquiring caching lock on:
screen_true_VIDEO

1554819314027 com.nazara.tinylabproductions.oggy lock acquired rewarded ad, ad-


format: VIDEO, screen-name: screen!

1554819314027 com.nazara.tinylabproductions.oggy activeAdSlots does not contain


mentioned adConfig

1554819314028 com.nazara.tinylabproductions.oggy activeAdSlots contains null value


for mentioned adConfig

1554819314031 com.nazara.tinylabproductions.oggy attempting to cache ad with ad-


network: POKKT_VIDEO

1554819314032 com.nazara.tinylabproductions.oggy checking ad-availability with ad-


network: POKKT_VIDEO

1554819314035 com.nazara.tinylabproductions.oggy fetching ad for slot: rewarded


ad, ad-format: VIDEO, screen-name: screen

1554819314041 com.nazara.tinylabproductions.oggy executing d...

1554819314108 com.nazara.tinylabproductions.oggy 360 POKKT SDK not found

1554819314110 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155481931411022d09d9c8535860dbe79c66456b12c9f

1554819314112 com.nazara.tinylabproductions.oggy md5_token id


fd2537d8cadeccd2c834a82e03a79350

1554819314148 com.nazara.tinylabproductions.oggy d Request url:


https://vdo.pokkt.com/api/AdRequestV2?
network_id=31&ad_format=0&response_format=1&resolution=1&screen=screen&offerids=0&a
ppId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&androidID=&app_version=1.32&
device_id=&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&adv
ertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=Wifi&swidth=10
80&sheight=2040&carrier_name=Ufone&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n=
&ip=119.160.68.214&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=1554819314110&page=1&token=fd2537d8cadeccd2c834a82e03a79350&mac_ad
dress=&mobile_no=&email_address=&screen_density_x=409.432&screen_density_y=406.4&sc
reen_density_category=XXHDPI&maturity_rating=&asset_value=&pub_meta=&source=&name=&
age=&sex=&location=&marital_status=&birthday=&facebook_id=&twitter_handle=&educatio
n=&nationality=&latitude=&longitude=&address=&sessionId=df21865a-743f-47ca-a4af-
89c821aebfbd&incent=1&preroll=1&udid=6254babc-98e5-42b8-a1a9-
9af626a79056&battery_level=51&encodedPubParams=&vdo_pt=0&gdpr_applicable=false&gdpr
_consent=true

1554819315335 com.nazara.tinylabproductions.oggy d response: <?xml version="1.0"


encoding="UTF-8" ?><VAST version="2.0"></VAST>

1554819315355 com.nazara.tinylabproductions.oggy VAST element is present

1554819315367 com.nazara.tinylabproductions.oggy First element value: {} 2.0


1554819315368 com.nazara.tinylabproductions.oggy vast version ---- {} 2.0

1554819315374 com.nazara.tinylabproductions.oggy Ad element is absent

1554819315377 com.nazara.tinylabproductions.oggy Error Code 19 : No Campaign


Available Vast Error 303

1554819315378 com.nazara.tinylabproductions.oggy caching timeout timer cancelled!

1554819315380 com.nazara.tinylabproductions.oggy error with ad-network:


POKKT_VIDEO, error: failed to get ad with rewarded ad, ad-format: VIDEO, screen-
name: screen! Error Code 19 : No Campaign Available Vast Error 303

1554819315381 com.nazara.tinylabproductions.oggy saving session-details...

1554819315385 com.nazara.tinylabproductions.oggy release caching lock

1554819315386 com.nazara.tinylabproductions.oggy release caching lock on:


screen_true_VIDEO

1554983722729 com.nazara.tinylabproductions.oggy starting to cache rewarded ad,


ad-format: VIDEO, screen-name: screen

1554983722734 com.nazara.tinylabproductions.oggy fetching ad networks...

1554983722736 com.nazara.tinylabproductions.oggy checking permissions...

1554983722742 com.nazara.tinylabproductions.oggy ad networks not available,


requesting...

1554983722743 com.nazara.tinylabproductions.oggy initialising Google Play


services...

1554983722748 com.nazara.tinylabproductions.oggy Google Play service result Code is


0

1554983722754 com.nazara.tinylabproductions.oggy Inside run of Thread after gettng


getAdvertisingIdThread 2 ::

1554983722783 com.nazara.tinylabproductions.oggy getAdvertisingIdThread() :: got


Info {b7009d36-9444-4afb-acaf-c833f6e4c098}false

1554983722784 com.nazara.tinylabproductions.oggy Inside run of Thread after getting


adinfo

1554983722796 com.nazara.tinylabproductions.oggy Scheduling now pull notification

1554983722798 com.nazara.tinylabproductions.oggy Offer Table Empty !

1554983722801 com.nazara.tinylabproductions.oggy starting session manager...

1554983722802 com.nazara.tinylabproductions.oggy reading session-details...

1554983722818 com.nazara.tinylabproductions.oggy creating new session data...

1554983722819 com.nazara.tinylabproductions.oggy saving session-details...

1554983722822 com.nazara.tinylabproductions.oggy GetAdNetworksTask is ready to


execute!
1554983722824 com.nazara.tinylabproductions.oggy executing c...

1554983722825 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155498372282522d09d9c8535860dbe79c66456b12c9f

1554983722827 com.nazara.tinylabproductions.oggy md5_token id


6bf2afefbd8af7e3491dc64c17648ef0

1554983722857 com.nazara.tinylabproductions.oggy c Request url:


https://vdo.pokkt.com/api/AdNetworksV2?
token=6bf2afefbd8af7e3491dc64c17648ef0&timestamp=1554983722825&udid=6254babc-98e5-
42b8-a1a9-
9af626a79056&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.
32&device_id=&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&
advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&androidID=&mac_address=&device_type=Phone&mobile
_no=&email_address=&connection_type=Wifi&screen_density_x=409.432&screen_density_y=
406.4&sheight=2040&swidth=1080&carrier_name=Ufone&screen_density_category=XXHDPI&de
vice_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=&long=&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2&gdpr_applicable=false&gdpr_consent=true

1554983753120 com.nazara.tinylabproductions.oggy IOException !


java.net.SocketTimeoutException: failed to connect to vdo.pokkt.com/13.250.67.74
(port 443) from /192.168.43.180 (port 48108) after 15000ms
at libcore.io.IoBridge.connectErrno(IoBridge.java:185)
at libcore.io.IoBridge.connect(IoBridge.java:130)
at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:129)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:357)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:201)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:183)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:356)
at java.net.Socket.connect(Socket.java:616)
at com.android.okhttp.internal.Platform.connectSocket(Platform.java:145)
at
com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:141
)
at
com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:112)
at
com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.j
ava:184)
at
com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAlloc
ation.java:126)
at
com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:9
5)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281)
at
com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224)
at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl
.java:461)
at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl
.java:127)
at
com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.connect(DelegatingHttp
sURLConnection.java:89)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.connect(Unknown
Source:0)
at com.pokkt.sdk.utils.l.a(Unknown Source:140)
at com.pokkt.sdk.utils.l.a(Unknown Source:21)
at com.pokkt.sdk.net.a.a(Unknown Source:88)
at com.pokkt.sdk.net.a.doInBackground(Unknown Source:2)
at android.os.AsyncTask$2.call(AsyncTask.java:345)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.pokkt.sdk.net.j$1.run(Unknown Source:2)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:784)

1554983753128 com.nazara.tinylabproductions.oggy failed to execute c! Error Code 11


: Could Not Connect To Server.

1554983886509 com.nazara.tinylabproductions.oggy starting to cache rewarded ad,


ad-format: VIDEO, screen-name: screen

1554983886511 com.nazara.tinylabproductions.oggy fetching ad networks...

1554983886514 com.nazara.tinylabproductions.oggy checking permissions...

1554983886519 com.nazara.tinylabproductions.oggy ad networks not available,


requesting...

1554983886520 com.nazara.tinylabproductions.oggy initialising Google Play


services...

1554983886525 com.nazara.tinylabproductions.oggy Google Play service result Code is


0

1554983886535 com.nazara.tinylabproductions.oggy Inside run of Thread after gettng


getAdvertisingIdThread 2 ::

1554983886560 com.nazara.tinylabproductions.oggy getAdvertisingIdThread() :: got


Info {b7009d36-9444-4afb-acaf-c833f6e4c098}false

1554983886560 com.nazara.tinylabproductions.oggy Inside run of Thread after getting


adinfo

1554983886566 com.nazara.tinylabproductions.oggy Offer Table Empty !

1554983886567 com.nazara.tinylabproductions.oggy Scheduling now pull notification

1554983886572 com.nazara.tinylabproductions.oggy GetAdNetworksTask is ready to


execute!

1554983886574 com.nazara.tinylabproductions.oggy executing c...


1554983886575 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-
a1a9-9af626a79056155498388657422d09d9c8535860dbe79c66456b12c9f

1554983886575 com.nazara.tinylabproductions.oggy md5_token id


184d0b87ec2d82a03b39775c4b2593e6

1554983886582 com.nazara.tinylabproductions.oggy c Request url:


https://vdo.pokkt.com/api/AdNetworksV2?
token=184d0b87ec2d82a03b39775c4b2593e6&timestamp=1554983886574&udid=6254babc-98e5-
42b8-a1a9-
9af626a79056&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.
32&device_id=&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&
advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&androidID=&mac_address=&device_type=Phone&mobile
_no=&email_address=&connection_type=3G&screen_density_x=409.432&screen_density_y=40
6.4&sheight=2040&swidth=1080&carrier_name=Ufone&screen_density_category=XXHDPI&devi
ce_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=&long=&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2&gdpr_applicable=false&gdpr_consent=true

1554983889606 com.nazara.tinylabproductions.oggy c response:


{"status":1,"message":"success","others":{"Networks":[{"POKKT_VIDEO":
{"id":"31","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":0,"respons
eFormat":1,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=31&ad_format=0&response_format=1&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.8.61&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&preroll=[SDK_PRE_ROLL]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LE
VEL]&encodedPubParams=[SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gd
pr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type"
:3,"custom_data":{},"comscore_client_id":"22296391"}},{"POKKT_BANNER":
{"id":"32","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":1,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=32&ad_format=1&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.8.61&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LEVEL]&encodedPubParams=[
SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gdpr_applicable=[SDK_GDPR
_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type":3,"custom_data":
{},"comscore_client_id":"22296391"}},{"POKKT_INTERSTITIAL":
{"id":"33","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":3,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=33&ad_format=3&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.8.61&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LEVEL]&encodedPubParams=[
SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gdpr_applicable=[SDK_GDPR
_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&ars=[SDK_ARS]","network_type":3,"custo
m_data":{},"comscore_client_id":"22296391"}},{"POKKT_INGAME_BRANDING":
{"id":"34","integration_type":"S2S","incent":0,"non_incent":0,"adFormat":4,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=34&ad_format=4&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.8.61&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&iga_type=[SDK_IGA_TYPE]&battery_level=[SDK_BATTERY_L
EVEL]&encodedPubParams=[SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&g
dpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type
":3,"custom_data":
{},"comscore_client_id":"22296391"}}]},"max_cached_videos":"3","video_cache_ttl":"3
","notification_pull_frequency":"60","branding":"Ads by
POKKT","http_requests_timeout":15,"show_mute":"0","skip_confirm_show_dialog":"0","s
kip_confirm_message":"","skip_confirm_yes_label":"YES","skip_confirm_no_label":"NO"
,"skip_confirm_timer_message":"","incent_message":"","vpaid_background_image":"http
s://pokktjs.pokkt.com/video-js-
4.12/poster.png","track_viewability":false,"back_disable_flag":"0","viewability_tex
t":"","vc":"0","mraid_ios_path":"https://s3-ap-southeast-
1.amazonaws.com/pokktmraid/mraid.js","mraid_android_path":"https://s3-ap-southeast-
1.amazonaws.com/pokktmraid/mraid.js","viewablity_pause_duration":120,"collect_feedb
ack":0,"blocked_category":null,"gt_res_and":"","gt_res_ios":"","html_wrapper_path":
"https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/pokktIMAWrapper.html","om_js_service_path":"ht
tps://s3-ap-southeast-1.amazonaws.com/sdkplugin/omidsupport/omsdk-
v1.js","feedback_html_path":"https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/pokktsdksupport/pokktFeedbackUI.html","vpaid_html_wrapper
_path":"https://pokktjs.pokkt.com/vjs/pokktVpaidWrapper.html","interstitial_frame":
"","trackers":{"session_tracker":
{"type":"POST","url":"https://vdo.pokkt.com/api/sessionTracker/trackV2?","params":"
timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_G
DPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&stat=[SDK_STAT]&appId=511374ddba5da
f16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.ti
nylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=2040.0&swidt
h=1080.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2"},"iga_tracker":{"type":"POST","ur
l":"https://vdo.pokkt.com/api/igaTracker/trackV2?","params":"timestamp=[SDK_TIMESTA
MP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&udid=[SDK
_UD_ID]&token=[SDK_TOKEN]&stat=[SDK_STAT]&session_time=[SDK_SESSION_TIME]&appId=511
374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com
.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-
acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=2040.0&swidt
h=1080.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2"},"network_event_tracker":
{"type":"POST","url":"https://vdo.pokkt.com/api/NetworkEventTrackerV2?","params":"t
imestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GD
PR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&network_event_count=[SDK_NETWORK_EVE
NT_COUNT]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&
app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=
b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=2040.0&swidt
h=1080.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2"},"failed_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/urlTracker/trackV2?","params":"offer
_id=[SDK_OFFER_ID]&url=[SDK_URL]&timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDP
R_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&ap
pId=511374ddba5daf16929850844a9df59a"},"submit_feedback":
{"type":"GET","url":"https://vdo.pokkt.com/api/submitFeedbackV2?","params":"timesta
mp=[SDK_TIMESTAMP]&sex=[SDK_SEX]&age=[SDK_AGE]&offer_id=[SDK_OFFER_ID]&reason=[SDK_
REASON]&watch_time=[SDK_WATCH_TIME]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&advertisingID=b7009d36-
9444-4afb-acaf-c833f6e4c098&appId=511374ddba5daf16929850844a9df59a"},"iap_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/iapTracker/trackV2?","params":"times
tamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_C
ONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&productId=[SDK_PRODUCT_ID]&productPrice=
[SDK_PRODUCT_PRICE]&currencyCode=[SDK_CURRENCY_CODE]&productTitle=[SDK_PRODUCT_TITL
E]&productDesc=[SDK_PRODUCT_DESC]&productStore=[SDK_PRODUCT_STORE]&productData=[SDK
_PRODUCT_DATA]&productSignature=[SDK_PRODUCT_SIGNATURE]&appId=511374ddba5daf1692985
0844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabpro
ductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=2040.0&swidth=1080.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2"},"get_notification":
{"type":"GET","url":"https://vdo.pokkt.com/api/notification/getNotificationsV2?","p
arams":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consen
t=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&os_id=[SDK_OS_ID]&appId=511
374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com
.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-
acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=2040.0&swidth=1080.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2&ip=43.245.8.61"},"notification_event_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/NotificationEventsTracker/trackV2?",
"params":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&notification_id=[SDK_ID_N
OTIFICATION]&os_id=[SDK_OS_ID]&track_id=[SDK_TRACK_ID]&event=[SDK_EVENT]&appId=5113
74ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.
nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-
acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=2040.0&swidth=1080.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2"},"app_install_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/installTracker/trackV2?","params":"t
imestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GD
PR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&appId=511374ddba5daf16929850844a9df5
9a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.
oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=2040.0&swidt
h=1080.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2"},"gratification_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/gratificationEventTracker/trackV2?",
"params":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&vc=[SDK_VC]&network_id=[S
DK_NETWORK_ID]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=
1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisi
ngID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=2040.0&swidth=1080.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2"},"get_categories":
{"type":"GET","url":"https://ias.pokkt.com/installedapps/get?","params":"timestamp=
[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSEN
T]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&appId=511374ddba5daf16929850844a9df59a&os_ver
sion=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_
version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=2040.0&swidt
h=1080.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2&ip=43.245.8.61"},"post_categories_count":
{"type":"POST","url":"https://ias.pokkt.com/installedapps/categorycount","params":"
timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_G
DPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&categories=[SDK_CATEGORIES]&appId=5
11374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=c
om.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=2040.0&swidt
h=1080.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2&ip=43.245.8.61"},"get_apps_list":
{"type":"GET","url":"https://vdo.pokkt.com/api/appList/get?","params":"timestamp=[S
DK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]
&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&os_id=[SDK_OS_ID]&appId=511374ddba5daf169298508
44a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabprodu
ctions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=2040.0&swidth=1080.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2&ip=43.245.8.61","refresh_rate_in_days":4}}}

1554983889613 com.nazara.tinylabproductions.oggy Network response is


{"status":1,"message":"success","others":{"Networks":[{"POKKT_VIDEO":
{"id":"31","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":0,"respons
eFormat":1,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=31&ad_format=0&response_format=1&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.8.61&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&preroll=[SDK_PRE_ROLL]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LE
VEL]&encodedPubParams=[SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gd
pr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type"
:3,"custom_data":{},"comscore_client_id":"22296391"}},{"POKKT_BANNER":
{"id":"32","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":1,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=32&ad_format=1&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.8.61&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LEVEL]&encodedPubParams=[
SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gdpr_applicable=[SDK_GDPR
_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type":3,"custom_data":
{},"comscore_client_id":"22296391"}},{"POKKT_INTERSTITIAL":
{"id":"33","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":3,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=33&ad_format=3&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.8.61&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LEVEL]&encodedPubParams=[
SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gdpr_applicable=[SDK_GDPR
_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&ars=[SDK_ARS]","network_type":3,"custo
m_data":{},"comscore_client_id":"22296391"}},{"POKKT_INGAME_BRANDING":
{"id":"34","integration_type":"S2S","incent":0,"non_incent":0,"adFormat":4,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=34&ad_format=4&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.8.61&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&iga_type=[SDK_IGA_TYPE]&battery_level=[SDK_BATTERY_L
EVEL]&encodedPubParams=[SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&g
dpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type
":3,"custom_data":
{},"comscore_client_id":"22296391"}}]},"max_cached_videos":"3","video_cache_ttl":"3
","notification_pull_frequency":"60","branding":"Ads by
POKKT","http_requests_timeout":15,"show_mute":"0","skip_confirm_show_dialog":"0","s
kip_confirm_message":"","skip_confirm_yes_label":"YES","skip_confirm_no_label":"NO"
,"skip_confirm_timer_message":"","incent_message":"","vpaid_background_image":"http
s://pokktjs.pokkt.com/video-js-
4.12/poster.png","track_viewability":false,"back_disable_flag":"0","viewability_tex
t":"","vc":"0","mraid_ios_path":"https://s3-ap-southeast-
1.amazonaws.com/pokktmraid/mraid.js","mraid_android_path":"https://s3-ap-southeast-
1.amazonaws.com/pokktmraid/mraid.js","viewablity_pause_duration":120,"collect_feedb
ack":0,"blocked_category":null,"gt_res_and":"","gt_res_ios":"","html_wrapper_path":
"https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/pokktIMAWrapper.html","om_js_service_path":"ht
tps://s3-ap-southeast-1.amazonaws.com/sdkplugin/omidsupport/omsdk-
v1.js","feedback_html_path":"https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/pokktsdksupport/pokktFeedbackUI.html","vpaid_html_wrapper
_path":"https://pokktjs.pokkt.com/vjs/pokktVpaidWrapper.html","interstitial_frame":
"","trackers":{"session_tracker":
{"type":"POST","url":"https://vdo.pokkt.com/api/sessionTracker/trackV2?","params":"
timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_G
DPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&stat=[SDK_STAT]&appId=511374ddba5da
f16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.ti
nylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=2040.0&swidt
h=1080.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2"},"iga_tracker":{"type":"P
OST","url":"https://vdo.pokkt.com/api/igaTracker/trackV2?","params":"timestamp=[SDK
_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&u
did=[SDK_UD_ID]&token=[SDK_TOKEN]&stat=[SDK_STAT]&session_time=[SDK_SESSION_TIME]&a
ppId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_
name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-
9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=2040.0&swidt
h=1080.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2"},"network_event_tracker":
{"type":"POST","url":"https://vdo.pokkt.com/api/NetworkEventTrackerV2?","params":"t
imestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GD
PR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&network_event_count=[SDK_NETWORK_EVE
NT_COUNT]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&
app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=
b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=2040.0&swidt
h=1080.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2"},"failed_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/urlTracker/trackV2?","params":"offer
_id=[SDK_OFFER_ID]&url=[SDK_URL]&timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDP
R_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&ap
pId=511374ddba5daf16929850844a9df59a"},"submit_feedback":
{"type":"GET","url":"https://vdo.pokkt.com/api/submitFeedbackV2?","params":"timesta
mp=[SDK_TIMESTAMP]&sex=[SDK_SEX]&age=[SDK_AGE]&offer_id=[SDK_OFFER_ID]&reason=[SDK_
REASON]&watch_time=[SDK_WATCH_TIME]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&advertisingID=b7009d36-
9444-4afb-acaf-c833f6e4c098&appId=511374ddba5daf16929850844a9df59a"},"iap_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/iapTracker/trackV2?","params":"times
tamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_C
ONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&productId=[SDK_PRODUCT_ID]&productPrice=
[SDK_PRODUCT_PRICE]&currencyCode=[SDK_CURRENCY_CODE]&productTitle=[SDK_PRODUCT_TITL
E]&productDesc=[SDK_PRODUCT_DESC]&productStore=[SDK_PRODUCT_STORE]&productData=[SDK
_PRODUCT_DATA]&productSignature=[SDK_PRODUCT_SIGNATURE]&appId=511374ddba5daf1692985
0844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabpro
ductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=2040.0&swidth=1080.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2"},"get_notification":
{"type":"GET","url":"https://vdo.pokkt.com/api/notification/getNotificationsV2?","p
arams":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consen
t=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&os_id=[SDK_OS_ID]&appId=511
374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com
.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-
acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=2040.0&swidth=1080.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2&ip=43.245.8.61"},"notification_event_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/NotificationEventsTracker/trackV2?",
"params":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&notification_id=[SDK_ID_N
OTIFICATION]&os_id=[SDK_OS_ID]&track_id=[SDK_TRACK_ID]&event=[SDK_EVENT]&appId=5113
74ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.
nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-
acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=2040.0&swidth=1080.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2"},"app_install_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/installTracker/trackV2?","params":"t
imestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GD
PR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&appId=511374ddba5daf16929850844a9df5
9a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.
oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=2040.0&swidt
h=1080.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2"},"gratification_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/gratificationEventTracker/trackV2?",
"params":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&vc=[SDK_VC]&network_id=[S
DK_NETWORK_ID]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=
1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisi
ngID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=2040.0&swidth=1080.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2"},"get_categories":
{"type":"GET","url":"https://ias.pokkt.com/installedapps/get?","params":"timestamp=
[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSEN
T]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&appId=511374ddba5daf16929850844a9df59a&os_ver
sion=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_
version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=2040.0&swidt
h=1080.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2&ip=43.245.8.61"},"post_categories_count":
{"type":"POST","url":"https://ias.pokkt.com/installedapps/categorycount","params":"
timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_G
DPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&categories=[SDK_CATEGORIES]&appId=5
11374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=c
om.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=2040.0&swidt
h=1080.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2&ip=43.245.8.61"},"get_apps_list":
{"type":"GET","url":"https://vdo.pokkt.com/api/appList/get?","params":"timestamp=[S
DK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]
&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&os_id=[SDK_OS_ID]&appId=511374ddba5daf169298508
44a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabprodu
ctions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=2040.0&swidth=1080.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2&ip=43.245.8.61","refresh_rate_in_days":4}}}

1554983889629 com.nazara.tinylabproductions.oggy Network name POKKT_VIDEO

1554983889641 com.nazara.tinylabproductions.oggy Network name POKKT_BANNER

1554983889642 com.nazara.tinylabproductions.oggy Network name POKKT_INTERSTITIAL

1554983889642 com.nazara.tinylabproductions.oggy Network name POKKT_INGAME_BRANDING

1554983889649 com.nazara.tinylabproductions.oggy creating new network!

1554983889650 com.nazara.tinylabproductions.oggy network created: POKKT_VIDEO

1554983889651 com.nazara.tinylabproductions.oggy creating new network!

1554983889651 com.nazara.tinylabproductions.oggy network created: POKKT_BANNER

1554983889652 com.nazara.tinylabproductions.oggy creating new network!

1554983889652 com.nazara.tinylabproductions.oggy network created:


POKKT_INTERSTITIAL

1554983889653 com.nazara.tinylabproductions.oggy creating new network!

1554983889653 com.nazara.tinylabproductions.oggy network created:


POKKT_INGAME_BRANDING

1554983889666 com.nazara.tinylabproductions.oggy cacheAd requested for: rewarded


ad, ad-format: VIDEO, screen-name: screen!

1554983889666 com.nazara.tinylabproductions.oggy acquiring caching lock

1554983889667 com.nazara.tinylabproductions.oggy acquiring caching lock on:


screen_true_VIDEO

1554983889668 com.nazara.tinylabproductions.oggy lock acquired rewarded ad, ad-


format: VIDEO, screen-name: screen!
1554983889669 com.nazara.tinylabproductions.oggy activeAdSlots does not contain
mentioned adConfig

1554983889670 com.nazara.tinylabproductions.oggy activeAdSlots contains null value


for mentioned adConfig

1554983889676 com.nazara.tinylabproductions.oggy attempting to cache ad with ad-


network: POKKT_VIDEO

1554983889677 com.nazara.tinylabproductions.oggy checking ad-availability with ad-


network: POKKT_VIDEO

1554983889678 com.nazara.tinylabproductions.oggy fetching ad for slot: rewarded


ad, ad-format: VIDEO, screen-name: screen

1554983889680 com.nazara.tinylabproductions.oggy category last get at :1554983889

1554983889680 com.nazara.tinylabproductions.oggy sending session data...

1554983889681 com.nazara.tinylabproductions.oggy total sessions to send: 2

1554983889682 com.nazara.tinylabproductions.oggy Active Session

1554983889683 com.nazara.tinylabproductions.oggy Gesture path not found

1554983889684 com.nazara.tinylabproductions.oggy executing f...

1554983889685 com.nazara.tinylabproductions.oggy executing f...

1554983889685 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/sdkplugin/imasupport/pokktIMAWrapper.html

1554983889685 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/sdkplugin/omidsupport/omsdk-v1.js

1554983889686 com.nazara.tinylabproductions.oggy executing f...

1554983889692 com.nazara.tinylabproductions.oggy executing f...

1554983889692 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/sdkplugin/omidsupport/omsdk-v1.js

1554983889697 com.nazara.tinylabproductions.oggy f Request url:


https://pokktjs.pokkt.com/vjs/pokktVpaidWrapper.html

1554983890867 com.nazara.tinylabproductions.oggy f response: <html>


<head>
<meta charset="utf-8" />
<title>Pokkt Video</title>

<!-- Console Logger -->


<script type="text/javascript">
/**
* console logger
**/
(function() {
var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};

var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};

log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};

log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};

log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());
</script>

<!-- Pokkt Specific -->


<script type="text/javascript">
//alert('hi!');
window.name = "pokkt_video_window";
log.i('window name: ' + window.name);

function is_pokkt_sdk() {
return true;
}

function pokkt_on_close() {
pauseAd();
if (typeof(Android) != "undefined" && Android.closeInterstitial) {
Android.closeInterstitial();
} else {
if (window.external && window.external.notify) {
window.external.notify("closeInterstitial");
}
}
}

function pokktOnComplete() {
if (typeof(Android) != "undefined" && Android.gratifyInterstitial)
{
Android.gratifyInterstitial();
} else {
if(window && window.external && window.external.notify) {
window.external.notify("gratifyInterstitial");
}
}
}

// function injectScript() {
// var Android = {};
// function closeInterstitial() {
// setTimeout(function() {
// window.location = 'pokkt://closeInterstitial';
// }, 1000);
// };

// function gratifyInterstitial() {
// window.location = 'pokkt://gratifyInterstitial';
// };
// Android.closeInterstitial = closeInterstitial;
// Android.gratifyInterstitial = gratifyInterstitial;
// window.Android = Android;
// }
// injectScript();
</script>

<!-- VideoJS -->


<link href="https://pokktjs.pokkt.com/vjs/videojs7/video-js.css"
rel="stylesheet">
<script src="https://pokktjs.pokkt.com/vjs/videojs7/video.min.js"
type="text/javascript"></script>

<!-- VideoJS VAST-VPAID Plugin -->


<link href="https://pokktjs.pokkt.com/vjs/videojs.vast.vpaid.min.css"
rel="stylesheet">
<script src="https://pokktjs.pokkt.com/vjs/vjs_plugin.min.js"></script>

<!-- OM SESSION CLIENT -->


<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/omidsupport/omid-session-client-v1.js"></script>

<!-- Pokkt-JS Bridge -->


<script type="text/javascript">
/**
* bridge
**/
(function() {
window.pokktNativeBridge = {};
window.pokktNativeBridge.notifyNative = function(operation, params)
{
log.i('notifying native of: ' + operation + ' , with params: ' +
params);

var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "pokktbridge://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};
} ());
</script>

<!-- Pokkt-OM Wrapper -->


<script type="text/javascript">
(function() {
var pokktOMIDBridge = window.pokktOMIDBridge = {};

pokktOMIDBridge.createOMIDSession = function(omidSDKVersion,
vendors, partnerName, partnerVersion) {
log.i('creating omid session...');

var sessionClient;

try {
sessionClient = OmidSessionClient[omidSDKVersion];
} catch (e) {
log.i('error creating sessionClient!');
}

if (!sessionClient) {
log.i('sessionClient not available!');
pokktNativeBridge.notifyNative('omWrapperFailed');
return;
}

const AdSession = sessionClient.AdSession;


const Partner = sessionClient.Partner;
const Context = sessionClient.Context;
const VerificationScriptResource =
sessionClient.VerificationScriptResource;
const AdEvents = sessionClient.AdEvents;
const VideoEvents = sessionClient.VideoEvents;

log.i('compiling verification resources...');


var resources = [];
for (var i = 0; i < vendors.length; i++) {
var vendor = vendors[i];
var resource = new
VerificationScriptResource(vendor.javascriptResourceUrl, vendor.vendorKey,
vendor.verificationParameters);
resources.push(resource);
}

if (!resources.length) {
log.i('no verification resources found!');
pokktNativeBridge.notifyNative('omWrapperFailed');
return;
}

var partner = new Partner(partnerName, partnerVersion);


var context = new Context(partner, resources);
var adSession = new AdSession(context);
pokktOMIDBridge.adSession = adSession;

const videoElement = document.getElementById("pokkt-video-ad");


context.setVideoElement(videoElement);
const adEvents = new AdEvents(adSession);
const videoEvents = new VideoEvents(adSession);
pokktOMIDBridge.videoEvents = videoEvents;

adSession.registerSessionObserver(function (event) {
log.i('omid session event: ' + event.type)
if (event.type === "sessionStart") {
videoEvents.loaded({ isSkippable: true, isAutoPlay:
true, position: 'standalone' });
adEvents.impressionOccurred();
} else if (event.type === "sessionError") {
log.i('session error occured! ' + event);
} else if (event.type === "sessionFinish") {
log.i('session finished!');
}
});

log.i('notifying omid wrapper ready...');


pokktNativeBridge.notifyNative('omWrapperReady');
};
} ());

function initOMIDSession(pokktOMConfig) {
log.i('initializing omid session...');

if (pokktOMConfig === undefined) {


log.i('using dummy verification data');
// TEST DATA
pokktOMConfig = {
"omid_sdk_version" : "1.1.3-iab493",
"partner_name" : "Pokkt",
"partner_version" : "7.3.0",
"vendors" : [
{
"vendorKey": "iabtechlab.com-omid",
"javascriptResourceUrl": " https://s3-us-west-
2.amazonaws.com/omsdk-files/compliance-js/omid-validation-verification-script-
v1.js",
"verificationParameters": "iabtechlab-pokkt"
}
]
};
}

if (window.pokktOMIDBridge !== undefined && pokktOMConfig !==


undefined) {
var omidSDKVersion = pokktOMConfig.omid_sdk_version;
var partnerName = pokktOMConfig.partner_name;
var partnerVersion = pokktOMConfig.partner_version;
var vendors = pokktOMConfig.vendors;

log.i('omid version is ' + omidSDKVersion);


log.i('creating omid session with ' + partnerName + ', for
version ' + partnerVersion);
window.pokktOMIDBridge.createOMIDSession(omidSDKVersion,
vendors, partnerName, partnerVersion)
} else {
log.e('invalid pokktOMConfig OR pokktOMIDBridge not
available!');
}
}
</script>
</head>
<body>
<div class="pokkt-video-container" id="pokkt-video-container"
style="opacity:100">
<video id="pokkt-video-ad" class="video-js vjs-default-skin vjs-16-9"
controls webkit-playsinline playsinline preload="auto"
poster="https://pokktjs.pokkt.com/vjs/assets/logo.png" data-
setup='{}'>
<source src="https://pokktjs.pokkt.com/vjs/assets/blank.mp4"
type='video/mp4'>
</video>
</div>

<script type="text/javascript">
window.vjsPlayer = videojs('pokkt-video-ad', {
'controls':false,
'forceSSL':true
}, function () {
log.i('videojs is ready!');
setupEventListeners(this);
window.pokktNativeBridge.notifyNative('vjsPlayerReady');
//this.play();
});

var vastResponseXML = '';


function requestVASTXML(callback) {
setTimeout(function () {
// the macro should be replaced with a proper VAST xml
callback(null, vastResponseXML);
}, 0);
}

function setupVJS(isTagAnURL, vastTag, moatData, moatPartnerCode) {


var vastClientSettings = {};
vastClientSettings.adsCancelTimeout = 200000;
vastClientSettings.adsEnabled = true;
vastClientSettings.playAdAlways = true;
vastClientSettings.vpaidFlashLoaderPath =
'https://vdo.pokkt.com/video-js-4.12/vpaid/VPAIDFlash.swf';
vastClientSettings.moatData = moatData;
vastClientSettings.moatPartnerCode = moatPartnerCode;
vastClientSettings.verbosity = 4;

if (isTagAnURL) {
vastClientSettings.adTagUrl = vastTag;
} else {
vastResponseXML = vastTag;
vastClientSettings.adTagXML = 'requestVASTXML';
}

window.vjsPlayer.vastClient(vastClientSettings);
}

function setupEventListeners(player) {
log.i('setting up listeners on player: ' + player);
player.on('vpaid.AdVideoStart', function(e) {
log.i('window.pokktOMIDBridge start');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
var duration = player.duration();
var muted = player.muted() ? 0 : 1;
if (!isNaN(duration)) {
window.pokktOMIDBridge.videoEvents.start(duration, muted);
} else {
// TODO: wait until duration is available to start
}
});

player.on('vpaid.AdVideoFirstQuartile', function(e) {
log.i('window.pokktOMIDBridge first quartile');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.firstQuartile();
});

player.on('vpaid.AdVideoMidpoint', function(e) {
log.i('window.pokktOMIDBridge midpoint');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.midpoint();
});

player.on('vpaid.AdVideoThirdQuartile', function(e) {
log.i('window.pokktOMIDBridge third quartile');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.thirdQuartile();
});

player.on('vpaid.AdVideoComplete', function(e) {
log.i('window.pokktOMIDBridge complete');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.complete();
});

player.on('vpaid.AdSkipped', function(e) {
log.i('window.pokktOMIDBridge skipped');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.skipped();
});

player.on('vpaid.AdPaused', function(e) {
log.i('window.pokktOMIDBridge paused');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.pause();
});

player.on('vpaid.AdPlaying', function(e) {
log.i('window.pokktOMIDBridge resumed');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.resume();
});

player.on('vpaid.AdVolumeChange', function(e) {
log.i('window.pokktOMIDBridge volume changed');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
var videoPlayerVolume = player.volume();
log.i('device volume is: ' + videoPlayerVolume);

window.pokktOMIDBridge.videoEvents.volumeChange(videoPlayerVolume);
});
}

function playAd() {
window.vjsPlayer.play();
}

function pauseAd() {
window.vjsPlayer.pause();
}
</script>
<script type="text/javascript">
// replace macros and call the following
// setupVJS(isTagAnURL, vastTag, moatData, moatPartnerCode);
setupVJS({{IS_TAG_A_URL}}, '{{VAST_TAG}}', {{MOAT_DATA}},
'{{MOAT_PARTNER_CODE}}');
</script>
</body>
</html>

1554983890872 com.nazara.tinylabproductions.oggy Successfully downloaded VPAID HTML

1554983890872 com.nazara.tinylabproductions.oggy executing f...

1554983890874 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/sdkplugin/imasupport/pokktIMAWrapper.html

1554983890992 com.nazara.tinylabproductions.oggy f response: <html>


<head>
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/style.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/video-js.min.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ads.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ima.css" />
</head>
<body>
<div id="pokkt-ima-adcontainer" class="pokkt-ima-adcontainer">
<div id="pokkt-ima-videoplayer" class="pokkt-ima-videoplayer">
<video id="pokkt-video-ad" class="video-js vjs-default-skin vjs-fullscreen
pokkt-video-ad" autoplay preload="auto" playsinline
poster="https://pokktjs.pokkt.com/video-js-4.12/poster.png"></video>
</div>
</div>

<script src="https://imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/video.min.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ads.min.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ima.js"></script>
<script type="text/javascript">
/**
* console logger
**/
(function() {
var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};

var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};


log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};

log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};

log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());

/**
* bridge
**/
(function() {
window.pokktNativeBridge = {};
window.pokktNativeBridge.notifyNative = function(operation, params) {
log.i('notifying native of: ' + operation + ' , with params: ' + params);

var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "pokktbridge://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};
} ());

/**
* POKKT-IMA Wrapper
**/
var PokktIMAWrapper = function(debugEnabled) {
log.i('preparing ima wrapper for pokkt...');

this.player = videojs('pokkt-video-ad');
this.player.fluid(true);

// Remove controls from the player on iPad to stop native controls from
stealing our click
if (navigator.userAgent.match(/iPad/i) ||
navigator.userAgent.match(/Android/i)){
var contentPlayer = document.getElementById('content_video_html5_api');
if (contentPlayer != null && contentPlayer.hasAttribute('controls')) {
contentPlayer.removeAttribute('controls');
}

this.player.controls(false);
}

var options = {
debug: debugEnabled,
id: 'pokkt-video-ad',
autoPlayAdBreaks: false,
showControlsForJSAds: false,
vpaidMode: 'INSECURE',
disableCustomPlaybackForIOS10Plus: true,
adsManagerLoadedCallback: this.adsManagerLoadedCallback.bind(this)
};
this.player.ima(options);

this.player.ima.setAdBreakReadyListener(function(){
log.i('ad-break ready, attempting ad playback...');
this.player.ima.playAdBreak();
});

pokktNativeBridge.notifyNative('wrapperPrepared');
};

PokktIMAWrapper.prototype.initWithAdTag = function(adTag, isAdTagAUrl) {


log.i('initializing ima...');

this.player.ima.initializeAdDisplayContainer();

if (isAdTagAUrl) {
this.player.ima.setContentWithAdTag(null, adTag, false);
} else {
this.player.ima.setContentWithAdsResponse(null, adTag, false);
}

this.player.ima.requestAds();
};

PokktIMAWrapper.prototype.adsManagerLoadedCallback = function(event) {
log.i('ads-manager loaded, registering remaining listners...');

var events = [
google.ima.AdEvent.Type.AD_BREAK_READY,
google.ima.AdEvent.Type.AD_CAN_PLAY,
google.ima.AdEvent.Type.AD_METADATA,
google.ima.AdEvent.Type.ALL_ADS_COMPLETED,
google.ima.AdEvent.Type.CLICK,
google.ima.AdEvent.Type.COMPLETE,
google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,
google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,
google.ima.AdEvent.Type.DURATION_CHANGE,
google.ima.AdEvent.Type.EXPANDED_CHANGED,
google.ima.AdEvent.Type.FIRST_QUARTILE,
google.ima.AdEvent.Type.IMPRESSION,
google.ima.AdEvent.Type.INTERACTION,
google.ima.AdEvent.Type.LINEAR_CHANGED,
google.ima.AdEvent.Type.LOADED,
google.ima.AdEvent.Type.LOG,
google.ima.AdEvent.Type.MIDPOINT,
google.ima.AdEvent.Type.PAUSED,
google.ima.AdEvent.Type.RESUMED,
google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,
google.ima.AdEvent.Type.SKIPPED,
google.ima.AdEvent.Type.STARTED,
google.ima.AdEvent.Type.THIRD_QUARTILE,
google.ima.AdEvent.Type.USER_CLOSE,
google.ima.AdEvent.Type.VIEWABLE_IMPRESSION,
google.ima.AdEvent.Type.VOLUME_CHANGED,
google.ima.AdEvent.Type.VOLUME_MUTED,
google.ima.AdErrorEvent.Type.AD_ERROR
];

for (var index = 0; index < events.length; index++) {


log.i('registering listner for ' + events[index]);
this.player.ima.addEventListener(events[index],
this.onAdEvent.bind(this));
}

window.addEventListener('resize', this.onWindowResize.bind(this));
};

PokktIMAWrapper.prototype.onAdEvent = function(event) {
var message = 'Ad event: ' + event.type;
log.i(message);

// notify this event to native


window.pokktNativeBridge.notifyNative('adEvent', event.type);
};

PokktIMAWrapper.prototype.playAd = function() {
this.player.ima.playAdBreak();
};

PokktIMAWrapper.prototype.pauseAd = function() {
this.player.pause();
};

PokktIMAWrapper.prototype.onWindowResize = function() {
var adContainer = document.getElementById('pokkt-ima-adcontainer');
var videoElement = document.getElementById('pokkt-video-ad');
var adContainerWidth = adContainer.offsetWidth;
var videoHeight = videoElement.offsetHeight;

var adsManager = this.player.ima.getAdsManager();


if (adsManager) {
adsManager.resize(adContainerWidth, videoHeight,
google.ima.ViewMode.NORMAL);
}
};

function prepareIMA(debugEnabled) {
window.imaAds = new PokktIMAWrapper(debugEnabled);
}

function initIMAWithTag(adTag, isAdTagAUrl) {


window.imaAds.initWithAdTag(adTag, isAdTagAUrl);
}

function playAd() {
window.imaAds.playAd();
}

function pauseAd() {
window.imaAds.pauseAd();
}

</script>
</body>
</html>

1554983890998 com.nazara.tinylabproductions.oggy executing f...

1554983890998 com.nazara.tinylabproductions.oggy Successfully downloaded IMA HTML

1554983891000 com.nazara.tinylabproductions.oggy f Request url:


https://pokktjs.pokkt.com/vjs/pokktVpaidWrapper.html

1554983891184 com.nazara.tinylabproductions.oggy f response: ;(function(omidGlobal)


{
'use strict';var h,aa='function'==typeof Object.defineProperties?
Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!
=Object.prototype&&(a[b]=c.value)},k='undefined'!=typeof window&&window===this?
this:'undefined'!=typeof global&&global?global:this;function ba(){ba=function()
{};k.Symbol||(k.Symbol=ca)}var da=0;function ca(a){return'jscomp_symbol_'+(a||'')
+da++}
function n(){ba();var a=k.Symbol.iterator;a||
(a=k.Symbol.iterator=k.Symbol('iterator'));'function'!=typeof
Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!
0,value:function(){return ea(this)}});n=function(){}}function ea(a){var b=0;return
fa(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}function fa(a)
{n();a={next:a};a[k.Symbol.iterator]=function(){return this};return a}function p(a)
{n();ba();n();var b=a[Symbol.iterator];return b?b.call(a):ea(a)}
function q(a,b){function c()
{}c.prototype=b.prototype;a.oa=b.prototype;a.prototype=new
c;a.prototype.constructor=a;for(var d in b)if('prototype'!
=d)if(Object.defineProperties){var
e=Object.getOwnPropertyDescriptor(b,d);e&&Object.defineProperty(a,d,e)}else
a[d]=b[d]}function r(a){if(!(a instanceof Array)){a=p(a);for(var b,c=[];!
(b=a.next()).done;)c.push(b.value);a=c}return a}
function ha(a,b){if(b){var c=k;a=a.split('.');for(var d=0;d<a.length-1;d++){var
e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!
=b&&aa(c,a,{configurable:!0,writable:!0,value:b})}}ha('Object.assign',function(a)
{return a?a:function(a,c){for(var b=1;b<arguments.length;b++){var
e=arguments[b];if(e)for(var f in
e)Object.prototype.hasOwnProperty.call(e,f)&&(a[f]=e[f])}return a}});
ha('Object.values',function(a){return a?a:function(a){var b=[],d;for(d in
a)Object.prototype.hasOwnProperty.call(a,d)&&b.push(a[d]);return b}});function
ia(a){return/\d+\.\d+\.\d+(-.*)?/.test(a)}function ja(a){a=a.split('-')
[0].split('.');for(var b=['1','0','3'],c=0;3>c;c++){var
d=parseInt(a[c],10),e=parseInt(b[c],10);if(d>e)break;else if(d<e)return!1}return!
0};function ka(a,b){return ia(a)&&ja(a)?b?b:[]:b&&'string'===typeof b?
JSON.parse(b):[]};var
t={da:'loaded',ka:'start',Z:'firstQuartile',ea:'midpoint',la:'thirdQuartile',Y:'com
plete',ga:'pause',ia:'resume',X:'bufferStart',W:'bufferFinish',ja:'skipped',na:'vol
umeChange',ha:'playerStateChange',U:'adUserInteraction'},la={aa:'generic',ma:'video
'},ma={F:'native',ba:'html'},na={F:'native',ca:'javascript',NONE:'none'},oa={V:'bac
kgrounded',$:'foregrounded'},pa={fa:'app'};function u(a,b,c,d)
{this.b=a;this.method=b;this.version=c;this.a=d}function qa(a){return!!a&&void 0!
==a.omid_message_guid&&void 0!==a.omid_message_method&&void 0!
==a.omid_message_version&&'string'===typeof a.omid_message_guid&&'string'===typeof
a.omid_message_method&&'string'===typeof a.omid_message_version&&(void
0===a.omid_message_args||void 0!==a.omid_message_args)}function ra(a){return new
u(a.omid_message_guid,a.omid_message_method,a.omid_message_version,a.omid_message_a
rgs)}
function sa(a){var
b={};b=(b.omid_message_guid=a.b,b.omid_message_method=a.method,b.omid_message_versi
on=a.version,b);void 0!==a.a&&(b.omid_message_args=a.a);return b};function ta(a)
{this.b=a};function ua(a){var
b=a.document.createElement('iframe');b.id='omid_v1_present';b.name='omid_v1_present
';b.style.display='none';a.document.body.appendChild(b)}function za(){var a=v,b=new
MutationObserver(function(c){c.forEach(function(c)
{'BODY'===c.addedNodes[0].nodeName&&(ua(a),b.disconnect())})});b.observe(a.document
.documentElement,{childList:!0})};function z(a)
{this.b=a;this.handleExportedMessage=z.prototype.c.bind(this)}q(z,ta);z.prototype.s
endMessage=function(a,b){b=void 0===b?this.b:b;if(!b)throw Error('Message
destination must be defined at construction time or when sending the
message.');b.handleExportedMessage(sa(a),this)};z.prototype.c=function(a,b)
{qa(a)&&this.a&&this.a(ra(a),b)};function C(a){for(var b=[],c=0;c<arguments.length;
++c)b[c-0]=arguments[c];Aa(function(){throw new
(Function.prototype.bind.apply(Error,[null].concat(['Could not complete the test
successfully - '],r(b))));},function(){return console.error.apply(console,
[].concat(r(b)))})}function Ba(a){for(var b=[],c=0;c<arguments.length;++c)b[c-
0]=arguments[c];Aa(function(){},function(){return console.error.apply(console,
[].concat(r(b)))})}
function Aa(a,b){'undefined'!==typeof jasmine&&jasmine?a():'undefined'!==typeof
console&&console&&console.error&&b()};var Ca=eval('this'),v=function()
{if('undefined'!==typeof omidGlobal&&omidGlobal)return omidGlobal;if('undefined'!
==typeof global&&global)return global;if('undefined'!==typeof window&&window)return
window;if('undefined'!==typeof Ca&&Ca)return Ca;throw Error('Could not determine
global object context.');}();function E(a,b){this.b=b=b?b:v;var
c=this;a.addEventListener('message',function(a){if('object'===typeof a.data){var
b=a.data;qa(b)&&a.source&&c.a&&c.a(ra(b),a.source)}})}q(E,ta);E.prototype.sendMessa
ge=function(a,b){b=b?b:this.b;if(!b)throw Error('Message destination must be
defined at construction time or when sending the
message.');b.postMessage(sa(a),'*')};function Da(a,b)
{this.y=this.x=0;this.width=a;this.height=b};function F(a,b)
{this.x=a.x;this.y=a.y;this.width=a.width;this.height=a.height;this.endX=this.x+thi
s.width;this.endY=this.y+this.height;this.adSessionId=a.adSessionId||void
0;this.isFriendlyObstructionFor=a.isFriendlyObstructionFor||
[];this.clipsToBounds=void 0!==a.clipsToBounds?!0===a.clipsToBounds:!
0;this.childViews=a.childViews||[];this.isCreative=a.isCreative||!
1;this.a=b}function Ea(a){var b={};return b.width=a.width,b.height=a.height,b}
function I(a){var b={};return Object.assign({},Ea(a),(b.x=a.x,b.y=a.y,b))}function
J(a){var b=I(a),c={};return Object.assign({},b,
(c.endX=a.endX,c.endY=a.endY,c))}function Fa(a,b,c)
{a.x+=b;a.y+=c;a.endX+=b;a.endY+=c}F.prototype.u=function(a){if(!a)return!
1;a=I(a);var b=a.y,c=a.width,d=a.height;return
this.x===a.x&&this.y===b&&this.width===c&&this.height===d};function Ga(a){return
a.width*a.height};function Ha(a,b){a=I(a);for(var c=[],d=[],e=0;e<b.length;e++){var
f=I(b[e]),l=Math.max(a.y,f.y),g=Math.min(a.x+a.width,f.x+f.width),m=Math.min(a.y+a.
height,f.y+f.height);K(c,Math.max(a.x,f.x));K(c,g);K(d,l);K(d,m)}c=c.sort(function(
a,b){return a-b});d=d.sort(function(a,b){return a-b});return{S:c,T:d}}function
K(a,b){-1===a.indexOf(b)&&a.push(b)};function Ia()
{this.a=this.b=this.l=this.j=this.c=this.i=void
0;this.m=0;this.g=[];this.f=[];this.h=[]}Ia.prototype.u=function(a){return a?
JSON.stringify(L(this))===JSON.stringify(L(a)):!1};
function L(a){var b=[],c={viewport:a.i,adView:
{percentageInView:a.m,reasons:a.h}};if(a.b)
{c.adView.geometry=I(a.b);c.adView.onScreenGeometry=I(a.a);for(var
d=0;d<a.f.length;d+
+)b.push(I(a.f[d]));c.adView.onScreenGeometry.obstructions=b;a.j&&a.l&&(c.adView.co
ntainerGeometry=I(a.j),c.adView.onScreenContainerGeometry=I(a.l),c.adView.measuring
Element=!0)}return c}
function Ja(a,b)
{b=Ea(b);a.i={};a.i.width=b.width;a.i.height=b.height;a.c={};a.c.x=0;a.c.y=0;a.c.wi
dth=b.width;a.c.height=b.height;a.c.endX=b.width;a.c.endY=b.height}function Ka(a,b)
{var
c={};c.x=Math.max(a.x,b.x);c.y=Math.max(a.y,b.y);c.endX=Math.min(a.endX,b.endX);c.e
ndY=Math.min(a.endY,b.endY);c.width=Math.max(0,c.endX-
c.x);c.height=Math.max(0,c.endY-c.y);return c}function La(a,b){return
a.width<b.width||a.height<b.height}
function Ma(a){var b=Ga(a.b);if(b){var c=Ga(a.a);var d=a.f,e=0;if(0<d.length){var
f=Ha(a.a,d),l=f.S;f=f.T;for(var g=0;g<l.length-1;g++)for(var m=(l[g]+(l[g]
+1))/2,N=l[g+1]-l[g],x=0;x<f.length-1;x++){for(var A=(f[x]+(f[x]+1))/2,G=f[x+1]-
f[x],H=!1,B=0;B<d.length;B++){var
w=I(d[B]);if(w.x<m&&w.x+w.width>m&&w.y<A&&w.y+w.height>A){H=!
0;break}}H&&(e+=Math.round(N)*Math.round(G))}}b=Math.round((c-
e)/b*100);a.m=Math.max(b,0)}}
function M(a,b){for(var c=!1,d=0;d<a.h.length;d++)a.h[d]===b&&(c=!0);c||
a.h.push(b)};function Na(){}function Oa(a,b,c,d){var e=new Ia(0);b=new F(b,!
1);Ja(e,b);Pa(a,b,e,d);if('backgrounded'===c)M(e,'backgrounded');else if(e.b)
{for(a=0;a<e.g.length;a++){c=e.g[a];if(0!==c.width&&0!==c.height&&e.a)
{d=J(e.a);b=d.y;var f=d.endX,l=d.endY;c=!(c.endX<=d.x||c.x>=f||c.endY<=b||
c.y>=l)}else c=!1;if(c){a:{c=e.g[a];for(d=0;d<e.f.length;d++)if(e.f[d].u(c)){c=!
0;break a}c=!1}c=!c}c&&(M(e,'obstructed'),e.f.push(e.g[a]))}Ma(e)}else
M(e,'notFound');return e}
function Pa(a,b,c,d){var e=b.isCreative?!0:b.adSessionId===d;if(e){c.b=b;var
f=J(c.b);a=Ka(c.c,f);La(a,f)&&M(c,'clipped');c.a=new F(a,!1)}else if(f=!0,b.a&&(f=-
1!==b.isFriendlyObstructionFor.indexOf(d)?!1:!1===b.clipsToBounds),f)for(var
l=b.childViews,g=0;g<l.length;g++)f=!!c.b,Pa(a,new F(l[g],f),c,d);!e&&c.b&&(b.a?-1!
==b.isFriendlyObstructionFor.indexOf(d)||c.g.push(b):
(e=J(b),d=J(c.a),I(c.a),a=c.a,0!==a.width&&0!
==a.height&&b.clipsToBounds&&(b=Ka(d,e),La(b,d)&&(M(c,'clipped'),c.a=new F(b,!
1)))))}
;function Qa(){return{apiVersion:'1.0',accessMode:'limited',omidJsInfo:
{omidImplementer:'omsdk',serviceVersion:'1.1.3-iab493'}}}function Ra()
{this.adSessionId=null;this.c=Qa();this.j='foregrounded';this.b=this.a='none';this.
i=this.g=this.f=this.A=this.B=this.l=null;this.m=!0}var O;function P(){O||(O=new
Ra);return O};function Sa(a,b)
{this.b=a;this.c=b}k.Object.defineProperties(Sa.prototype,{a:{configurable:!
0,enumerable:!0,get:function(){return this.b}},origin:{configurable:!0,enumerable:!
0,get:function(){return this.c}}});function Ta()
{this.b=[];this.c=[];this.g=[];this.h=[];this.f={};this.a=P()}function Ua(a)
{a.b=[];a.c=[];a.g=[];a.h=[];a.f={};O.adSessionId=null;O.c=Qa();O.v=void 0;O.w=void
0;O.h=null;O.s=null;O.C=null;O.j='foregrounded';O.a='none';O.b='none';O.l=null;O.B=
null;O.A=null;O.f=null;O.g=null;O.i=null;O.m=!0}function Va(a,b){!1!
==Wa(b)&&a.g.filter(function(a){return a.type===b.a.type}).forEach(function(c)
{return a.i(c.o,b.a)})}
function Xa(a,b,c){a.b.filter(function(a){return
a.a.type===b&&Wa(a)}).map(function(a){return a.a}).forEach(c)}function Wa(a){var
b=a.a.type,c=-1!==Object.values(t).indexOf(b)&&'volumeChange'!
==b;return'impression'===b?a.origin===P().b:c?a.origin===P().a:!0}function
Ya(a,b,c){'video'===b?Za(a,c):(a.g.push({type:b,o:c}),Xa(a,b,c))}function Za(a,b)
{Object.keys(t).forEach(function(c){c=t[c];a.g.push({type:c,o:b});Xa(a,c,b)})}
function $a(a,b,c){a.h.push({R:c,o:b});a.c.forEach(function(d){var
e=ab(d);'sessionStart'===d.a.type&&(e.data.verificationParameters=c&&a.f[c]);a.i(b,
e)})}function bb(a){return a.b.some(function(a){return'impression'===a.a.type})||
a.c.some(function(a){return'impression'===a.a.type})}function Q(a,b,c){var
d=S(a,'sessionError','native',
{errorType:b,message:c});a.c.push(d);a.h.forEach(function(b){a.i(b.o,d.a)})}
function cb(a,b){a.f=Object.assign(a.f,b);if(b=a.a.c){var
c=S(a,'sessionStart','native',{context:b});a.c.push(c);a.h.forEach(function(b){var
d=b.o,f=ab(c);b=b.R;f.data.verificationParameters=b&&a.f[b];a.i(d,f)},a)}}function
db(a){var
b=a.h,c=S(a,'sessionFinish','native');a.c.push(c);Ua(a);b.forEach(function(b)
{return a.i(b.o,c.a)})}Ta.prototype.i=function(a,b){for(var
c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];try{a.apply(null,
[].concat(r(c)))}catch(e){Ba(e)}};
function eb(a,b){var c=a.a.A;var d=(d=P().h)?L(d).viewport:void 0;var e=(e=P().h)?
L(e).adView:void 0;b=S(a,'impression',b,
{mediaType:c,viewport:d,adView:e});a.b.push(b);Va(a,b)}function fb(a,b,c,d)
{'start'!==b&&'volumeChange'!==b||null!=(d&&d.deviceVolume)||
(d.deviceVolume=a.a.l);'start'!==b&&'volumeChange'!==b||
null==(d&&d.videoPlayerVolume)||
(a.a.B=d.videoPlayerVolume);b=S(a,b,c,d);a.b.push(b);Va(a,b)}
function gb(a,b){var c=a.g.filter(function(a)
{return'loaded'===a.type}).map(function(a){return a.o}),d=a.b.filter(function(a)
{return'loaded'===a.a.type&&a.origin===b}).map(function(a){return
a.a});c.forEach(function(a){d.forEach(a)})}function hb(a,b){return'none'!
==a.a.b&&a.a.b!==b?(C('Impression event is owned by '+(a.a.b+', not '+b+'.')),!1):!
0}function ib(a,b){return'none'!==a.a.a&&a.a.a!==b?(C('Video events are owned by '+
(a.a.a+', not '+b+'.')),!1):!0}
function S(a,b,c,d){return new Sa({adSessionId:a.a.adSessionId||'',timestamp:(new
Date).getTime(),type:b,data:d},c)}function ab(a)
{a=a.a;return{adSessionId:a.adSessionId,timestamp:a.timestamp,type:a.type,data:a.da
ta}};function jb(a,b,c){'container'===b&&void 0!==a.a.v&&a.a&&null!
=a.a.adSessionId&&(a.a.h=Oa(a.b,a.a.v,a.a.j,a.a.adSessionId));'creative'===b&&a.a.w
&&(a.a.s=Oa(a.b,a.a.w,a.a.j,a.a.adSessionId));if(a.a.h)if(a.a.s){b=new Ia(0);var
d=a.a.h,e=a.a.s,f=d.i,l=d.b,g=d.a,m=e.b;e=e.a;f&&l&&g&&m&&e&&(Ja(b,f),b.j=new F(l,!
1),b.l=new F(g,!
1),b.g=Object.assign([],d.g),b.f=Object.assign([],d.f),b.h=Object.assign([],d.h),d=
b.j.x,f=b.j.y,m=new F(m,!1),e=new F(e,!1),Fa(m,d,f),Fa(e,d,f),b.b=m,b.a=Ka(e,g),-
1===b.h.indexOf('backgrounded')&&
Ma(b))}else b=a.a.h;else b=null;g=a.a.C;if(b&&!b.u(g)||
c)g=L(b),c&&(g.adView.reasons=g.adView.reasons||
[c]),c=a.c,g=S(c,'geometryChange','native',
{viewport:g.viewport,adView:g.adView}),c.b.push(g),Va(c,g),a.a.C=b};function
lb(a,b,c){this.i=a;this.v=b;this.j=c;this.c=P();this.b=null;this.a=this.g=void
0;this.m=!0;T(this)}function T(a){if(!a.b){var b;a:
{if((b=a.i.document)&&b.getElementsByClassName&&(b=b.getElementsByClassName('omid-
element'))){if(1==b.length){b=b[0];break a}1<b.length&&a.m&&(Q(a.j,'generic',"More
than one element with 'omid-element' class name."),a.m=!
1)}b=null}b&&(b.tagName&&'video'===b.tagName.toLowerCase()?a.c.g=b:a.c.f=b,mb(a))}}
function mb(a){a.c.g?
(a.b=a.c.g,a.h()):a.c.f&&(a.b=a.c.f,'iframe'===a.b.tagName.toLowerCase()?
a.c.i&&a.h():a.h())}function nb(a)
{if(a.a&&a.g)if(a.b.tagName&&'iframe'===a.b.tagName.toLowerCase()){if(a.c.i)
{a:if(a.c.i){var b=new F(a.c.i,!1);Fa(b,a.a.x,a.a.y);b.clipsToBounds=!
0;b.isCreative=!0;for(var c=0;c<a.a.childViews.length;c+
+)if(a.a.childViews[c].isCreative){a.a.childViews[c]=b;break
a}a.a.childViews.push(b)}ob(a)}}else a.a.isCreative=!0,ob(a)}function ob(a)
{a.c.w=a.g;jb(a.v,'creative')};function pb(a,b,c){return qb(a,'setInterval')
(b,c)}function rb(a,b){qb(a,'clearInterval')(b)}function sb(a,b)
{qb(a,'clearTimeout')(b)}function qb(a,b){return a.a&&a.a[b]?a.a[b]:tb(a,b)}
function ub(a,b,c,d){if(a.a.document&&a.a.document.body){var
e=a.a.document.createElement('img');e.width=1;e.height=1;e.style.display='none';e.s
rc=b;c&&e.addEventListener('load',function(){return
c()});d&&e.addEventListener('error',function(){return
d()});a.a.document.body.appendChild(e)}else tb(a,'sendUrl')(b,c,d)}function tb(a,b)
{if(a.a&&a.a.omidNative&&a.a.omidNative[b])return
a.a.omidNative[b].bind(a.a.omidNative);throw Error('Native interface method "'+b+'"
not found.');};function vb(a,b,c,d){lb.call(this,a,b,d);this.f=void
0;this.l=c}q(vb,lb);vb.prototype.s=function(){void 0!
==this.f&&(rb(this.l,this.f),this.f=void 0)};vb.prototype.h=function(){var
a=this;this.b?void 0===this.f&&(this.f=pb(this.l,function(){return
wb(a)},200),wb(this)):this.f=void 0};
function wb(a){if(void 0!==a.f){var b=new F(new
Da(a.i.innerWidth,a.i.innerHeight),!1),c=a.b.getBoundingClientRect();if(null==c.x||
isNaN(c.x))c.x=c.left;if(null==c.y||isNaN(c.y))c.y=c.top;c=new F(c,!
1);b.u(a.g)&&c.u(a.a)||(a.a=c,a.a.clipsToBounds=!
0,a.g=b,a.g.childViews.push(a.a),nb(a))}};function xb(a,b,c)
{lb.call(this,a,b,c);this.f=void 0}q(xb,lb);xb.prototype.s=function()
{this.f&&this.b&&this.f.unobserve(this.b)};xb.prototype.h=function(){this.b&&!
this.f&&(this.f=yb(this),this.f.observe(this.b))};
function yb(a){return new a.i.IntersectionObserver(function(b){try{if(b.length)
{for(var c=b[0],d=1;d<b.length;d++)b[d].time>c.time&&(c=b[d]);b=c;a.g=new
F(b.rootBounds,!1);a.a=new F(b.boundingClientRect,!1);a.a.clipsToBounds=!
0;a.g.childViews.push(a.a);nb(a)}}catch(e){a.s(),Q(a.j,'generic','Problem handling
IntersectionObserver callback: '+e.message)}},
{root:null,rootMargin:'0px',threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]})};function
U(a){return'string'===typeof a}function V(a){return'object'===typeof a}function
zb(a){return'number'===typeof a&&!isNaN(a)&&0<=a}function W(a,b){return U(a)&&-1!
==Object.values(b).indexOf(a)};function X(a,b,c,d,e)
{this.b=a;this.f=b;this.g=c;this.c=e;this.a=P()}h=X.prototype;
h.H=function(a){if(a&&V(a)&&W(a.impressionOwner,na)&&(!('videoEventsOwner'in
a&&null!=a.videoEventsOwner)||W(a.videoEventsOwner,na))){var
b=a.videoEventsOwner;this.a.A=null==b||'none'===b?'display':'video';a&&null!
=a.isolateVerificationScripts&&'boolean'===typeof
a.isolateVerificationScripts&&(this.a.m=a.isolateVerificationScripts);b=this.b;var
c=a.impressionOwner;a=a.videoEventsOwner;bb(b)?C('Impression event has occcured
before the event owners have been registered.'):(b.a.b!==c&&'none'===b.a.b&&
(b.a.b=c),b.a.a!==a&&'none'===b.a.a&&(b.a.a=a),gb(b,a))}};
h.P=function(a,b,c){var d;if(d=V(b))
{if(d=W(b.environment,pa)&&W(b.adSessionType,ma))d=b.omidNativeInfo,d=V(d)?
U(d.partnerName)&&U(d.partnerVersion):!1;d&&(d=b.app,d=V(d)?
U(d.libraryVersion)&&U(d.appId):!1)}d&&(this.a.adSessionId=a,a=b,b=this.a.c||
{},a.omidJsInfo=Object.assign({},b.omidJsInfo||{},a.omidJsInfo||
{}),b=a=Object.assign({},b,a),this.a.m||(this.a.g?
(b.videoElement=this.a.g,b.accessMode='full'):this.a.f&&(b.slotElement=this.a.f,b.a
ccessMode='full')),this.a.c=a,cb(this.b,c),this.c&&T(this.c))};
h.G=function(){db(this.b)};h.N=function(a)
{V(a)&&zb(a.x)&&zb(a.y)&&zb(a.width)&&zb(a.height)&&(this.a.v=a,jb(this.f,'containe
r'))};h.O=function(a){W(a,oa)&&(this.a.j=a,'backgrounded'===a?
jb(this.f,'container','backgrounded'):jb(this.f,'container'))};h.L=function(a)
{'impression'===a&&(this.D(),this.c&&T(this.c))};h.D=function()
{hb(this.b,'native')&&eb(this.b,'native')};h.error=function(a,b)
{W(a,la)&&Q(this.b,a,b)};
h.I=function(a,b){ib(this.b,'native')&&W(a,t)&&(void 0===b||
V(b))&&fb(this.b,a,'native',b)};h.M=function(a){if('none'!
==this.b.a.a&&'number'===typeof a&&!isNaN(a)){this.a.l=a;a=this.g;var b=a.a.B;null!
=b&&fb(a.b,'volumeChange','native',
{videoPlayerVolume:b,deviceVolume:a.a.l})}};X.prototype.startSession=X.prototype.P;
X.prototype.error=X.prototype.error;X.prototype.finishSession=X.prototype.G;X.proto
type.publishAdEvent=X.prototype.L;X.prototype.publishImpressionEvent=X.prototype.D;
X.prototype.publishVideoEvent=X.prototype.I;X.prototype.setNativeViewHierarchy=X.pr
ototype.N;X.prototype.setState=X.prototype.O;X.prototype.setDeviceVolume=X.prototyp
e.M;X.prototype.init=X.prototype.H;function Ab(a,b,c){var d=this;c=c?
c:v;this.b=a;this.a=b;this.i=c;this.h=new z;c.omid=c.omid||
{};c.omid.v1_SessionServiceCommunication=this.h;this.f=null;c&&c.addEventListener&&
c.postMessage&&(this.f=new
E(c));this.h.a=this.J.bind(this);this.f&&(this.f.a=this.K.bind(this));this.c=[];thi
s.g=!1;Bb(this,function(a){return Cb(d,a)})}function Bb(a,b){$a(a.b,b)}function
Db(a,b){P().f=b;a.a&&mb(a.a)}function Eb(a,b){P().g=b;a.a&&mb(a.a)}function Fb(a,b)
{P().i=b;a.a&&mb(a.a);a.a&&nb(a.a)}h=Ab.prototype;
h.error=function(a,b){Q(this.b,a,b)};function Gb(a)
{hb(a.b,'javascript')&&(eb(a.b,'javascript'),a.a&&T(a.a))}h.loaded=function(a){var
b={skippable:a.isSkippable,autoPlay:a.isAutoPlay,position:a.position};a.isSkippable
&&(b.skipOffset=a.skipOffset);fb(this.b,'loaded','javascript',b);this.a&&T(this.a)}
;h.start=function(a,b){Y(this,'start',
{duration:a,videoPlayerVolume:b});this.a&&T(this.a)};
function Hb(a){if(a.g&&a.c.length){var b=a.c;if(a.i&&'undefined'!==typeof
a.i.document)for(var c=P().m,d=0;d<b.length;d++){var
e=b[d],f=d,l=e.resourceUrl,g=a.i.document,m=g.createElement('iframe');c&&(m.sandbox
='allow-scripts');m.id='omid-verification-script-
frame-'+f;m.style.display='none';m.srcdoc='<html><head>'+('<script
type="text/javascript" src="'+l+'">\x3c/script>')
+'</head><body></body></html>';g.body.appendChild(m);f=e.vendorKey;e=e.verification
Parameters;f=void 0===f?'':f;e=void 0===e?'':
e;f&&'string'===typeof f&&''!==f&&e&&'string'===typeof e&&''!==e&&(a.b.f[f]=e)}else
C('OMID Session Client is not running within a window');a.c=[]}}function Ib(a){var
b=P().c.omidJsInfo;a(b.serviceVersion)}function Cb(a,b)
{'sessionStart'===b.type&&(a.g=!0,Hb(a));'sessionFinish'===b.type&&(a.g=!
1,Bb(a,function(b){return Cb(a,b)}))}function Jb(a,b,c){var d=P().c||
{};d.omidJsInfo=Object.assign({},d.omidJsInfo,
{sessionClientVersion:a,partnerName:b,partnerVersion:c});P().c=d}
function Y(a,b,c){'javascript'===P().a&&fb(a.b,b,'javascript',c)}h.K=function(a,b)
{Kb(this,a,b,this.f)};h.J=function(a,b){Kb(this,a,b,this.h)};
function Kb(a,b,c,d){function e(a){for(var b=[],e=0;e<arguments.length;++e)b[e-
0]=arguments[e];b=new u(f,'response',g,ia(g)&&ja(g)?
b:JSON.stringify(b));d.sendMessage(b,c)}var
f=b.b,l=b.method,g=b.version;b=ka(g,b.a);try{switch(l){case
'SessionService.registerAdEvents':hb(a.b,'javascript');break;case
'SessionService.registerVideoEvents':ib(a.b,'javascript');break;case
'SessionService.registerSessionObserver':Bb(a,e);break;case
'SessionService.setSlotElement':var m=p(b).next().value;Db(a,m);break;case
'SessionService.setVideoElement':var N=
p(b).next().value;Eb(a,N);break;case 'SessionService.setElementBounds':var
x=p(b).next().value;Fb(a,x);break;case
'SessionService.impressionOccurred':Gb(a);break;case 'SessionService.loaded':var
A=p(b).next().value;a.loaded(A);break;case 'SessionService.start':var
G=p(b),H=G.next().value,B=G.next().value;a.start(H,B);break;case
'SessionService.firstQuartile':Y(a,'firstQuartile');break;case
'SessionService.midpoint':Y(a,'midpoint');break;case
'SessionService.thirdQuartile':Y(a,'thirdQuartile');break;
case 'SessionService.complete':Y(a,'complete');break;case
'SessionService.pause':Y(a,'pause');break;case
'SessionService.resume':Y(a,'resume');break;case
'SessionService.bufferStart':Y(a,'bufferStart');break;case
'SessionService.bufferFinish':Y(a,'bufferFinish');break;case
'SessionService.skipped':Y(a,'skipped');break;case
'SessionService.volumeChange':var w=p(b).next().value;Y(a,'volumeChange',
{videoPlayerVolume:w});break;case 'SessionService.playerStateChange':var
va=p(b).next().value;Y(a,'playerStateChange',
{state:va});break;case 'SessionService.adUserInteraction':var
wa=p(b).next().value;Y(a,'adUserInteraction',{interactionType:wa});break;case
'SessionService.setClientInfo':var
R=p(b),xa=R.next().value,ya=R.next().value,y=R.next().value;Jb(xa,ya,y);Ib(e);break
;case 'SessionService.injectVerificationScriptResources':var
Rb=p(b).next().value;a.c.push.apply(a.c,[].concat(r(Rb)));Hb(a);break;case
'SessionService.sessionError':var
kb=p(b),Sb=kb.next().value,Tb=kb.next().value;a.error(Sb,Tb)}}catch(D)
{d.sendMessage(new u(f,
'error',g,'\n name: '+D.name+'\n message: '+D.message+'\n
filename: '+D.filename+'\n lineNumber: '+D.lineNumber+'\n
columnNumber: '+D.columnNumber+'\n stack: '+D.stack+'\n
toString(): '+D.toString()+'\n '),c)}};function Lb(a,b,c){c=c?
c:v;this.g=a;this.a=b;this.h={};this.f={};this.c=new z;c.omid=c.omid||
{};c.omid.v1_VerificationServiceCommunication=this.c;this.b=null;c&&c.addEventListe
ner&&c.postMessage&&(this.b=new
E(c));this.c.a=this.i.bind(this);this.b&&(this.b.a=this.j.bind(this))}function
Mb(a,b,c,d){ub(a.a,b,c,d)}function Nb(a,b,c,d){tb(a.a,'downloadJavaScriptResource')
(b,c,d)}Lb.prototype.j=function(a,b)
{this.b&&Ob(this,a,b,this.b)};Lb.prototype.i=function(a,b){Ob(this,a,b,this.c)};
function Ob(a,b,c,d){function e(a){for(var b=[],e=0;e<arguments.length;++e)b[e-
0]=arguments[e];b=new u(f,'response',g,ia(g)&&ja(g)?
b:JSON.stringify(b));d.sendMessage(b,c)}var
f=b.b,l=b.method,g=b.version;b=ka(g,b.a);try{switch(l){case
'VerificationService.addEventListener':var
m=p(b).next().value;Ya(a.g,m,e);break;case
'VerificationService.addSessionListener':var N=p(b).next().value;
$a(a.g,e,N);break;case 'VerificationService.sendUrl':var
x=p(b).next().value;Mb(a,x,function(){return e(!0)},function(){return e(!1)});
break;case 'VerificationService.setTimeout':var
A=p(b),G=A.next().value,H=A.next().value;a.h[G]=qb(a.a,'setTimeout')
(e,H);break;case 'VerificationService.clearTimeout':var
B=p(b).next().value;sb(a.a,a.h[B]);break;case 'VerificationService.setInterval':var
w=p(b),va=w.next().value,wa=w.next().value;a.f[va]=pb(a.a,e,wa);break;case
'VerificationService.clearInterval':var
R=p(b).next().value;rb(a.a,a.f[R]);break;case
'VerificationService.injectJavaScriptResource':var
xa=p(b).next().value;Nb(a,xa,function(a){return e(!0,
a)},function(){return e(!1)});break;case
'VerificationService.getVersion':p(b).next();var
ya=P().c.omidJsInfo;e(ya.serviceVersion)}}catch(y){d.sendMessage(new
u(f,'error',g,'\n name: '+y.name+'\n message:
'+y.message+'\n filename: '+y.filename+'\n lineNumber:
'+y.lineNumber+'\n columnNumber: '+y.columnNumber+'\n
stack: '+y.stack+'\n toString(): '+y.toString()+'\n
'),c)}};var Z=new Ta,Pb=new function(){var a;this.a=a=void 0===a?omidGlobal:a};new
Lb(Z,Pb);var Qb=new function(){var a=new Na;this.c=Z;this.b=a;this.a=P()},Ub=v?
v.IntersectionObserver?new xb(v,Qb,Z):new vb(v,Qb,Pb,Z):null;new
Ab(Z,Ub);v.omidBridge=new X(Z,Qb,new function(){var a=P();this.b=Z;this.a=a},new
function(){},Ub);if(v.frames&&v.document&&!('omid_v1_present'in v.frames)){var
Vb;if(Vb=!v.document.body)Vb='MutationObserver'in v;Vb?za():v.document.body?
ua(v):v.document.write('<iframe style="display:none" id="omid_v1_present"
name="omid_v1_present"></iframe>')};
}).call(this, this);

1554983891188 com.nazara.tinylabproductions.oggy executing d...


1554983891188 com.nazara.tinylabproductions.oggy Successfully downloaded OM JS

1554983891211 com.nazara.tinylabproductions.oggy 360 POKKT SDK not found

1554983891212 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155498389121122d09d9c8535860dbe79c66456b12c9f

1554983891213 com.nazara.tinylabproductions.oggy md5_token id


4fcd1555814cb387bf976ed0cc087c67

1554983891244 com.nazara.tinylabproductions.oggy f response: <html>


<head>
<meta charset="utf-8" />
<title>Pokkt Video</title>

<!-- Console Logger -->


<script type="text/javascript">
/**
* console logger
**/
(function() {
var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};

var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};

log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};

log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};

log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());
</script>

<!-- Pokkt Specific -->


<script type="text/javascript">
//alert('hi!');
window.name = "pokkt_video_window";
log.i('window name: ' + window.name);

function is_pokkt_sdk() {
return true;
}

function pokkt_on_close() {
pauseAd();
if (typeof(Android) != "undefined" && Android.closeInterstitial) {
Android.closeInterstitial();
} else {
if (window.external && window.external.notify) {
window.external.notify("closeInterstitial");
}
}
}

function pokktOnComplete() {
if (typeof(Android) != "undefined" && Android.gratifyInterstitial)
{
Android.gratifyInterstitial();
} else {
if(window && window.external && window.external.notify) {
window.external.notify("gratifyInterstitial");
}
}
}

// function injectScript() {
// var Android = {};
// function closeInterstitial() {
// setTimeout(function() {
// window.location = 'pokkt://closeInterstitial';
// }, 1000);
// };

// function gratifyInterstitial() {
// window.location = 'pokkt://gratifyInterstitial';
// };
// Android.closeInterstitial = closeInterstitial;
// Android.gratifyInterstitial = gratifyInterstitial;
// window.Android = Android;
// }
// injectScript();
</script>

<!-- VideoJS -->


<link href="https://pokktjs.pokkt.com/vjs/videojs7/video-js.css"
rel="stylesheet">
<script src="https://pokktjs.pokkt.com/vjs/videojs7/video.min.js"
type="text/javascript"></script>

<!-- VideoJS VAST-VPAID Plugin -->


<link href="https://pokktjs.pokkt.com/vjs/videojs.vast.vpaid.min.css"
rel="stylesheet">
<script src="https://pokktjs.pokkt.com/vjs/vjs_plugin.min.js"></script>
<!-- OM SESSION CLIENT -->
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/omidsupport/omid-session-client-v1.js"></script>

<!-- Pokkt-JS Bridge -->


<script type="text/javascript">
/**
* bridge
**/
(function() {
window.pokktNativeBridge = {};
window.pokktNativeBridge.notifyNative = function(operation, params)
{
log.i('notifying native of: ' + operation + ' , with params: ' +
params);

var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "pokktbridge://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};
} ());
</script>

<!-- Pokkt-OM Wrapper -->


<script type="text/javascript">
(function() {
var pokktOMIDBridge = window.pokktOMIDBridge = {};

pokktOMIDBridge.createOMIDSession = function(omidSDKVersion,
vendors, partnerName, partnerVersion) {
log.i('creating omid session...');

var sessionClient;

try {
sessionClient = OmidSessionClient[omidSDKVersion];
} catch (e) {
log.i('error creating sessionClient!');
}

if (!sessionClient) {
log.i('sessionClient not available!');
pokktNativeBridge.notifyNative('omWrapperFailed');
return;
}

const AdSession = sessionClient.AdSession;


const Partner = sessionClient.Partner;
const Context = sessionClient.Context;
const VerificationScriptResource =
sessionClient.VerificationScriptResource;
const AdEvents = sessionClient.AdEvents;
const VideoEvents = sessionClient.VideoEvents;
log.i('compiling verification resources...');
var resources = [];
for (var i = 0; i < vendors.length; i++) {
var vendor = vendors[i];
var resource = new
VerificationScriptResource(vendor.javascriptResourceUrl, vendor.vendorKey,
vendor.verificationParameters);
resources.push(resource);
}

if (!resources.length) {
log.i('no verification resources found!');
pokktNativeBridge.notifyNative('omWrapperFailed');
return;
}

var partner = new Partner(partnerName, partnerVersion);


var context = new Context(partner, resources);
var adSession = new AdSession(context);
pokktOMIDBridge.adSession = adSession;

const videoElement = document.getElementById("pokkt-video-ad");


context.setVideoElement(videoElement);

const adEvents = new AdEvents(adSession);


const videoEvents = new VideoEvents(adSession);
pokktOMIDBridge.videoEvents = videoEvents;

adSession.registerSessionObserver(function (event) {
log.i('omid session event: ' + event.type)
if (event.type === "sessionStart") {
videoEvents.loaded({ isSkippable: true, isAutoPlay:
true, position: 'standalone' });
adEvents.impressionOccurred();
} else if (event.type === "sessionError") {
log.i('session error occured! ' + event);
} else if (event.type === "sessionFinish") {
log.i('session finished!');
}
});

log.i('notifying omid wrapper ready...');


pokktNativeBridge.notifyNative('omWrapperReady');
};
} ());

function initOMIDSession(pokktOMConfig) {
log.i('initializing omid session...');

if (pokktOMConfig === undefined) {


log.i('using dummy verification data');
// TEST DATA
pokktOMConfig = {
"omid_sdk_version" : "1.1.3-iab493",
"partner_name" : "Pokkt",
"partner_version" : "7.3.0",
"vendors" : [
{
"vendorKey": "iabtechlab.com-omid",
"javascriptResourceUrl": " https://s3-us-west-
2.amazonaws.com/omsdk-files/compliance-js/omid-validation-verification-script-
v1.js",
"verificationParameters": "iabtechlab-pokkt"
}
]
};
}

if (window.pokktOMIDBridge !== undefined && pokktOMConfig !==


undefined) {
var omidSDKVersion = pokktOMConfig.omid_sdk_version;
var partnerName = pokktOMConfig.partner_name;
var partnerVersion = pokktOMConfig.partner_version;
var vendors = pokktOMConfig.vendors;

log.i('omid version is ' + omidSDKVersion);


log.i('creating omid session with ' + partnerName + ', for
version ' + partnerVersion);
window.pokktOMIDBridge.createOMIDSession(omidSDKVersion,
vendors, partnerName, partnerVersion)
} else {
log.e('invalid pokktOMConfig OR pokktOMIDBridge not
available!');
}
}
</script>
</head>
<body>
<div class="pokkt-video-container" id="pokkt-video-container"
style="opacity:100">
<video id="pokkt-video-ad" class="video-js vjs-default-skin vjs-16-9"
controls webkit-playsinline playsinline preload="auto"
poster="https://pokktjs.pokkt.com/vjs/assets/logo.png" data-
setup='{}'>
<source src="https://pokktjs.pokkt.com/vjs/assets/blank.mp4"
type='video/mp4'>
</video>
</div>

<script type="text/javascript">
window.vjsPlayer = videojs('pokkt-video-ad', {
'controls':false,
'forceSSL':true
}, function () {
log.i('videojs is ready!');
setupEventListeners(this);
window.pokktNativeBridge.notifyNative('vjsPlayerReady');
//this.play();
});

var vastResponseXML = '';


function requestVASTXML(callback) {
setTimeout(function () {
// the macro should be replaced with a proper VAST xml
callback(null, vastResponseXML);
}, 0);
}
function setupVJS(isTagAnURL, vastTag, moatData, moatPartnerCode) {
var vastClientSettings = {};
vastClientSettings.adsCancelTimeout = 200000;
vastClientSettings.adsEnabled = true;
vastClientSettings.playAdAlways = true;
vastClientSettings.vpaidFlashLoaderPath =
'https://vdo.pokkt.com/video-js-4.12/vpaid/VPAIDFlash.swf';
vastClientSettings.moatData = moatData;
vastClientSettings.moatPartnerCode = moatPartnerCode;
vastClientSettings.verbosity = 4;

if (isTagAnURL) {
vastClientSettings.adTagUrl = vastTag;
} else {
vastResponseXML = vastTag;
vastClientSettings.adTagXML = 'requestVASTXML';
}

window.vjsPlayer.vastClient(vastClientSettings);
}

function setupEventListeners(player) {
log.i('setting up listeners on player: ' + player);

player.on('vpaid.AdVideoStart', function(e) {
log.i('window.pokktOMIDBridge start');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
var duration = player.duration();
var muted = player.muted() ? 0 : 1;
if (!isNaN(duration)) {
window.pokktOMIDBridge.videoEvents.start(duration, muted);
} else {
// TODO: wait until duration is available to start
}
});

player.on('vpaid.AdVideoFirstQuartile', function(e) {
log.i('window.pokktOMIDBridge first quartile');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.firstQuartile();
});

player.on('vpaid.AdVideoMidpoint', function(e) {
log.i('window.pokktOMIDBridge midpoint');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.midpoint();
});

player.on('vpaid.AdVideoThirdQuartile', function(e) {
log.i('window.pokktOMIDBridge third quartile');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.thirdQuartile();
});

player.on('vpaid.AdVideoComplete', function(e) {
log.i('window.pokktOMIDBridge complete');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.complete();
});

player.on('vpaid.AdSkipped', function(e) {
log.i('window.pokktOMIDBridge skipped');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.skipped();
});

player.on('vpaid.AdPaused', function(e) {
log.i('window.pokktOMIDBridge paused');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.pause();
});

player.on('vpaid.AdPlaying', function(e) {
log.i('window.pokktOMIDBridge resumed');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.resume();
});
player.on('vpaid.AdVolumeChange', function(e) {
log.i('window.pokktOMIDBridge volume changed');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
var videoPlayerVolume = player.volume();
log.i('device volume is: ' + videoPlayerVolume);

window.pokktOMIDBridge.videoEvents.volumeChange(videoPlayerVolume);
});
}

function playAd() {
window.vjsPlayer.play();
}

function pauseAd() {
window.vjsPlayer.pause();
}
</script>

<script type="text/javascript">
// replace macros and call the following
// setupVJS(isTagAnURL, vastTag, moatData, moatPartnerCode);
setupVJS({{IS_TAG_A_URL}}, '{{VAST_TAG}}', {{MOAT_DATA}},
'{{MOAT_PARTNER_CODE}}');
</script>
</body>
</html>

1554983891247 com.nazara.tinylabproductions.oggy executing q...

1554983891247 com.nazara.tinylabproductions.oggy Successfully downloaded VPAID HTML

1554983891249 com.nazara.tinylabproductions.oggy Checking array data


[{"network_id":31,"event":2,"count":2}] after encoding %5B%7B%22network_id
%22%3A31%2C%22event%22%3A2%2C%22count%22%3A2%7D%5D

1554983891249 com.nazara.tinylabproductions.oggy d Request url:


https://vdo.pokkt.com/api/AdRequestV2?
network_id=31&ad_format=0&response_format=1&resolution=0&screen=screen&offerids=0&a
ppId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&androidID=&app_version=1.32&
device_id=&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&adv
ertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=3G&swidth=1080
&sheight=2040&carrier_name=Ufone&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n=
&ip=43.245.8.61&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=1554983891211&page=1&token=4fcd1555814cb387bf976ed0cc087c67&mac_ad
dress=&mobile_no=&email_address=&screen_density_x=409.432&screen_density_y=406.4&sc
reen_density_category=XXHDPI&maturity_rating=&asset_value=&pub_meta=&source=&name=&
age=&sex=&location=&marital_status=&birthday=&facebook_id=&twitter_handle=&educatio
n=&nationality=&latitude=&longitude=&address=&sessionId=4b57cb2e-d029-48fe-93e4-
1b0012d4ddb2&incent=1&preroll=1&udid=6254babc-98e5-42b8-a1a9-
9af626a79056&battery_level=10&encodedPubParams=&vdo_pt=0&gdpr_applicable=false&gdpr
_consent=true

1554983891250 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155498389124922d09d9c8535860dbe79c66456b12c9f

1554983891252 com.nazara.tinylabproductions.oggy md5_token id


9e17fb8ae34d4411f64e5c362038bc08

1554983891271 com.nazara.tinylabproductions.oggy q Request url:


https://vdo.pokkt.com/api/NetworkEventTrackerV2? parameters :
timestamp=1554983891249&gdpr_applicable=false&gdpr_consent=true&udid=6254babc-98e5-
42b8-a1a9-
9af626a79056&token=9e17fb8ae34d4411f64e5c362038bc08&network_event_count=[{"network_
id":31,"event":2,"count":2}]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.
0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7
.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=2040.0&swidt
h=1080.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=4b57cb2e-d029-48fe-93e4-1b0012d4ddb2

1554983891296 com.nazara.tinylabproductions.oggy f response: ;(function(omidGlobal)


{
'use strict';var h,aa='function'==typeof Object.defineProperties?
Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!
=Object.prototype&&(a[b]=c.value)},k='undefined'!=typeof window&&window===this?
this:'undefined'!=typeof global&&global?global:this;function ba(){ba=function()
{};k.Symbol||(k.Symbol=ca)}var da=0;function ca(a){return'jscomp_symbol_'+(a||'')
+da++}
function n(){ba();var a=k.Symbol.iterator;a||
(a=k.Symbol.iterator=k.Symbol('iterator'));'function'!=typeof
Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!
0,value:function(){return ea(this)}});n=function(){}}function ea(a){var b=0;return
fa(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}function fa(a)
{n();a={next:a};a[k.Symbol.iterator]=function(){return this};return a}function p(a)
{n();ba();n();var b=a[Symbol.iterator];return b?b.call(a):ea(a)}
function q(a,b){function c()
{}c.prototype=b.prototype;a.oa=b.prototype;a.prototype=new
c;a.prototype.constructor=a;for(var d in b)if('prototype'!
=d)if(Object.defineProperties){var
e=Object.getOwnPropertyDescriptor(b,d);e&&Object.defineProperty(a,d,e)}else
a[d]=b[d]}function r(a){if(!(a instanceof Array)){a=p(a);for(var b,c=[];!
(b=a.next()).done;)c.push(b.value);a=c}return a}
function ha(a,b){if(b){var c=k;a=a.split('.');for(var d=0;d<a.length-1;d++){var
e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!
=b&&aa(c,a,{configurable:!0,writable:!0,value:b})}}ha('Object.assign',function(a)
{return a?a:function(a,c){for(var b=1;b<arguments.length;b++){var
e=arguments[b];if(e)for(var f in
e)Object.prototype.hasOwnProperty.call(e,f)&&(a[f]=e[f])}return a}});
ha('Object.values',function(a){return a?a:function(a){var b=[],d;for(d in
a)Object.prototype.hasOwnProperty.call(a,d)&&b.push(a[d]);return b}});function
ia(a){return/\d+\.\d+\.\d+(-.*)?/.test(a)}function ja(a){a=a.split('-')
[0].split('.');for(var b=['1','0','3'],c=0;3>c;c++){var
d=parseInt(a[c],10),e=parseInt(b[c],10);if(d>e)break;else if(d<e)return!1}return!
0};function ka(a,b){return ia(a)&&ja(a)?b?b:[]:b&&'string'===typeof b?
JSON.parse(b):[]};var
t={da:'loaded',ka:'start',Z:'firstQuartile',ea:'midpoint',la:'thirdQuartile',Y:'com
plete',ga:'pause',ia:'resume',X:'bufferStart',W:'bufferFinish',ja:'skipped',na:'vol
umeChange',ha:'playerStateChange',U:'adUserInteraction'},la={aa:'generic',ma:'video
'},ma={F:'native',ba:'html'},na={F:'native',ca:'javascript',NONE:'none'},oa={V:'bac
kgrounded',$:'foregrounded'},pa={fa:'app'};function u(a,b,c,d)
{this.b=a;this.method=b;this.version=c;this.a=d}function qa(a){return!!a&&void 0!
==a.omid_message_guid&&void 0!==a.omid_message_method&&void 0!
==a.omid_message_version&&'string'===typeof a.omid_message_guid&&'string'===typeof
a.omid_message_method&&'string'===typeof a.omid_message_version&&(void
0===a.omid_message_args||void 0!==a.omid_message_args)}function ra(a){return new
u(a.omid_message_guid,a.omid_message_method,a.omid_message_version,a.omid_message_a
rgs)}
function sa(a){var
b={};b=(b.omid_message_guid=a.b,b.omid_message_method=a.method,b.omid_message_versi
on=a.version,b);void 0!==a.a&&(b.omid_message_args=a.a);return b};function ta(a)
{this.b=a};function ua(a){var
b=a.document.createElement('iframe');b.id='omid_v1_present';b.name='omid_v1_present
';b.style.display='none';a.document.body.appendChild(b)}function za(){var a=v,b=new
MutationObserver(function(c){c.forEach(function(c)
{'BODY'===c.addedNodes[0].nodeName&&(ua(a),b.disconnect())})});b.observe(a.document
.documentElement,{childList:!0})};function z(a)
{this.b=a;this.handleExportedMessage=z.prototype.c.bind(this)}q(z,ta);z.prototype.s
endMessage=function(a,b){b=void 0===b?this.b:b;if(!b)throw Error('Message
destination must be defined at construction time or when sending the
message.');b.handleExportedMessage(sa(a),this)};z.prototype.c=function(a,b)
{qa(a)&&this.a&&this.a(ra(a),b)};function C(a){for(var b=[],c=0;c<arguments.length;
++c)b[c-0]=arguments[c];Aa(function(){throw new
(Function.prototype.bind.apply(Error,[null].concat(['Could not complete the test
successfully - '],r(b))));},function(){return console.error.apply(console,
[].concat(r(b)))})}function Ba(a){for(var b=[],c=0;c<arguments.length;++c)b[c-
0]=arguments[c];Aa(function(){},function(){return console.error.apply(console,
[].concat(r(b)))})}
function Aa(a,b){'undefined'!==typeof jasmine&&jasmine?a():'undefined'!==typeof
console&&console&&console.error&&b()};var Ca=eval('this'),v=function()
{if('undefined'!==typeof omidGlobal&&omidGlobal)return omidGlobal;if('undefined'!
==typeof global&&global)return global;if('undefined'!==typeof window&&window)return
window;if('undefined'!==typeof Ca&&Ca)return Ca;throw Error('Could not determine
global object context.');}();function E(a,b){this.b=b=b?b:v;var
c=this;a.addEventListener('message',function(a){if('object'===typeof a.data){var
b=a.data;qa(b)&&a.source&&c.a&&c.a(ra(b),a.source)}})}q(E,ta);E.prototype.sendMessa
ge=function(a,b){b=b?b:this.b;if(!b)throw Error('Message destination must be
defined at construction time or when sending the
message.');b.postMessage(sa(a),'*')};function Da(a,b)
{this.y=this.x=0;this.width=a;this.height=b};function F(a,b)
{this.x=a.x;this.y=a.y;this.width=a.width;this.height=a.height;this.endX=this.x+thi
s.width;this.endY=this.y+this.height;this.adSessionId=a.adSessionId||void
0;this.isFriendlyObstructionFor=a.isFriendlyObstructionFor||
[];this.clipsToBounds=void 0!==a.clipsToBounds?!0===a.clipsToBounds:!
0;this.childViews=a.childViews||[];this.isCreative=a.isCreative||!
1;this.a=b}function Ea(a){var b={};return b.width=a.width,b.height=a.height,b}
function I(a){var b={};return Object.assign({},Ea(a),(b.x=a.x,b.y=a.y,b))}function
J(a){var b=I(a),c={};return Object.assign({},b,
(c.endX=a.endX,c.endY=a.endY,c))}function Fa(a,b,c)
{a.x+=b;a.y+=c;a.endX+=b;a.endY+=c}F.prototype.u=function(a){if(!a)return!
1;a=I(a);var b=a.y,c=a.width,d=a.height;return
this.x===a.x&&this.y===b&&this.width===c&&this.height===d};function Ga(a){return
a.width*a.height};function Ha(a,b){a=I(a);for(var c=[],d=[],e=0;e<b.length;e++){var
f=I(b[e]),l=Math.max(a.y,f.y),g=Math.min(a.x+a.width,f.x+f.width),m=Math.min(a.y+a.
height,f.y+f.height);K(c,Math.max(a.x,f.x));K(c,g);K(d,l);K(d,m)}c=c.sort(function(
a,b){return a-b});d=d.sort(function(a,b){return a-b});return{S:c,T:d}}function
K(a,b){-1===a.indexOf(b)&&a.push(b)};function Ia()
{this.a=this.b=this.l=this.j=this.c=this.i=void
0;this.m=0;this.g=[];this.f=[];this.h=[]}Ia.prototype.u=function(a){return a?
JSON.stringify(L(this))===JSON.stringify(L(a)):!1};
function L(a){var b=[],c={viewport:a.i,adView:
{percentageInView:a.m,reasons:a.h}};if(a.b)
{c.adView.geometry=I(a.b);c.adView.onScreenGeometry=I(a.a);for(var
d=0;d<a.f.length;d+
+)b.push(I(a.f[d]));c.adView.onScreenGeometry.obstructions=b;a.j&&a.l&&(c.adView.co
ntainerGeometry=I(a.j),c.adView.onScreenContainerGeometry=I(a.l),c.adView.measuring
Element=!0)}return c}
function Ja(a,b)
{b=Ea(b);a.i={};a.i.width=b.width;a.i.height=b.height;a.c={};a.c.x=0;a.c.y=0;a.c.wi
dth=b.width;a.c.height=b.height;a.c.endX=b.width;a.c.endY=b.height}function Ka(a,b)
{var
c={};c.x=Math.max(a.x,b.x);c.y=Math.max(a.y,b.y);c.endX=Math.min(a.endX,b.endX);c.e
ndY=Math.min(a.endY,b.endY);c.width=Math.max(0,c.endX-
c.x);c.height=Math.max(0,c.endY-c.y);return c}function La(a,b){return
a.width<b.width||a.height<b.height}
function Ma(a){var b=Ga(a.b);if(b){var c=Ga(a.a);var d=a.f,e=0;if(0<d.length){var
f=Ha(a.a,d),l=f.S;f=f.T;for(var g=0;g<l.length-1;g++)for(var m=(l[g]+(l[g]
+1))/2,N=l[g+1]-l[g],x=0;x<f.length-1;x++){for(var A=(f[x]+(f[x]+1))/2,G=f[x+1]-
f[x],H=!1,B=0;B<d.length;B++){var
w=I(d[B]);if(w.x<m&&w.x+w.width>m&&w.y<A&&w.y+w.height>A){H=!
0;break}}H&&(e+=Math.round(N)*Math.round(G))}}b=Math.round((c-
e)/b*100);a.m=Math.max(b,0)}}
function M(a,b){for(var c=!1,d=0;d<a.h.length;d++)a.h[d]===b&&(c=!0);c||
a.h.push(b)};function Na(){}function Oa(a,b,c,d){var e=new Ia(0);b=new F(b,!
1);Ja(e,b);Pa(a,b,e,d);if('backgrounded'===c)M(e,'backgrounded');else if(e.b)
{for(a=0;a<e.g.length;a++){c=e.g[a];if(0!==c.width&&0!==c.height&&e.a)
{d=J(e.a);b=d.y;var f=d.endX,l=d.endY;c=!(c.endX<=d.x||c.x>=f||c.endY<=b||
c.y>=l)}else c=!1;if(c){a:{c=e.g[a];for(d=0;d<e.f.length;d++)if(e.f[d].u(c)){c=!
0;break a}c=!1}c=!c}c&&(M(e,'obstructed'),e.f.push(e.g[a]))}Ma(e)}else
M(e,'notFound');return e}
function Pa(a,b,c,d){var e=b.isCreative?!0:b.adSessionId===d;if(e){c.b=b;var
f=J(c.b);a=Ka(c.c,f);La(a,f)&&M(c,'clipped');c.a=new F(a,!1)}else if(f=!0,b.a&&(f=-
1!==b.isFriendlyObstructionFor.indexOf(d)?!1:!1===b.clipsToBounds),f)for(var
l=b.childViews,g=0;g<l.length;g++)f=!!c.b,Pa(a,new F(l[g],f),c,d);!e&&c.b&&(b.a?-1!
==b.isFriendlyObstructionFor.indexOf(d)||c.g.push(b):
(e=J(b),d=J(c.a),I(c.a),a=c.a,0!==a.width&&0!
==a.height&&b.clipsToBounds&&(b=Ka(d,e),La(b,d)&&(M(c,'clipped'),c.a=new F(b,!
1)))))}
;function Qa(){return{apiVersion:'1.0',accessMode:'limited',omidJsInfo:
{omidImplementer:'omsdk',serviceVersion:'1.1.3-iab493'}}}function Ra()
{this.adSessionId=null;this.c=Qa();this.j='foregrounded';this.b=this.a='none';this.
i=this.g=this.f=this.A=this.B=this.l=null;this.m=!0}var O;function P(){O||(O=new
Ra);return O};function Sa(a,b)
{this.b=a;this.c=b}k.Object.defineProperties(Sa.prototype,{a:{configurable:!
0,enumerable:!0,get:function(){return this.b}},origin:{configurable:!0,enumerable:!
0,get:function(){return this.c}}});function Ta()
{this.b=[];this.c=[];this.g=[];this.h=[];this.f={};this.a=P()}function Ua(a)
{a.b=[];a.c=[];a.g=[];a.h=[];a.f={};O.adSessionId=null;O.c=Qa();O.v=void 0;O.w=void
0;O.h=null;O.s=null;O.C=null;O.j='foregrounded';O.a='none';O.b='none';O.l=null;O.B=
null;O.A=null;O.f=null;O.g=null;O.i=null;O.m=!0}function Va(a,b){!1!
==Wa(b)&&a.g.filter(function(a){return a.type===b.a.type}).forEach(function(c)
{return a.i(c.o,b.a)})}
function Xa(a,b,c){a.b.filter(function(a){return
a.a.type===b&&Wa(a)}).map(function(a){return a.a}).forEach(c)}function Wa(a){var
b=a.a.type,c=-1!==Object.values(t).indexOf(b)&&'volumeChange'!
==b;return'impression'===b?a.origin===P().b:c?a.origin===P().a:!0}function
Ya(a,b,c){'video'===b?Za(a,c):(a.g.push({type:b,o:c}),Xa(a,b,c))}function Za(a,b)
{Object.keys(t).forEach(function(c){c=t[c];a.g.push({type:c,o:b});Xa(a,c,b)})}
function $a(a,b,c){a.h.push({R:c,o:b});a.c.forEach(function(d){var
e=ab(d);'sessionStart'===d.a.type&&(e.data.verificationParameters=c&&a.f[c]);a.i(b,
e)})}function bb(a){return a.b.some(function(a){return'impression'===a.a.type})||
a.c.some(function(a){return'impression'===a.a.type})}function Q(a,b,c){var
d=S(a,'sessionError','native',
{errorType:b,message:c});a.c.push(d);a.h.forEach(function(b){a.i(b.o,d.a)})}
function cb(a,b){a.f=Object.assign(a.f,b);if(b=a.a.c){var
c=S(a,'sessionStart','native',{context:b});a.c.push(c);a.h.forEach(function(b){var
d=b.o,f=ab(c);b=b.R;f.data.verificationParameters=b&&a.f[b];a.i(d,f)},a)}}function
db(a){var
b=a.h,c=S(a,'sessionFinish','native');a.c.push(c);Ua(a);b.forEach(function(b)
{return a.i(b.o,c.a)})}Ta.prototype.i=function(a,b){for(var
c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];try{a.apply(null,
[].concat(r(c)))}catch(e){Ba(e)}};
function eb(a,b){var c=a.a.A;var d=(d=P().h)?L(d).viewport:void 0;var e=(e=P().h)?
L(e).adView:void 0;b=S(a,'impression',b,
{mediaType:c,viewport:d,adView:e});a.b.push(b);Va(a,b)}function fb(a,b,c,d)
{'start'!==b&&'volumeChange'!==b||null!=(d&&d.deviceVolume)||
(d.deviceVolume=a.a.l);'start'!==b&&'volumeChange'!==b||
null==(d&&d.videoPlayerVolume)||
(a.a.B=d.videoPlayerVolume);b=S(a,b,c,d);a.b.push(b);Va(a,b)}
function gb(a,b){var c=a.g.filter(function(a)
{return'loaded'===a.type}).map(function(a){return a.o}),d=a.b.filter(function(a)
{return'loaded'===a.a.type&&a.origin===b}).map(function(a){return
a.a});c.forEach(function(a){d.forEach(a)})}function hb(a,b){return'none'!
==a.a.b&&a.a.b!==b?(C('Impression event is owned by '+(a.a.b+', not '+b+'.')),!1):!
0}function ib(a,b){return'none'!==a.a.a&&a.a.a!==b?(C('Video events are owned by '+
(a.a.a+', not '+b+'.')),!1):!0}
function S(a,b,c,d){return new Sa({adSessionId:a.a.adSessionId||'',timestamp:(new
Date).getTime(),type:b,data:d},c)}function ab(a)
{a=a.a;return{adSessionId:a.adSessionId,timestamp:a.timestamp,type:a.type,data:a.da
ta}};function jb(a,b,c){'container'===b&&void 0!==a.a.v&&a.a&&null!
=a.a.adSessionId&&(a.a.h=Oa(a.b,a.a.v,a.a.j,a.a.adSessionId));'creative'===b&&a.a.w
&&(a.a.s=Oa(a.b,a.a.w,a.a.j,a.a.adSessionId));if(a.a.h)if(a.a.s){b=new Ia(0);var
d=a.a.h,e=a.a.s,f=d.i,l=d.b,g=d.a,m=e.b;e=e.a;f&&l&&g&&m&&e&&(Ja(b,f),b.j=new F(l,!
1),b.l=new F(g,!
1),b.g=Object.assign([],d.g),b.f=Object.assign([],d.f),b.h=Object.assign([],d.h),d=
b.j.x,f=b.j.y,m=new F(m,!1),e=new F(e,!1),Fa(m,d,f),Fa(e,d,f),b.b=m,b.a=Ka(e,g),-
1===b.h.indexOf('backgrounded')&&
Ma(b))}else b=a.a.h;else b=null;g=a.a.C;if(b&&!b.u(g)||
c)g=L(b),c&&(g.adView.reasons=g.adView.reasons||
[c]),c=a.c,g=S(c,'geometryChange','native',
{viewport:g.viewport,adView:g.adView}),c.b.push(g),Va(c,g),a.a.C=b};function
lb(a,b,c){this.i=a;this.v=b;this.j=c;this.c=P();this.b=null;this.a=this.g=void
0;this.m=!0;T(this)}function T(a){if(!a.b){var b;a:
{if((b=a.i.document)&&b.getElementsByClassName&&(b=b.getElementsByClassName('omid-
element'))){if(1==b.length){b=b[0];break a}1<b.length&&a.m&&(Q(a.j,'generic',"More
than one element with 'omid-element' class name."),a.m=!
1)}b=null}b&&(b.tagName&&'video'===b.tagName.toLowerCase()?a.c.g=b:a.c.f=b,mb(a))}}
function mb(a){a.c.g?
(a.b=a.c.g,a.h()):a.c.f&&(a.b=a.c.f,'iframe'===a.b.tagName.toLowerCase()?
a.c.i&&a.h():a.h())}function nb(a)
{if(a.a&&a.g)if(a.b.tagName&&'iframe'===a.b.tagName.toLowerCase()){if(a.c.i)
{a:if(a.c.i){var b=new F(a.c.i,!1);Fa(b,a.a.x,a.a.y);b.clipsToBounds=!
0;b.isCreative=!0;for(var c=0;c<a.a.childViews.length;c+
+)if(a.a.childViews[c].isCreative){a.a.childViews[c]=b;break
a}a.a.childViews.push(b)}ob(a)}}else a.a.isCreative=!0,ob(a)}function ob(a)
{a.c.w=a.g;jb(a.v,'creative')};function pb(a,b,c){return qb(a,'setInterval')
(b,c)}function rb(a,b){qb(a,'clearInterval')(b)}function sb(a,b)
{qb(a,'clearTimeout')(b)}function qb(a,b){return a.a&&a.a[b]?a.a[b]:tb(a,b)}
function ub(a,b,c,d){if(a.a.document&&a.a.document.body){var
e=a.a.document.createElement('img');e.width=1;e.height=1;e.style.display='none';e.s
rc=b;c&&e.addEventListener('load',function(){return
c()});d&&e.addEventListener('error',function(){return
d()});a.a.document.body.appendChild(e)}else tb(a,'sendUrl')(b,c,d)}function tb(a,b)
{if(a.a&&a.a.omidNative&&a.a.omidNative[b])return
a.a.omidNative[b].bind(a.a.omidNative);throw Error('Native interface method "'+b+'"
not found.');};function vb(a,b,c,d){lb.call(this,a,b,d);this.f=void
0;this.l=c}q(vb,lb);vb.prototype.s=function(){void 0!
==this.f&&(rb(this.l,this.f),this.f=void 0)};vb.prototype.h=function(){var
a=this;this.b?void 0===this.f&&(this.f=pb(this.l,function(){return
wb(a)},200),wb(this)):this.f=void 0};
function wb(a){if(void 0!==a.f){var b=new F(new
Da(a.i.innerWidth,a.i.innerHeight),!1),c=a.b.getBoundingClientRect();if(null==c.x||
isNaN(c.x))c.x=c.left;if(null==c.y||isNaN(c.y))c.y=c.top;c=new F(c,!
1);b.u(a.g)&&c.u(a.a)||(a.a=c,a.a.clipsToBounds=!
0,a.g=b,a.g.childViews.push(a.a),nb(a))}};function xb(a,b,c)
{lb.call(this,a,b,c);this.f=void 0}q(xb,lb);xb.prototype.s=function()
{this.f&&this.b&&this.f.unobserve(this.b)};xb.prototype.h=function(){this.b&&!
this.f&&(this.f=yb(this),this.f.observe(this.b))};
function yb(a){return new a.i.IntersectionObserver(function(b){try{if(b.length)
{for(var c=b[0],d=1;d<b.length;d++)b[d].time>c.time&&(c=b[d]);b=c;a.g=new
F(b.rootBounds,!1);a.a=new F(b.boundingClientRect,!1);a.a.clipsToBounds=!
0;a.g.childViews.push(a.a);nb(a)}}catch(e){a.s(),Q(a.j,'generic','Problem handling
IntersectionObserver callback: '+e.message)}},
{root:null,rootMargin:'0px',threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]})};function
U(a){return'string'===typeof a}function V(a){return'object'===typeof a}function
zb(a){return'number'===typeof a&&!isNaN(a)&&0<=a}function W(a,b){return U(a)&&-1!
==Object.values(b).indexOf(a)};function X(a,b,c,d,e)
{this.b=a;this.f=b;this.g=c;this.c=e;this.a=P()}h=X.prototype;
h.H=function(a){if(a&&V(a)&&W(a.impressionOwner,na)&&(!('videoEventsOwner'in
a&&null!=a.videoEventsOwner)||W(a.videoEventsOwner,na))){var
b=a.videoEventsOwner;this.a.A=null==b||'none'===b?'display':'video';a&&null!
=a.isolateVerificationScripts&&'boolean'===typeof
a.isolateVerificationScripts&&(this.a.m=a.isolateVerificationScripts);b=this.b;var
c=a.impressionOwner;a=a.videoEventsOwner;bb(b)?C('Impression event has occcured
before the event owners have been registered.'):(b.a.b!==c&&'none'===b.a.b&&
(b.a.b=c),b.a.a!==a&&'none'===b.a.a&&(b.a.a=a),gb(b,a))}};
h.P=function(a,b,c){var d;if(d=V(b))
{if(d=W(b.environment,pa)&&W(b.adSessionType,ma))d=b.omidNativeInfo,d=V(d)?
U(d.partnerName)&&U(d.partnerVersion):!1;d&&(d=b.app,d=V(d)?
U(d.libraryVersion)&&U(d.appId):!1)}d&&(this.a.adSessionId=a,a=b,b=this.a.c||
{},a.omidJsInfo=Object.assign({},b.omidJsInfo||{},a.omidJsInfo||
{}),b=a=Object.assign({},b,a),this.a.m||(this.a.g?
(b.videoElement=this.a.g,b.accessMode='full'):this.a.f&&(b.slotElement=this.a.f,b.a
ccessMode='full')),this.a.c=a,cb(this.b,c),this.c&&T(this.c))};
h.G=function(){db(this.b)};h.N=function(a)
{V(a)&&zb(a.x)&&zb(a.y)&&zb(a.width)&&zb(a.height)&&(this.a.v=a,jb(this.f,'containe
r'))};h.O=function(a){W(a,oa)&&(this.a.j=a,'backgrounded'===a?
jb(this.f,'container','backgrounded'):jb(this.f,'container'))};h.L=function(a)
{'impression'===a&&(this.D(),this.c&&T(this.c))};h.D=function()
{hb(this.b,'native')&&eb(this.b,'native')};h.error=function(a,b)
{W(a,la)&&Q(this.b,a,b)};
h.I=function(a,b){ib(this.b,'native')&&W(a,t)&&(void 0===b||
V(b))&&fb(this.b,a,'native',b)};h.M=function(a){if('none'!
==this.b.a.a&&'number'===typeof a&&!isNaN(a)){this.a.l=a;a=this.g;var b=a.a.B;null!
=b&&fb(a.b,'volumeChange','native',
{videoPlayerVolume:b,deviceVolume:a.a.l})}};X.prototype.startSession=X.prototype.P;
X.prototype.error=X.prototype.error;X.prototype.finishSession=X.prototype.G;X.proto
type.publishAdEvent=X.prototype.L;X.prototype.publishImpressionEvent=X.prototype.D;
X.prototype.publishVideoEvent=X.prototype.I;X.prototype.setNativeViewHierarchy=X.pr
ototype.N;X.prototype.setState=X.prototype.O;X.prototype.setDeviceVolume=X.prototyp
e.M;X.prototype.init=X.prototype.H;function Ab(a,b,c){var d=this;c=c?
c:v;this.b=a;this.a=b;this.i=c;this.h=new z;c.omid=c.omid||
{};c.omid.v1_SessionServiceCommunication=this.h;this.f=null;c&&c.addEventListener&&
c.postMessage&&(this.f=new
E(c));this.h.a=this.J.bind(this);this.f&&(this.f.a=this.K.bind(this));this.c=[];thi
s.g=!1;Bb(this,function(a){return Cb(d,a)})}function Bb(a,b){$a(a.b,b)}function
Db(a,b){P().f=b;a.a&&mb(a.a)}function Eb(a,b){P().g=b;a.a&&mb(a.a)}function Fb(a,b)
{P().i=b;a.a&&mb(a.a);a.a&&nb(a.a)}h=Ab.prototype;
h.error=function(a,b){Q(this.b,a,b)};function Gb(a)
{hb(a.b,'javascript')&&(eb(a.b,'javascript'),a.a&&T(a.a))}h.loaded=function(a){var
b={skippable:a.isSkippable,autoPlay:a.isAutoPlay,position:a.position};a.isSkippable
&&(b.skipOffset=a.skipOffset);fb(this.b,'loaded','javascript',b);this.a&&T(this.a)}
;h.start=function(a,b){Y(this,'start',
{duration:a,videoPlayerVolume:b});this.a&&T(this.a)};
function Hb(a){if(a.g&&a.c.length){var b=a.c;if(a.i&&'undefined'!==typeof
a.i.document)for(var c=P().m,d=0;d<b.length;d++){var
e=b[d],f=d,l=e.resourceUrl,g=a.i.document,m=g.createElement('iframe');c&&(m.sandbox
='allow-scripts');m.id='omid-verification-script-
frame-'+f;m.style.display='none';m.srcdoc='<html><head>'+('<script
type="text/javascript" src="'+l+'">\x3c/script>')
+'</head><body></body></html>';g.body.appendChild(m);f=e.vendorKey;e=e.verification
Parameters;f=void 0===f?'':f;e=void 0===e?'':
e;f&&'string'===typeof f&&''!==f&&e&&'string'===typeof e&&''!==e&&(a.b.f[f]=e)}else
C('OMID Session Client is not running within a window');a.c=[]}}function Ib(a){var
b=P().c.omidJsInfo;a(b.serviceVersion)}function Cb(a,b)
{'sessionStart'===b.type&&(a.g=!0,Hb(a));'sessionFinish'===b.type&&(a.g=!
1,Bb(a,function(b){return Cb(a,b)}))}function Jb(a,b,c){var d=P().c||
{};d.omidJsInfo=Object.assign({},d.omidJsInfo,
{sessionClientVersion:a,partnerName:b,partnerVersion:c});P().c=d}
function Y(a,b,c){'javascript'===P().a&&fb(a.b,b,'javascript',c)}h.K=function(a,b)
{Kb(this,a,b,this.f)};h.J=function(a,b){Kb(this,a,b,this.h)};
function Kb(a,b,c,d){function e(a){for(var b=[],e=0;e<arguments.length;++e)b[e-
0]=arguments[e];b=new u(f,'response',g,ia(g)&&ja(g)?
b:JSON.stringify(b));d.sendMessage(b,c)}var
f=b.b,l=b.method,g=b.version;b=ka(g,b.a);try{switch(l){case
'SessionService.registerAdEvents':hb(a.b,'javascript');break;case
'SessionService.registerVideoEvents':ib(a.b,'javascript');break;case
'SessionService.registerSessionObserver':Bb(a,e);break;case
'SessionService.setSlotElement':var m=p(b).next().value;Db(a,m);break;case
'SessionService.setVideoElement':var N=
p(b).next().value;Eb(a,N);break;case 'SessionService.setElementBounds':var
x=p(b).next().value;Fb(a,x);break;case
'SessionService.impressionOccurred':Gb(a);break;case 'SessionService.loaded':var
A=p(b).next().value;a.loaded(A);break;case 'SessionService.start':var
G=p(b),H=G.next().value,B=G.next().value;a.start(H,B);break;case
'SessionService.firstQuartile':Y(a,'firstQuartile');break;case
'SessionService.midpoint':Y(a,'midpoint');break;case
'SessionService.thirdQuartile':Y(a,'thirdQuartile');break;
case 'SessionService.complete':Y(a,'complete');break;case
'SessionService.pause':Y(a,'pause');break;case
'SessionService.resume':Y(a,'resume');break;case
'SessionService.bufferStart':Y(a,'bufferStart');break;case
'SessionService.bufferFinish':Y(a,'bufferFinish');break;case
'SessionService.skipped':Y(a,'skipped');break;case
'SessionService.volumeChange':var w=p(b).next().value;Y(a,'volumeChange',
{videoPlayerVolume:w});break;case 'SessionService.playerStateChange':var
va=p(b).next().value;Y(a,'playerStateChange',
{state:va});break;case 'SessionService.adUserInteraction':var
wa=p(b).next().value;Y(a,'adUserInteraction',{interactionType:wa});break;case
'SessionService.setClientInfo':var
R=p(b),xa=R.next().value,ya=R.next().value,y=R.next().value;Jb(xa,ya,y);Ib(e);break
;case 'SessionService.injectVerificationScriptResources':var
Rb=p(b).next().value;a.c.push.apply(a.c,[].concat(r(Rb)));Hb(a);break;case
'SessionService.sessionError':var
kb=p(b),Sb=kb.next().value,Tb=kb.next().value;a.error(Sb,Tb)}}catch(D)
{d.sendMessage(new u(f,
'error',g,'\n name: '+D.name+'\n message: '+D.message+'\n
filename: '+D.filename+'\n lineNumber: '+D.lineNumber+'\n
columnNumber: '+D.columnNumber+'\n stack: '+D.stack+'\n
toString(): '+D.toString()+'\n '),c)}};function Lb(a,b,c){c=c?
c:v;this.g=a;this.a=b;this.h={};this.f={};this.c=new z;c.omid=c.omid||
{};c.omid.v1_VerificationServiceCommunication=this.c;this.b=null;c&&c.addEventListe
ner&&c.postMessage&&(this.b=new
E(c));this.c.a=this.i.bind(this);this.b&&(this.b.a=this.j.bind(this))}function
Mb(a,b,c,d){ub(a.a,b,c,d)}function Nb(a,b,c,d){tb(a.a,'downloadJavaScriptResource')
(b,c,d)}Lb.prototype.j=function(a,b)
{this.b&&Ob(this,a,b,this.b)};Lb.prototype.i=function(a,b){Ob(this,a,b,this.c)};
function Ob(a,b,c,d){function e(a){for(var b=[],e=0;e<arguments.length;++e)b[e-
0]=arguments[e];b=new u(f,'response',g,ia(g)&&ja(g)?
b:JSON.stringify(b));d.sendMessage(b,c)}var
f=b.b,l=b.method,g=b.version;b=ka(g,b.a);try{switch(l){case
'VerificationService.addEventListener':var
m=p(b).next().value;Ya(a.g,m,e);break;case
'VerificationService.addSessionListener':var N=p(b).next().value;
$a(a.g,e,N);break;case 'VerificationService.sendUrl':var
x=p(b).next().value;Mb(a,x,function(){return e(!0)},function(){return e(!1)});
break;case 'VerificationService.setTimeout':var
A=p(b),G=A.next().value,H=A.next().value;a.h[G]=qb(a.a,'setTimeout')
(e,H);break;case 'VerificationService.clearTimeout':var
B=p(b).next().value;sb(a.a,a.h[B]);break;case 'VerificationService.setInterval':var
w=p(b),va=w.next().value,wa=w.next().value;a.f[va]=pb(a.a,e,wa);break;case
'VerificationService.clearInterval':var
R=p(b).next().value;rb(a.a,a.f[R]);break;case
'VerificationService.injectJavaScriptResource':var
xa=p(b).next().value;Nb(a,xa,function(a){return e(!0,
a)},function(){return e(!1)});break;case
'VerificationService.getVersion':p(b).next();var
ya=P().c.omidJsInfo;e(ya.serviceVersion)}}catch(y){d.sendMessage(new
u(f,'error',g,'\n name: '+y.name+'\n message:
'+y.message+'\n filename: '+y.filename+'\n lineNumber:
'+y.lineNumber+'\n columnNumber: '+y.columnNumber+'\n
stack: '+y.stack+'\n toString(): '+y.toString()+'\n
'),c)}};var Z=new Ta,Pb=new function(){var a;this.a=a=void 0===a?omidGlobal:a};new
Lb(Z,Pb);var Qb=new function(){var a=new Na;this.c=Z;this.b=a;this.a=P()},Ub=v?
v.IntersectionObserver?new xb(v,Qb,Z):new vb(v,Qb,Pb,Z):null;new
Ab(Z,Ub);v.omidBridge=new X(Z,Qb,new function(){var a=P();this.b=Z;this.a=a},new
function(){},Ub);if(v.frames&&v.document&&!('omid_v1_present'in v.frames)){var
Vb;if(Vb=!v.document.body)Vb='MutationObserver'in v;Vb?za():v.document.body?
ua(v):v.document.write('<iframe style="display:none" id="omid_v1_present"
name="omid_v1_present"></iframe>')};
}).call(this, this);
1554983891300 com.nazara.tinylabproductions.oggy Successfully downloaded OM JS

1554983891301 com.nazara.tinylabproductions.oggy executing t...

1554983891302 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155498389130222d09d9c8535860dbe79c66456b12c9f

1554983891303 com.nazara.tinylabproductions.oggy md5_token id


c0a1e88ab6d591d245dfc6d11af1ebf4

1554983891317 com.nazara.tinylabproductions.oggy t Request url:


https://vdo.pokkt.com/api/sessionTracker/trackV2? parameters :
timestamp=1554983891302&gdpr_applicable=false&gdpr_consent=true&udid=6254babc-98e5-
42b8-a1a9-9af626a79056&token=c0a1e88ab6d591d245dfc6d11af1ebf4&stat=%7B%22s_id%22%3A
%22df21865a-743f-47ca-a4af-89c821aebfbd%22%2C%22s_ct%22%3A1554818369811%2C%22s_lt
%22%3A1554818369811%2C%22s_et%22%3A-1%2C%22s_d%22%3A0%2C%22s_tvc%22%3A0%2C%22s_pe
%22%3A0%2C%22s_pc%22%3A0%2C%22s_pp
%22%3A0%7D&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32
&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID
=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=2040.0&swidt
h=1080.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=4b57cb2e-d029-48fe-93e4-1b0012d4ddb2

1554983891604 com.nazara.tinylabproductions.oggy d response: <?xml version="1.0"


encoding="UTF-8" ?><VAST version="2.0"></VAST>

1554983891708 com.nazara.tinylabproductions.oggy VAST element is present

1554983891715 com.nazara.tinylabproductions.oggy First element value: {} 2.0

1554983891718 com.nazara.tinylabproductions.oggy vast version ---- {} 2.0

1554983891724 com.nazara.tinylabproductions.oggy Ad element is absent

1554983891725 com.nazara.tinylabproductions.oggy Error Code 19 : No Campaign


Available Vast Error 303

1554983891733 com.nazara.tinylabproductions.oggy executing f...

1554983891734 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/pokktmraid/mraid.js

1554983891944 com.nazara.tinylabproductions.oggy f response: <html>


<head>
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/style.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/video-js.min.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ads.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ima.css" />
</head>
<body>
<div id="pokkt-ima-adcontainer" class="pokkt-ima-adcontainer">
<div id="pokkt-ima-videoplayer" class="pokkt-ima-videoplayer">
<video id="pokkt-video-ad" class="video-js vjs-default-skin vjs-fullscreen
pokkt-video-ad" autoplay preload="auto" playsinline
poster="https://pokktjs.pokkt.com/video-js-4.12/poster.png"></video>
</div>
</div>

<script src="https://imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/video.min.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ads.min.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ima.js"></script>
<script type="text/javascript">
/**
* console logger
**/
(function() {
var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};

var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};

log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};

log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};

log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());

/**
* bridge
**/
(function() {
window.pokktNativeBridge = {};
window.pokktNativeBridge.notifyNative = function(operation, params) {
log.i('notifying native of: ' + operation + ' , with params: ' + params);

var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "pokktbridge://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};
} ());

/**
* POKKT-IMA Wrapper
**/
var PokktIMAWrapper = function(debugEnabled) {
log.i('preparing ima wrapper for pokkt...');

this.player = videojs('pokkt-video-ad');
this.player.fluid(true);

// Remove controls from the player on iPad to stop native controls from
stealing our click
if (navigator.userAgent.match(/iPad/i) ||
navigator.userAgent.match(/Android/i)){
var contentPlayer = document.getElementById('content_video_html5_api');
if (contentPlayer != null && contentPlayer.hasAttribute('controls')) {
contentPlayer.removeAttribute('controls');
}

this.player.controls(false);
}

var options = {
debug: debugEnabled,
id: 'pokkt-video-ad',
autoPlayAdBreaks: false,
showControlsForJSAds: false,
vpaidMode: 'INSECURE',
disableCustomPlaybackForIOS10Plus: true,
adsManagerLoadedCallback: this.adsManagerLoadedCallback.bind(this)
};
this.player.ima(options);

this.player.ima.setAdBreakReadyListener(function(){
log.i('ad-break ready, attempting ad playback...');
this.player.ima.playAdBreak();
});

pokktNativeBridge.notifyNative('wrapperPrepared');
};

PokktIMAWrapper.prototype.initWithAdTag = function(adTag, isAdTagAUrl) {


log.i('initializing ima...');
this.player.ima.initializeAdDisplayContainer();

if (isAdTagAUrl) {
this.player.ima.setContentWithAdTag(null, adTag, false);
} else {
this.player.ima.setContentWithAdsResponse(null, adTag, false);
}

this.player.ima.requestAds();
};

PokktIMAWrapper.prototype.adsManagerLoadedCallback = function(event) {
log.i('ads-manager loaded, registering remaining listners...');

var events = [
google.ima.AdEvent.Type.AD_BREAK_READY,
google.ima.AdEvent.Type.AD_CAN_PLAY,
google.ima.AdEvent.Type.AD_METADATA,
google.ima.AdEvent.Type.ALL_ADS_COMPLETED,
google.ima.AdEvent.Type.CLICK,
google.ima.AdEvent.Type.COMPLETE,
google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,
google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,
google.ima.AdEvent.Type.DURATION_CHANGE,
google.ima.AdEvent.Type.EXPANDED_CHANGED,
google.ima.AdEvent.Type.FIRST_QUARTILE,
google.ima.AdEvent.Type.IMPRESSION,
google.ima.AdEvent.Type.INTERACTION,
google.ima.AdEvent.Type.LINEAR_CHANGED,
google.ima.AdEvent.Type.LOADED,
google.ima.AdEvent.Type.LOG,
google.ima.AdEvent.Type.MIDPOINT,
google.ima.AdEvent.Type.PAUSED,
google.ima.AdEvent.Type.RESUMED,
google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,
google.ima.AdEvent.Type.SKIPPED,
google.ima.AdEvent.Type.STARTED,
google.ima.AdEvent.Type.THIRD_QUARTILE,
google.ima.AdEvent.Type.USER_CLOSE,
google.ima.AdEvent.Type.VIEWABLE_IMPRESSION,
google.ima.AdEvent.Type.VOLUME_CHANGED,
google.ima.AdEvent.Type.VOLUME_MUTED,
google.ima.AdErrorEvent.Type.AD_ERROR
];

for (var index = 0; index < events.length; index++) {


log.i('registering listner for ' + events[index]);
this.player.ima.addEventListener(events[index],
this.onAdEvent.bind(this));
}

window.addEventListener('resize', this.onWindowResize.bind(this));
};

PokktIMAWrapper.prototype.onAdEvent = function(event) {
var message = 'Ad event: ' + event.type;
log.i(message);
// notify this event to native
window.pokktNativeBridge.notifyNative('adEvent', event.type);
};

PokktIMAWrapper.prototype.playAd = function() {
this.player.ima.playAdBreak();
};

PokktIMAWrapper.prototype.pauseAd = function() {
this.player.pause();
};

PokktIMAWrapper.prototype.onWindowResize = function() {
var adContainer = document.getElementById('pokkt-ima-adcontainer');
var videoElement = document.getElementById('pokkt-video-ad');
var adContainerWidth = adContainer.offsetWidth;
var videoHeight = videoElement.offsetHeight;

var adsManager = this.player.ima.getAdsManager();


if (adsManager) {
adsManager.resize(adContainerWidth, videoHeight,
google.ima.ViewMode.NORMAL);
}
};

function prepareIMA(debugEnabled) {
window.imaAds = new PokktIMAWrapper(debugEnabled);
}

function initIMAWithTag(adTag, isAdTagAUrl) {


window.imaAds.initWithAdTag(adTag, isAdTagAUrl);
}

function playAd() {
window.imaAds.playAd();
}

function pauseAd() {
window.imaAds.pauseAd();
}

</script>
</body>
</html>

1554983891947 com.nazara.tinylabproductions.oggy Successfully downloaded IMA HTML

1554983892305 com.nazara.tinylabproductions.oggy f response: /**


* mraid.js
*
* (c) Pokkt
*
* Supports MRAID 3
**/

/**
* mraid functionalities
**/
(function() {
if (console.oldLog === undefined) {
console.oldLog = console.log;

console.log = function(log) {
if (console.oldLog !== undefined) {
console.oldLog(log);
}

// native console logger for ios


var isIOS = (/iphone|ipad|
ipod/i).test(window.navigator.userAgent.toLowerCase());
if (isIOS) {
var iframe = document.createElement("IFRAME");
iframe.setAttribute("src", "console-log://" + log);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
}
};
}

var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};

var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};

log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};

log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};

log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());

/**
* console logger
**/
(function() {
log.i("init mraid...");

/**
* globals
**/
var mraid = window.mraid = {};

var bridge = window.mraidBridge = {};

var mraidUtils = window.mraidUtils = {};

/**
* constants
**/
var VERSION = "3.0";

var SUPPORTED_FEATURES = mraid.SUPPORTED_FEATURES = {


"SMS" : "sms",
"TEL" : "tel",
"CALENDAR" : "calendar",
"STOREPICTURE" : "storePicture",
"INLINEVIDEO" : "inlineVideo",
"VPAID" : "vpaid",
"LOCATION" : "location"
};

var PLACEMENT_TYPE = mraid.PLACEMENT_TYPE = {


"INLINE" : "inline",
"INTERSTITIAL" : "interstitial",
"UNKNOWN" : "unknown"
};

var DEVICE_ORIENTATIONS = mraid.DEVICE_ORIENTATIONS = {


"PORTRAIT" : "portrait",
"LANDSCAPE" : "landscape",
"NONE" : "none"
};

var STATES = mraid.STATES = {


"LOADING" : "loading",
"DEFAULT" : "default",
"EXPANDED" : "expanded",
"RESIZED" : "resized",
"HIDDEN" : "hidden"
};

var CUSTOM_CLOSE_POSITION = mraid.CUSTOM_CLOSE_POSITION = {


"TOP_LEFT" : "top-left",
"TOP_CENTER" : "top-center",
"TOP_RIGHT" : "top-right",
"CENTER" : "center",
"BOTTOM_LEFT" : "bottom-left",
"BOTTOM_CENTER" : "bottom-center",
"BOTTOM_RIGHT" : "bottom-right"
};
var LOCATION_PROVIDER_TYPES = mraid.LOCATION_PROVIDER_TYPES = {
"GPS" : 1,
"IP" : 2,
"USER" : 3
};

var EVENTS = mraid.EVENTS = {


"ERROR" : "error",
"READY" : "ready",
"SIZECHANGE" : "sizeChange",
"STATECHANGE" : "stateChange",
"VIEWABLECHANGE" : "viewableChange",
"EXPOSURECHANGE" : "exposureChange",
"AUDIOVOLUMECHANGE" : "audioVolumeChange"
};

/**
* states
**/
var supportedFeatures = {};

var placementType = PLACEMENT_TYPE.UNKNOWN;

var state = STATES.LOADING;

var isViewable = false;

var volumePercentage = 1.0;

var isResizeReady = false;

var eventListeners = {};

var orientationProperties = {
"allowOrientationChange" : true,
"forceOrientation" : DEVICE_ORIENTATIONS.NONE
};

var currentAppOrientation = {
"orientation" : DEVICE_ORIENTATIONS.NONE,
"locked" : false
};

var currentPosition = {
"x" : 0,
"y" : 0,
"width" : 0,
"height" : 0
};

var defaultPosition = {
"x" : 0,
"y" : 0,
"width" : 0,
"height" : 0
};

var expandProperties = {
"width" : 0,
"height" : 0,
"useCustomClose" : false,
"isModal" : true
};

var maxSize = {
"width" : 0,
"height" : 0
};

var screenSize = {
"width" : 0,
"height" : 0
};

var resizeProperties = {
"width" : 0,
"height" : 0,
"offsetX" : 0,
"offsetY" : 0,
"customClosePosition" : CUSTOM_CLOSE_POSITION.TOP_RIGHT,
"allowOffscreen" : true
};

var locationData = {
"lat" : 0.0,
"lon" : 0.0,
"type" : LOCATION_PROVIDER_TYPES.GPS,
"accuracy" : 0.0,
"lastfix" : 0,
"ipservice" : ""
};

var exposureProperties = {
"exposedPercentage" : 0,
"visibleRectangle" : {},
"occlusionRectangles" : null // not used in this version
};

//\\//\\//\\//\\//\\//\\//\\// BRIDGE \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: mraid-native bridge...");

var notifyNative = bridge.notifyNative = function(operation, params) {


var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "mraid://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};

bridge.setSupportedFeature = function(feature, isSupported) {


supportedFeatures[feature] = isSupported;
};
bridge.setPlacementType = function(pt) {
placementType = pt;
};

bridge.setCurrentAppOrientation = function(orientation, locked) {


currentAppOrientation.orientation = orientation;
currentAppOrientation.locked = locked;
};

bridge.setCurrentPosition = function(x, y, width, height) {


var previousSize = {};
previousSize.width = currentPosition.width;
previousSize.height = currentPosition.height;
//log.i("previousSize " + previousSize.width + "," + previousSize.height);

currentPosition.x = x;
currentPosition.y = y;
currentPosition.width = width;
currentPosition.height = height;

if (width !== previousSize.width || height !== previousSize.height) {


mraid.fireSizeChangeEvent(width, height);
}
};

bridge.setDefaultPosition = function(x, y, width, height) {


defaultPosition.x = x;
defaultPosition.y = y;
defaultPosition.width = width;
defaultPosition.height = height;
};

bridge.setMaxSize = function(width, height) {


maxSize.width = width;
maxSize.height = height;

// FIXME: do we need a separate method for this??


expandProperties.width = width;
expandProperties.height = height;
};

bridge.setScreenSize = function(width, height) {


screenSize.width = width;
screenSize.height = height;
};

bridge.setLocation = function(lat, lon, type, accuracy, lastfix, ipservice) {


locationData.lat = lat;
locationData.lon = lon;
locationData.type = type;
locationData.accuracy = accuracy;
locationData.lastfix = lastfix;
locationData.ipservice = ipservice;
};

//\\//\\//\\//\\//\\//\\//\\// UTILS \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: utilities...");


var contains = mraidUtils.containsInArray = function(value, array) {
for (var i in array) {
if (array[i] === value)
return true;
}
return false;
};

var resizeUtil = {};


resizeUtil.isCloseRegionOnScreen = function(properties) {
log.d("isCloseRegionOnScreen");
log.d("defaultPosition " + defaultPosition.x + " " + defaultPosition.y);
log.d("offset " + properties.offsetX + " " + properties.offsetY);

var resizeRect = {};


resizeRect.x = defaultPosition.x + properties.offsetX;
resizeRect.y = defaultPosition.y + properties.offsetY;
resizeRect.width = properties.width;
resizeRect.height = properties.height;
resizeUtil.printRect("resizeRect", resizeRect);

var customClosePosition =
properties.hasOwnProperty("customClosePosition") ?
properties.customClosePosition : resizeProperties.customClosePosition;
log.d("customClosePosition " + customClosePosition);

var closeRect = { "width": 50, "height": 50 };

if (customClosePosition.search("left") !== -1) {


closeRect.x = resizeRect.x;
} else if (customClosePosition.search("center") !== -1) {
closeRect.x = resizeRect.x + (resizeRect.width / 2) - 25;
} else if (customClosePosition.search("right") !== -1) {
closeRect.x = resizeRect.x + resizeRect.width - 50;
}

if (customClosePosition.search("top") !== -1) {


closeRect.y = resizeRect.y;
} else if (customClosePosition === "center") {
closeRect.y = resizeRect.y + (resizeRect.height / 2) - 25;
} else if (customClosePosition.search("bottom") !== -1) {
closeRect.y = resizeRect.y + resizeRect.height - 50;
}

var maxRect = { "x": 0, "y": 0 };


maxRect.width = maxSize.width;
maxRect.height = maxSize.height;

return resizeUtil.isRectContained(maxRect, closeRect);


};

resizeUtil.fitResizeViewOnScreen = function(properties) {
log.d("fitResizeViewOnScreen");
log.d("defaultPosition " + defaultPosition.x + " " + defaultPosition.y);
log.d("offset " + properties.offsetX + " " + properties.offsetY);

var resizeRect = {};


resizeRect.x = defaultPosition.x + properties.offsetX;
resizeRect.y = defaultPosition.y + properties.offsetY;
resizeRect.width = properties.width;
resizeRect.height = properties.height;
resizeUtil.printRect("resizeRect", resizeRect);

var maxRect = { "x": 0, "y": 0 };


maxRect.width = maxSize.width;
maxRect.height = maxSize.height;

var adjustments = { "x": 0, "y": 0 };

if (resizeUtil.isRectContained(maxRect, resizeRect)) {
log.d("no adjustment necessary");
return adjustments;
}

if (resizeRect.x < maxRect.x) {


adjustments.x = maxRect.x - resizeRect.x;
} else if ((resizeRect.x + resizeRect.width) > (maxRect.x + maxRect.width))
{
adjustments.x = (maxRect.x + maxRect.width) - (resizeRect.x +
resizeRect.width);
}
log.d("adjustments.x " + adjustments.x);

if (resizeRect.y < maxRect.y) {


adjustments.y = maxRect.y - resizeRect.y;
} else if ((resizeRect.y + resizeRect.height) > (maxRect.y +
maxRect.height)) {
adjustments.y = (maxRect.y + maxRect.height) - (resizeRect.y +
resizeRect.height);
}
log.d("adjustments.y " + adjustments.y);

resizeRect.x = defaultPosition.x + properties.offsetX + adjustments.x;


resizeRect.y = defaultPosition.y + properties.offsetY + adjustments.y;
resizeUtil.printRect("adjusted resizeRect", resizeRect);

return adjustments;
};

resizeUtil.isRectContained = function(containingRect, containedRect) {


log.d("isRectContained");
resizeUtil.printRect("containingRect", containingRect);
resizeUtil.printRect("containedRect", containedRect);
return (containedRect.x >= containingRect.x &&
(containedRect.x + containedRect.width) <= (containingRect.x +
containingRect.width) &&
containedRect.y >= containingRect.y &&
(containedRect.y + containedRect.height) <= (containingRect.y +
containingRect.height));
};

resizeUtil.printRect = function(label, rect) {


log.d(label +
" [" + rect.x + "," + rect.y + "]" +
",[" + (rect.x + rect.width) + "," + (rect.y + rect.height) + "]" +
" (" + rect.width + "x" + rect.height + ")");
};
var dumpListeners = mraidUtils.dumpListeners = function() {
var nEvents = Object.keys(eventListeners).length
log.i("dumping listeners (" + nEvents + " events)");
for (var event in eventListeners) {
var listeners = eventListeners[event];
log.i(" " + event + " contains " + listeners.length + " listeners");
for (var i = 0; i < listeners.length; i++) {
log.i(" " + listeners[i]);
}
}
};

//\\//\\//\\//\\//\\//\\//\\// EVENT MANAGEMENT \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: event-management...");

var EventListeners = function(event) {


this.event = event;
this.count = 0;
var listeners = {};

this.add = function(func) {
var id = String(func);
if (!listeners[id]) {
listeners[id] = func;
this.count++;
}
};

this.remove = function(func) {
var id = String(func);
if (listeners[id]) {
listeners[id] = null;
delete listeners[id];
this.count--;
return true;
} else {
return false;
}
};

this.removeAll = function() {
for (var id in listeners) {
if (listeners.hasOwnProperty(id)) {
this.remove(listeners[id]);
}
}
};

this.broadcast = function(args) {
for (var id in listeners) {
if (listeners.hasOwnProperty(id)) {
listeners[id].apply(mraid, args);
}
}
};
this.toString = function() {
var out = [event, ':'];
for (var id in listeners) {
if (listeners.hasOwnProperty(id)) {
out.push('|', id, '|');
}
}
return out.join('');
};
};

var broadcastEvent = mraidUtils.broadcastEvent = function() {


var args = new Array(arguments.length);
var l = arguments.length;
for (var i = 0; i < l; i++) {
args[i] = arguments[i];
}
var event = args.shift();
if (eventListeners[event]) {
eventListeners[event].broadcast(args);
}
};

//\\//\\//\\//\\//\\//\\//\\// VALIDTORS \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: validators...");

/**
* validators
*
* The action parameter is a string which is the name of the setter function
which called this function
* (in other words, setExpandPropeties, setOrientationProperties, or
setResizeProperties).
* It serves both as the key to get the the appropriate set of validating
functions from the allValidators object
* as well as the action parameter of any error event that may be thrown.
*
* added location-data validation
**/

var allValidators = mraidUtils.allValidators = {


"setExpandProperties": {
"width" : function(width) {
return !isNaN(width);
},
"height" : function(height) {
return !isNaN(height);
},
"useCustomClose" : function(useCustomClose) {
if (VERSION === "3.0")
return true; // ignoring in case of MRAID 3

return (typeof useCustomClose === "boolean");


}
},
"setOrientationProperties": {
"allowOrientationChange" : function(allowOrientationChange) {
return (typeof allowOrientationChange === "boolean");
},
"forceOrientation" : function(forceOrientation) {
var validValues = [ "portrait","landscape","none" ];
return validValues.indexOf(forceOrientation) !== -1;
}
},
"setResizeProperties": {
"width" : function(width) {
return !isNaN(width) && width >= 50;
},
"height" : function(height) {
return !isNaN(height) && height >= 50;
},
"offsetX" : function(offsetX) {
return !isNaN(offsetX);
},
"offsetY" : function(offsetY) {
return !isNaN(offsetY);
},
"customClosePosition" : function(customClosePosition) {
var validPositions = [ "top-left","top-center","top-
right","center","bottom-left","bottom-center","bottom-right" ];
return validPositions.indexOf(customClosePosition) !== -1;
},
"allowOffscreen" : function(allowOffscreen) {
return (typeof allowOffscreen === "boolean");
}
},
"locationData" : {
"lat" : function(lat) {
return !isNaN(lat);
},
"lon" : function(lon) {
return !isNaN(lon);
},
"type" : function(type) {
return !isNaN(type) && type >= 1 && type <= 3;
},
"accuracy" : function(accuracy) {
return !isNaN(accuracy);
},
"lastfix" : function(lastfix) {
return !isNaN(lastfix);
}
}
};

var validate = mraidUtils.validate = function(properties, action) {


var retval = true;
var validators = allValidators[action];
for (var prop in properties) {
var validator = validators[prop];
var value = properties[prop];
if (validator && !validator(value)) {
var message = "Value of property " + prop + " (" + value + ") is
invalid!";
log.e(message);
broadcastEvent(EVENTS.ERROR, message, action);
retval = false;
}
}
return retval;
};

//\\//\\//\\//\\//\\//\\//\\// MRAID \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: mraid mraid features...");

/**
* mraid properties
**/
mraid.supports = function(feature) {
log.i("mraid.supports: " + feature + " " + supportedFeatures[feature]);
var retval = supportedFeatures[feature];
if (typeof retval === "undefined") {
retval = false;
}
return retval;
};

mraid.getPlacementType = function() {
log.i("mraid.getPlacementType");
return placementType;
};

mraid.getOrientationProperties = function() {
log.i("mraid.getOrientationProperties");

var properties = {};


properties.allowOrientationChange =
orientationProperties.allowOrientationChange;
properties.forceOrientation = orientationProperties.forceOrientation;
return properties;
};

mraid.setOrientationProperties = function(properties) {
log.i("mraid.setOrientationProperties...");

if (!validate(properties, "setOrientationProperties")) {
log.e("validation failed!");
return;
}

var newOrientationProperties = {};


newOrientationProperties.allowOrientationChange =
orientationProperties.allowOrientationChange,
newOrientationProperties.forceOrientation =
orientationProperties.forceOrientation;

// orientationProperties contains 2 read-write properties:


allowOrientationChange and forceOrientation
var rwProps = [ "allowOrientationChange", "forceOrientation" ];
for (var i = 0; i < rwProps.length; i++) {
var propname = rwProps[i];
if (properties.hasOwnProperty(propname)) {
newOrientationProperties[propname] = properties[propname];
}
}

// setting allowOrientationChange to true while setting forceOrientation to


either portrait or landscape
// is considered an error condition.
if (newOrientationProperties.allowOrientationChange &&
newOrientationProperties.forceOrientation !==
mraid.DEVICE_ORIENTATIONS.NONE) {
var message = "allowOrientationChange is true but forceOrientation is "
+ newOrientationProperties.forceOrientation;
log.e(message);
broadcastEvent(EVENTS.ERROR, message, "setOrientationProperties");
return;
}

orientationProperties.allowOrientationChange =
newOrientationProperties.allowOrientationChange;
orientationProperties.forceOrientation =
newOrientationProperties.forceOrientation;

notifyNative("setOrientationProperties",
JSON.stringify(orientationProperties));
};

mraid.getCurrentAppOrientation = function() {
log.i("mraid.getCurrentAppOrientation");

var appOrientation = {};


appOrientation.orientation = currentAppOrientation.orientation;
appOrientation.locked = currentAppOrientation.locked;
return appOrientation;
};

mraid.getCurrentPosition = function() {
log.i("mraid.getCurrentPosition");

var position = {
"x": currentPosition.x,
"y": currentPosition.y,
"width": currentPosition.width,
"height": currentPosition.height
};
return position;
};

mraid.getDefaultPosition = function() {
log.i("mraid.getDefaultPosition");

var position = {
"x": defaultPosition.x,
"y": defaultPosition.y,
"width": defaultPosition.width,
"height": defaultPosition.height
};
return position;
};

mraid.getState = function() {
log.i("mraid.getState: " + state);
return state;
};

mraid.getExpandProperties = function() {
log.i("mraid.getExpandProperties");

var properties = {
"width" : expandProperties.width,
"height" : expandProperties.height,
"useCustomClose" : expandProperties.useCustomClose,
"isModal" : expandProperties.isModal
};
return properties;
};

mraid.setExpandProperties = function(properties) {
log.i("mraid.setExpandProperties");

if (!validate(properties, "setExpandProperties")) {
log.e("validation failed!");
return;
}

var oldUseCustomClose = expandProperties.useCustomClose;

// expandProperties contains 3 read-write properties: width, height, and


useCustomClose;
// the isModal property is read-only
var rwProps = [ "width", "height", "useCustomClose" ];
for (var i = 0; i < rwProps.length; i++) {
var propname = rwProps[i];
if (properties.hasOwnProperty(propname)) {
expandProperties[propname] = properties[propname];
}
}

// In MRAID v2.0, all expanded ads by definition cover the entire screen,
// so the only property that the native side has to know about is
useCustomClose.
// (That is, the width and height properties are not needed by the native
code.)
if (expandProperties.useCustomClose !== oldUseCustomClose) {
mraid.useCustomClose(properties.useCustomClose);
}
};

mraid.getMaxSize = function() {
log.i("mraid.getMaxSize: " + maxSize.width + " x " + maxSize.height);

var size = {};


size.width = maxSize.width;
size.height = maxSize.height;
return size;
};

mraid.getScreenSize = function() {
log.i("mraid.getScreenSize: " + screenSize.width + " x " +
screenSize.height);
var size = {};
size.width = screenSize.width;
size.height = screenSize.height;
return size;
};

mraid.getResizeProperties = function() {
log.i("mraid.getResizeProperties");

var properties = {
"width" : resizeProperties.width,
"height" : resizeProperties.height,
"offsetX" : resizeProperties.offsetX,
"offsetY" : resizeProperties.offsetY,
"customClosePosition" : resizeProperties.customClosePosition,
"allowOffscreen" : resizeProperties.allowOffscreen
};
return properties;
};

mraid.setResizeProperties = function(properties) {
log.i("mraid.setResizeProperties");

isResizeReady = false;

// resizeProperties contains 6 read-write properties:


// width, height, offsetX, offsetY, customClosePosition, allowOffscreen

// The properties object passed into this function must contain width,
height, offsetX, offsetY.
// The remaining two properties are optional.
var rwProps = [ "width", "height", "offsetX", "offsetY" ];
for (var i = 0; i < rwProps.length; i++) {
var propname = rwProps[i];
if (!properties.hasOwnProperty(propname)) {
var message = "required property " + propname + " is missing";
log.e(message);
broadcastEvent(EVENTS.ERROR, message, "setResizeProperties");
return;
}
}

if (!validate(properties, "setResizeProperties")) {
log.e("validation failed!");
return;
}

var adjustments = { "x": 0, "y": 0 };

var allowOffscreen = properties.hasOwnProperty("allowOffscreen")


? properties.allowOffscreen
: resizeProperties.allowOffscreen;

if (!allowOffscreen) {
if (properties.width > maxSize.width || properties.height >
maxSize.height) {
var message = "Resize width or height is greater than the maxSize
width or height!";
log.e(message);
broadcastEvent(EVENTS.ERROR, message, "setResizeProperties");
return;
}
adjustments = resizeUtil.fitResizeViewOnScreen(properties);
} else if (!resizeUtil.isCloseRegionOnScreen(properties)) {
var message = "Close event region will not appear entirely onscreen!";
log.e(message);
broadcastEvent(EVENTS.ERROR, message, "setResizeProperties");
return;
}

var desiredProperties = ['width', 'height', 'offsetX', 'offsetY',


'customClosePosition', 'allowOffscreen'];
for (var i = 0; i < desiredProperties.length; i++) {
var propname = desiredProperties[i];
if (properties.hasOwnProperty(propname)) {
resizeProperties[propname] = properties[propname];
}
}

var params = {
"width" : resizeProperties.width,
"height" : resizeProperties.height,
"offsetX" : resizeProperties.offsetX + adjustments.x,
"offsetY" : resizeProperties.offsetY + adjustments.y,
"customClosePosition" : resizeProperties.customClosePosition,
"allowOffscreen" : resizeProperties.allowOffscreen
};

notifyNative("setResizeProperties", JSON.stringify(params));

isResizeReady = true;
};

mraid.getLocation = function() {
if (!validate(locationData, "locationData")) {
log.e("invalid location data!");
return -1;
}

// ensure service or provider used to determine geolocation from IP address


(i.e., type = 2)
if (locationData.type == 2 && !ipservice) {
log.e("invalid location data!");
broadcastEvent(EVENTS.ERROR, "invalid location data!", "getLocation");
log.e("invalid location data!");
return -1;
}

var data = {
"lat" : locationData.lat,
"lon" : locationData.lon,
"type" : locationData.type,
"accuracy" : locationData.accuracy,
"lastfix" : locationData.lastfix,
"ipservice" : locationData.ipservice
};
return data;
};

/**
* mraid methods
**/
mraid.getVersion = function() {
log.i("mraid.getVersion: " + VERSION);
return VERSION;
};

mraid.addEventListener = function(event, listener) {


log.i("mraid.addEventListener for event: " + event);

if (!event || !listener) {
broadcastEvent(EVENTS.ERROR, "Both event and listener are required.",
"addEventListener");
return;
}

if (!contains(event, EVENTS)) {
broadcastEvent(EVENTS.ERROR, "Unknown MRAID event: " + event,
"addEventListener");
return;
}

if (!eventListeners[event]) {
eventListeners[event] = new EventListeners(event);
}
eventListeners[event].add(listener);
};

mraid.removeEventListener = function(event, listener) {


log.i("mraid.removeEventListener for event: " + event);

if (!event) {
broadcastEvent(EVENTS.ERROR, "Event is required.",
"removeEventListener");
return;
}

if (!contains(event, EVENTS)) {
broadcastEvent(EVENTS.ERROR, "Unknown MRAID event: " + event,
"removeEventListener");
return;
}

if (eventListeners[event]) {
if (!listener) {
eventListeners[event].removeAll();
} else if (!eventListeners[event].remove(listener)) {
broadcastEvent(EVENTS.ERROR, "Listener not currently registered for
event.", "removeEventListener");
}
}

if (eventListeners[event] && eventListeners[event].count === 0) {


eventListeners[event] = null;
delete eventListeners[event];
}
};

mraid.open = function(url) {
log.i("mraid.open: " + url);

if (!url) {
broadcastEvent(EVENTS.ERROR, "Invalid URL: " + url, "open");
return;
}

// a cheap hack to ensure whether the url is encoded or not,


// if its not encoded, make sure to "double encode" as the sdk does a
double decode
if (url.includes("&")) {
//url = url.replace("&", "%26")
url = encodeURIComponent(url);
}

notifyNative("open", url);
};

mraid.close = function() {
log.i("mraid.close");

if (state === STATES.HIDDEN) {


broadcastEvent(EVENTS.ERROR, "Ad cannot be closed when it is already
hidden.", "close");
return;
}

notifyNative("close");
};

mraid.unload = function() {
log.i("mraid.unload");
notifyNative("unload");
};

mraid.useCustomClose = function(shouldUseCustomClose) {
log.i("mraid.useCustomClose: " + shouldUseCustomClose);

expandProperties.useCustomClose = shouldUseCustomClose;
notifyNative("useCustomClose", shouldUseCustomClose);
};

mraid.expand = function(url) {
log.i("mraid.expand: " + (url === undefined) ? "(1-part)" : url);

// The only time it is valid to call expand is when the ad is


// a banner currently in either default or resized state.
if (placementType !== PLACEMENT_TYPE.INLINE ||
(state !== STATES.DEFAULT && state !== STAES.RESIZED)) {
broadcastEvent(EVENTS.ERROR, "Ad can only be expanded from the default
or resized state.", "expand");
return;
}

notifyNative("expand", (url === undefined) ? "" : url);


};

mraid.isViewable = function() {
log.i("mraid.isViewable");
return isViewable;
};

mraid.playVideo = function(uri) {
log.i("mraid.playVideo: " + uri);

// TODO: consider exposure change event too


if (!mraid.isViewable()) {
broadcastEvent(EVENTS.ERROR, "playVideo cannot be called until the ad
is viewable", "playVideo");
return;
}

if (!uri) {
broadcastEvent(EVENTS.ERROR, "Invalid URI: " + uri, "playVideo");
return;
}

notifyNative("playVideo", uri);
};

mraid.resize = function() {
log.i("mraid.resize");

// The only time it is valid to call resize is when the ad is


// a banner currently in either default or resized state.
// Trigger an error if the current state is expanded.
if (placementType === PLACEMENT_TYPE.INTERSTITIAL || state ===
STATES.LOADING || state === STATES.HIDDEN) {
// do nothing
return;
}
if (state === STATES.EXPANDED) {
broadcastEvent(EVENTS.ERROR, "Ad cannot be resized when in expanded
state.", "resize");
return;
}
if (!isResizeReady) {
broadcastEvent(EVENTS.ERROR, "Ad is not ready for resizing.",
"resize");
return;
}

notifyNative("resize", JSON.stringify(resizeProperties));
};

mraid.storePicture = function(uri) {
log.i("mraid.storePicture: " + uri);

if (!mraid.supports(mraid.SUPPORTED_FEATURES.STOREPICTURE)) {
broadcastEvent(EVENTS.ERROR, "storePicture is not supported",
"storePicture");
return;
}
// TODO: consider exposure change event too
if (!mraid.isViewable()) {
broadcastEvent(EVENTS.ERROR, "storePicture cannot be called until the
ad is viewable", "storePicture");
return;
}

if (!uri) {
broadcastEvent(EVENTS.ERROR, "Invalid URI: " + uri, "storePicture");
return;
}

notifyNative("storePicture", uri);
};

mraid.createCalendarEvent = function(parameters) {
log.i("mraid.createCalendarEvent");

if (!mraid.supports(mraid.SUPPORTED_FEATURES.CALENDAR)) {
broadcastEvent(EVENTS.ERROR, "createCalendarEvent is not supported",
"createCalendarEvent");
return;
}

notifyNative("createCalendarEvent", JSON.stringify(parameters));
};

/**
* event dispatchers
**/
mraid.fireErrorEvent = function(message, action) {
broadcastEvent(EVENTS.ERROR, message, action);
};

mraid.fireReadyEvent = function() {
broadcastEvent(EVENTS.READY);
};

mraid.fireSizeChangeEvent = function(width, height) {


screenSize.width = width;
screenSize.height = height;
broadcastEvent(EVENTS.SIZECHANGE, width, height);
};

mraid.fireStateChangeEvent = function(newState) {
if (state !== newState) {
state = newState;
broadcastEvent(EVENTS.STATECHANGE, state);
}
};

mraid.fireViewableChangeEvent = function(newIsViewable) {
if (isViewable !== newIsViewable) {
isViewable = newIsViewable;
broadcastEvent(EVENTS.VIEWABLECHANGE, isViewable);
}
};
mraid.fireExposureChangeEvent = function(exposedPercentage, visibleRectangle,
occlusionRectangles) {
exposureProperties.exposedPercentage = exposedPercentage;
exposureProperties.visibleRectangle = visibleRectangle;
exposureProperties.occlusionRectangles = occlusionRectangles;
broadcastEvent(EVENTS.EXPOSURECHANGE, exposedPercentage, visibleRectangle,
occlusionRectangles);
};

mraid.fireAudioVolumeChangeEvent = function(percentage) {
if (volumePercentage !== percentage) {
volumePercentage = volumePercentage;
broadcastEvent(EVENTS.AUDIOVOLUMECHANGE, percentage);
}
};

// TODO: VPAID

log.i("mraid object is ready!");


} ());

/**
* pokkt extended featuers
**/
(function() {
log.i("setting up: mraid-extensions...");

var mraid = window.mraid;

if (!mraid || mraid === undefined) {


log.e("error initializing pokkt's extended features!");
return;
}

/**
* pokkt specific constants
**/
var NETWORK = mraid.NETWORK = {
OFFLINE :'offline',
WIFI :'wifi',
CELL :'cell',
UNKNOWN :'unknown'
};

mraid.SUPPORTED_FEATURES.AUDIO = "audio";
mraid.SUPPORTED_FEATURES.CAMERA = "camera";
mraid.SUPPORTED_FEATURES.NETWORK = "network";
mraid.SUPPORTED_FEATURES.SHAKE = "shake";
mraid.SUPPORTED_FEATURES.TILT = "tilt";
mraid.SUPPORTED_FEATURES.HEADING = "heading";
mraid.SUPPORTED_FEATURES.ORIENTATION = "orientation";
mraid.SUPPORTED_FEATURES.MAP = "map";

mraid.EVENTS.SHAKE = "shake";
mraid.EVENTS.TILTCHANGE = "tiltChange";
mraid.EVENTS.HEADINGCHANGE = "headingChange";
mraid.EVENTS.LOCATIONCHANGE = "locationChange";
mraid.EVENTS.NETWORKCHANGE = "networkChange";
mraid.EVENTS.KEYBOARDSTATECHANGE = "keyboardStateChange";

/**
* pokkt specific states
**/
var shakeProperties = {
"interval" : 0,
"intensity" : 0
};

var tiltProperties = {
"interval" : 0,
"intensity" : 0
};

var headingProperties = {
"interval" : 0,
"intensity" : 0
};

var tiltValues = {
"x" : 0,
"y" : 0,
"z" : 0
};

var headingValue = 0;
var currentNetwork = "";
var currentKeyboardState = 0;

/**
* pokkt specific validators
**/
mraidUtils.allValidators.setShakeProperties =
mraidUtils.allValidators.setTiltProperties =
mraidUtils.allValidators.setHeadingProperties = {
"intensity":function(value) { return !isNaN(value); },
"interval":function(value) { return !isNaN(value); }
};

mraidUtils.allValidators.setTilt = {
"x":function(value) { return !isNaN(value); },
"y":function(value) { return !isNaN(value); },
"z":function(value) { return !isNaN(value); }
};

/**
* pokkt's extended properties
**/
mraid.setShakeProperties = function(properties) {
log.i("mraid.setShakeProperties: " + properties);
if (!mraidUtils.validate(properties, "setShakeProperties")) {
log.e("validation failed!");
return;
}

shakeProperties = properties;
mraidBridge.notifyNative("setShakeProperties", JSON.stringify(properties));
};

mraid.getShakeProperties = function() {
log.i("mraid.getShakeProperties");

var properties = {};


properties.interval = shakeProperties.interval;
properties.intensity = shakeProperties.intensity;
return properties;
};

mraid.setTiltProperties = function(properties) {
log.i("mraid.setTiltProperties: " + properties);
if (!mraidUtils.validate(properties, "setTiltProperties")) {
log.e("validation failed!");
return;
}

tiltProperties = properties;
mraidBridge.notifyNative("setTiltProperties", JSON.stringify(properties));
};

mraid.getTiltProperties = function() {
log.i("mraid.getTiltProperties");

var properties = {};


properties.interval = tiltProperties.interval;
properties.intensity = tiltProperties.intensity;
return properties;
}

mraid.setHeadingProperties = function(properties) {
log.i("mraid.setHeadingProperties: " + properties);
if (!mraidUtils.validate(properties, "setHeadingProperties")) {
log.e("validation failed!");
return;
}

headingProperties = properties;
mraidBridge.notifyNative("setHeadingProperties",
JSON.stringify(properties));
};

mraid.getHeadingProperties = function() {
log.i("mraid.getHeadingProperties");

var properties = {};


properties.interval = headingProperties.interval;
properties.intensity = headingProperties.intensity;
return properties;
};

mraid.getTilt = function () {
log.i("mraid.getTilt");
var values = {};
values.x = tiltValues.x;
values.y = tiltValues.y;
values.z = tiltValues.z;
return values;
};

mraid.setTilt = function (newValue) {


log.i("mraid.setTilt: " + newValue);
if (!mraidUtils.validate(newValue, "setTilt")) {
log.e("validation failed!");
return;
}

tiltValues = newValue;
};

mraid.getNetwork = function () {
log.i("mraid.getNetwork");
return currentNetwork;
};

mraid.setNetwork = function (newValue) {


log.i("mraid.setNetwork: " + newValue);
currentNetwork = newValue;
};

mraid.getHeading = function () {
log.i("mraid.getHeading");
return headingValue;
};

mraid.setHeading = function (newValue) {


log.i("mraid.setHeading: " + newValue);
headingValue = newValue;
};

mraid.getKeyboardState = function () {
log.i("mraid.getKeyboardState");
return currentKeyboardState;
}

mraid.setKeyboardState = function (newValue) {


log.i("mraid.setKeyboardState: " + newValue);
currentKeyboardState = newValue;
}

/**
* extended methods
**/
mraid.playAudio = function(url) {
log.i("mraid.playAudio " + url);

if (!mraid.supports(mraid.SUPPORTED_FEATURES.AUDIO)) {
mraidUtils.broadcastEvent(mraid.EVENTS.ERROR, "playAudio is not
supported", "playAudio");
return;
}

mraidBridge.notifyNative("playAudio", url);
};

mraid.openCamera = function () {
log.i("mraid.openCamera");

if (!mraid.supports(mraid.SUPPORTED_FEATURES.CAMERA)) {
mraidUtils.broadcastEvent(mraid.EVENTS.ERROR, "openCamera is not
supported", "openCamera");
return;
}

mraidBridge.notifyNative("openCamera");
}

/**
* event dispatchers
**/
mraid.fireShakeEvent = function() {
log.i("mraid.fireShakeEvent");
mraidUtils.broadcastEvent(mraid.EVENTS.SHAKE);
}

mraid.fireTiltChangeEvent = function(x, y, z) {
log.i("mraid.fireTiltChangeEvent, x: " + x + " y: " + y + " z: " + z);
tiltValues.x = x;
tiltValues.y = y;
tiltValues.z = z;
mraidUtils.broadcastEvent(mraid.EVENTS.TILTCHANGE, x, y, z);
}

mraid.fireLocationChangeEvent = function(lat, lon, type, accuracy, lastfix,


ipservice) {
log.i("mraid.fireLocationChangeEvent, lat: " + lat + " lon: " + lon + "
type: " + type +
" accuracy: " + accuracy + " lastfix: " + lastfix +
" ipservice: " + ipservice);

mraidBridge.setLocation(lat, lon, type, accuracy, lastfix, ipservice);

mraidUtils.broadcastEvent(mraid.EVENTS.LOCATIONCHANGE, lat, lon, type,


accuracy, lastfix, ipservice);
}

mraid.fireHeadingChangeEvent = function(val) {
log.i("mraid.fireHeadingChangeEvent, val: " + val);
if (headingValue != val) {
headingValue = val;
mraidUtils.broadcastEvent(mraid.EVENTS.HEADINGCHANGE, val);
}
}

mraid.fireNetworkChangeEvent = function(network) {
log.d("mraid.fireNetworkChangeEvent: " + network);
if (currentNetwork != network) {
currentNetwork = network;
mraidUtils.broadcastEvent(mraid.EVENTS.NETWORKCHANGE, network);
}
}

mraid.fireKeyboardStateChangeEvent = function(state) {
log.d("mraid.fireKeyboardStateChangeEvent: " + state);
if (currentKeyboardState !== state) {
currentKeyboardState = state;
mraidUtils.broadcastEvent(mraid.EVENTS.KEYBOARDSTATECHANGE, state);
}
}

log.i("mraid extensions are ready!");


} ());

1554983892313 com.nazara.tinylabproductions.oggy caching timeout timer cancelled!

1554983892316 com.nazara.tinylabproductions.oggy error with ad-network:


POKKT_VIDEO, error: failed to get ad with rewarded ad, ad-format: VIDEO, screen-
name: screen! Error Code 19 : No Campaign Available Vast Error 303

1554983892319 com.nazara.tinylabproductions.oggy saving session-details...

1554983892334 com.nazara.tinylabproductions.oggy release caching lock

1554983892335 com.nazara.tinylabproductions.oggy release caching lock on:


screen_true_VIDEO

1554983892428 com.nazara.tinylabproductions.oggy t response:


{"status":1,"message":"success","response":{}}

1554983892451 com.nazara.tinylabproductions.oggy removing session with id:


df21865a-743f-47ca-a4af-89c821aebfbd

1554983892451 com.nazara.tinylabproductions.oggy saving session-details...

1554983892480 com.nazara.tinylabproductions.oggy q response:


{"status":1,"message":"success","response":{}}

1556218698207 com.nazara.tinylabproductions.oggy starting to cache rewarded ad,


ad-format: VIDEO, screen-name: screen

1556218698209 com.nazara.tinylabproductions.oggy fetching ad networks...

1556218698211 com.nazara.tinylabproductions.oggy checking permissions...

1556218698215 com.nazara.tinylabproductions.oggy ad networks not available,


requesting...

1556218698217 com.nazara.tinylabproductions.oggy initialising Google Play


services...

1556218698220 com.nazara.tinylabproductions.oggy Google Play service result Code is


0

1556218698225 com.nazara.tinylabproductions.oggy Inside run of Thread after gettng


getAdvertisingIdThread 2 ::

1556218698301 com.nazara.tinylabproductions.oggy getAdvertisingIdThread() :: got


Info {b7009d36-9444-4afb-acaf-c833f6e4c098}false

1556218698302 com.nazara.tinylabproductions.oggy Inside run of Thread after getting


adinfo

1556218698331 com.nazara.tinylabproductions.oggy Offer Table Empty !

1556218698333 com.nazara.tinylabproductions.oggy Scheduling now pull notification

1556218698335 com.nazara.tinylabproductions.oggy starting session manager...

1556218698336 com.nazara.tinylabproductions.oggy reading session-details...

1556218698374 com.nazara.tinylabproductions.oggy creating new session data...

1556218698375 com.nazara.tinylabproductions.oggy saving session-details...

1556218698387 com.nazara.tinylabproductions.oggy GetAdNetworksTask is ready to


execute!

1556218698389 com.nazara.tinylabproductions.oggy executing c...

1556218698391 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155621869839022d09d9c8535860dbe79c66456b12c9f

1556218698393 com.nazara.tinylabproductions.oggy md5_token id


1c83e56b4860d652b4d85d5fe7d30330

1556218698418 com.nazara.tinylabproductions.oggy c Request url:


https://vdo.pokkt.com/api/AdNetworksV2?
token=1c83e56b4860d652b4d85d5fe7d30330&timestamp=1556218698390&udid=6254babc-98e5-
42b8-a1a9-
9af626a79056&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.
32&device_id=&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&
advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&androidID=&mac_address=&device_type=Phone&mobile
_no=&email_address=&connection_type=3G&screen_density_x=409.432&screen_density_y=40
6.4&sheight=2040&swidth=1080&carrier_name=Ufone&screen_density_category=XXHDPI&devi
ce_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=&long=&address=&sessionId=80f6f020-d11f-42a7-adbb-
24b7e5c9cadd&gdpr_applicable=false&gdpr_consent=true

1556218698422 com.nazara.tinylabproductions.oggy HTTP Request Failed !


com.pokkt.sdk.exceptions.PokktException: Error Code 01 : Problem connecting to the
internet. Please Check your Internet connection.
at com.pokkt.sdk.utils.l.a(Unknown Source:47)
at com.pokkt.sdk.utils.l.a(Unknown Source:21)
at com.pokkt.sdk.net.a.a(Unknown Source:88)
at com.pokkt.sdk.net.a.doInBackground(Unknown Source:2)
at android.os.AsyncTask$2.call(AsyncTask.java:345)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.pokkt.sdk.net.j$1.run(Unknown Source:2)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:784)
1556218698423 com.nazara.tinylabproductions.oggy failed to execute c! Error Code 01
: Problem connecting to the internet. Please Check your Internet connection.

1556473541754 com.nazara.tinylabproductions.oggy starting to cache rewarded ad,


ad-format: VIDEO, screen-name: screen

1556473541756 com.nazara.tinylabproductions.oggy fetching ad networks...

1556473541758 com.nazara.tinylabproductions.oggy checking permissions...

1556473541763 com.nazara.tinylabproductions.oggy ad networks not available,


requesting...

1556473541764 com.nazara.tinylabproductions.oggy initialising Google Play


services...

1556473541769 com.nazara.tinylabproductions.oggy Google Play service result Code is


0

1556473541772 com.nazara.tinylabproductions.oggy Inside run of Thread after gettng


getAdvertisingIdThread 2 ::

1556473541808 com.nazara.tinylabproductions.oggy getAdvertisingIdThread() :: got


Info {b7009d36-9444-4afb-acaf-c833f6e4c098}false

1556473541810 com.nazara.tinylabproductions.oggy Inside run of Thread after getting


adinfo

1556473541825 com.nazara.tinylabproductions.oggy Scheduling now pull notification

1556473541826 com.nazara.tinylabproductions.oggy Offer Table Empty !

1556473541828 com.nazara.tinylabproductions.oggy starting session manager...

1556473541829 com.nazara.tinylabproductions.oggy reading session-details...

1556473541848 com.nazara.tinylabproductions.oggy creating new session data...

1556473541850 com.nazara.tinylabproductions.oggy saving session-details...

1556473541855 com.nazara.tinylabproductions.oggy GetAdNetworksTask is ready to


execute!

1556473541857 com.nazara.tinylabproductions.oggy executing c...

1556473541859 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155647354185822d09d9c8535860dbe79c66456b12c9f

1556473541861 com.nazara.tinylabproductions.oggy md5_token id


14ed32a63d9af5489de92bedc455df83

1556473541878 com.nazara.tinylabproductions.oggy c Request url:


https://vdo.pokkt.com/api/AdNetworksV2?
token=14ed32a63d9af5489de92bedc455df83&timestamp=1556473541858&udid=6254babc-98e5-
42b8-a1a9-
9af626a79056&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.
32&device_id=&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&
advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&androidID=&mac_address=&device_type=Phone&mobile
_no=&email_address=&connection_type=3G&screen_density_x=409.432&screen_density_y=40
6.4&sheight=1080&swidth=2040&carrier_name=Ufone&screen_density_category=XXHDPI&devi
ce_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=&long=&address=&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b&gdpr_applicable=false&gdpr_consent=true

1556473543203 com.nazara.tinylabproductions.oggy c response:


{"status":1,"message":"success","others":{"Networks":[{"POKKT_VIDEO":
{"id":"31","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":0,"respons
eFormat":1,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=31&ad_format=0&response_format=1&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.9.43&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&preroll=[SDK_PRE_ROLL]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LE
VEL]&encodedPubParams=[SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gd
pr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type"
:3,"custom_data":{},"comscore_client_id":"22296391"}},{"POKKT_BANNER":
{"id":"32","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":1,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=32&ad_format=1&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.9.43&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LEVEL]&encodedPubParams=[
SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gdpr_applicable=[SDK_GDPR
_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type":3,"custom_data":
{},"comscore_client_id":"22296391"}},{"POKKT_INTERSTITIAL":
{"id":"33","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":3,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=33&ad_format=3&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.9.43&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LEVEL]&encodedPubParams=[
SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gdpr_applicable=[SDK_GDPR
_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&ars=[SDK_ARS]","network_type":3,"custo
m_data":{},"comscore_client_id":"22296391"}},{"POKKT_INGAME_BRANDING":
{"id":"34","integration_type":"S2S","incent":0,"non_incent":0,"adFormat":4,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=34&ad_format=4&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.9.43&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&iga_type=[SDK_IGA_TYPE]&battery_level=[SDK_BATTERY_L
EVEL]&encodedPubParams=[SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&g
dpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type
":3,"custom_data":
{},"comscore_client_id":"22296391"}}]},"max_cached_videos":"3","video_cache_ttl":"3
","notification_pull_frequency":"60","branding":"Ads by
POKKT","http_requests_timeout":15,"show_mute":"0","skip_confirm_show_dialog":"0","s
kip_confirm_message":"","skip_confirm_yes_label":"YES","skip_confirm_no_label":"NO"
,"skip_confirm_timer_message":"","incent_message":"","vpaid_background_image":"http
s://pokktjs.pokkt.com/video-js-
4.12/poster.png","track_viewability":false,"back_disable_flag":"0","viewability_tex
t":"","vc":"0","mraid_ios_path":"https://s3-ap-southeast-
1.amazonaws.com/pokktmraid/mraid.js","mraid_android_path":"https://s3-ap-southeast-
1.amazonaws.com/pokktmraid/mraid.js","viewablity_pause_duration":120,"collect_feedb
ack":0,"blocked_category":null,"gt_res_and":"","gt_res_ios":"","html_wrapper_path":
"https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/pokktIMAWrapper.html","om_js_service_path":"ht
tps://s3-ap-southeast-1.amazonaws.com/sdkplugin/omidsupport/omsdk-
v1.js","feedback_html_path":"https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/pokktsdksupport/pokktFeedbackUI.html","vpaid_html_wrapper
_path":"https://pokktjs.pokkt.com/vjs/pokktVpaidWrapper.html","interstitial_frame":
"","trackers":{"session_tracker":
{"type":"POST","url":"https://vdo.pokkt.com/api/sessionTracker/trackV2?","params":"
timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_G
DPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&stat=[SDK_STAT]&appId=511374ddba5da
f16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.ti
nylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b"},"iga_tracker":{"type":"POST","ur
l":"https://vdo.pokkt.com/api/igaTracker/trackV2?","params":"timestamp=[SDK_TIMESTA
MP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&udid=[SDK
_UD_ID]&token=[SDK_TOKEN]&stat=[SDK_STAT]&session_time=[SDK_SESSION_TIME]&appId=511
374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com
.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-
acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b"},"network_event_tracker":
{"type":"POST","url":"https://vdo.pokkt.com/api/NetworkEventTrackerV2?","params":"t
imestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GD
PR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&network_event_count=[SDK_NETWORK_EVE
NT_COUNT]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&
app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=
b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b"},"failed_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/urlTracker/trackV2?","params":"offer
_id=[SDK_OFFER_ID]&url=[SDK_URL]&timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDP
R_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&ap
pId=511374ddba5daf16929850844a9df59a"},"submit_feedback":
{"type":"GET","url":"https://vdo.pokkt.com/api/submitFeedbackV2?","params":"timesta
mp=[SDK_TIMESTAMP]&sex=[SDK_SEX]&age=[SDK_AGE]&offer_id=[SDK_OFFER_ID]&reason=[SDK_
REASON]&watch_time=[SDK_WATCH_TIME]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&advertisingID=b7009d36-
9444-4afb-acaf-c833f6e4c098&appId=511374ddba5daf16929850844a9df59a"},"iap_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/iapTracker/trackV2?","params":"times
tamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_C
ONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&productId=[SDK_PRODUCT_ID]&productPrice=
[SDK_PRODUCT_PRICE]&currencyCode=[SDK_CURRENCY_CODE]&productTitle=[SDK_PRODUCT_TITL
E]&productDesc=[SDK_PRODUCT_DESC]&productStore=[SDK_PRODUCT_STORE]&productData=[SDK
_PRODUCT_DATA]&productSignature=[SDK_PRODUCT_SIGNATURE]&appId=511374ddba5daf1692985
0844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabpro
ductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b"},"get_notification":
{"type":"GET","url":"https://vdo.pokkt.com/api/notification/getNotificationsV2?","p
arams":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consen
t=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&os_id=[SDK_OS_ID]&appId=511
374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com
.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-
acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b&ip=43.245.9.43"},"notification_event_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/NotificationEventsTracker/trackV2?",
"params":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&notification_id=[SDK_ID_N
OTIFICATION]&os_id=[SDK_OS_ID]&track_id=[SDK_TRACK_ID]&event=[SDK_EVENT]&appId=5113
74ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.
nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-
acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b"},"app_install_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/installTracker/trackV2?","params":"t
imestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GD
PR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&appId=511374ddba5daf16929850844a9df5
9a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.
oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b"},"gratification_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/gratificationEventTracker/trackV2?",
"params":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&vc=[SDK_VC]&network_id=[S
DK_NETWORK_ID]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=
1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisi
ngID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b"},"get_categories":
{"type":"GET","url":"https://ias.pokkt.com/installedapps/get?","params":"timestamp=
[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSEN
T]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&appId=511374ddba5daf16929850844a9df59a&os_ver
sion=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_
version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b&ip=43.245.9.43"},"post_categories_count":
{"type":"POST","url":"https://ias.pokkt.com/installedapps/categorycount","params":"
timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_G
DPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&categories=[SDK_CATEGORIES]&appId=5
11374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=c
om.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b&ip=43.245.9.43"},"get_apps_list":
{"type":"GET","url":"https://vdo.pokkt.com/api/appList/get?","params":"timestamp=[S
DK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]
&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&os_id=[SDK_OS_ID]&appId=511374ddba5daf169298508
44a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabprodu
ctions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b&ip=43.245.9.43","refresh_rate_in_days":4}}}

1556473543212 com.nazara.tinylabproductions.oggy Network response is


{"status":1,"message":"success","others":{"Networks":[{"POKKT_VIDEO":
{"id":"31","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":0,"respons
eFormat":1,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=31&ad_format=0&response_format=1&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.9.43&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&preroll=[SDK_PRE_ROLL]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LE
VEL]&encodedPubParams=[SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gd
pr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type"
:3,"custom_data":{},"comscore_client_id":"22296391"}},{"POKKT_BANNER":
{"id":"32","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":1,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=32&ad_format=1&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.9.43&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LEVEL]&encodedPubParams=[
SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gdpr_applicable=[SDK_GDPR
_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type":3,"custom_data":
{},"comscore_client_id":"22296391"}},{"POKKT_INTERSTITIAL":
{"id":"33","integration_type":"S2S","incent":1,"non_incent":1,"adFormat":3,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=33&ad_format=3&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.9.43&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&battery_level=[SDK_BATTERY_LEVEL]&encodedPubParams=[
SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&gdpr_applicable=[SDK_GDPR
_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&ars=[SDK_ARS]","network_type":3,"custo
m_data":{},"comscore_client_id":"22296391"}},{"POKKT_INGAME_BRANDING":
{"id":"34","integration_type":"S2S","incent":0,"non_incent":0,"adFormat":4,"respons
eFormat":0,"requestUrl":"https://vdo.pokkt.com/api/AdRequestV2?
network_id=34&ad_format=4&response_format=0&resolution=[SDK_RESOLUTION]&screen=[SDK
_SCREEN]&offerids=[SDK_CACHED_OFFER_IDS]&appId=511374ddba5daf16929850844a9df59a&os_
version=8.0.0&androidID=[SDK_ANDROID_ID]&app_version=1.32&device_id=&app_bundle_nam
e=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Ufone&de
vice_model=HUAWEI+RNE-
L21&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=43.245.9.43&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SDK
_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_de
nsity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_densi
ty_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&ass
et_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_NA
ME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITAL
_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK_
TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[S
DK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incent
=[SDK_INCENT]&udid=[SDK_UD_ID]&iga_type=[SDK_IGA_TYPE]&battery_level=[SDK_BATTERY_L
EVEL]&encodedPubParams=[SDK_ENCODED_PUB_PARAMS]&vdo_pt=[SDK_VIDEO_PLACEMENT_TYPE]&g
dpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]","network_type
":3,"custom_data":
{},"comscore_client_id":"22296391"}}]},"max_cached_videos":"3","video_cache_ttl":"3
","notification_pull_frequency":"60","branding":"Ads by
POKKT","http_requests_timeout":15,"show_mute":"0","skip_confirm_show_dialog":"0","s
kip_confirm_message":"","skip_confirm_yes_label":"YES","skip_confirm_no_label":"NO"
,"skip_confirm_timer_message":"","incent_message":"","vpaid_background_image":"http
s://pokktjs.pokkt.com/video-js-
4.12/poster.png","track_viewability":false,"back_disable_flag":"0","viewability_tex
t":"","vc":"0","mraid_ios_path":"https://s3-ap-southeast-
1.amazonaws.com/pokktmraid/mraid.js","mraid_android_path":"https://s3-ap-southeast-
1.amazonaws.com/pokktmraid/mraid.js","viewablity_pause_duration":120,"collect_feedb
ack":0,"blocked_category":null,"gt_res_and":"","gt_res_ios":"","html_wrapper_path":
"https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/pokktIMAWrapper.html","om_js_service_path":"ht
tps://s3-ap-southeast-1.amazonaws.com/sdkplugin/omidsupport/omsdk-
v1.js","feedback_html_path":"https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/pokktsdksupport/pokktFeedbackUI.html","vpaid_html_wrapper
_path":"https://pokktjs.pokkt.com/vjs/pokktVpaidWrapper.html","interstitial_frame":
"","trackers":{"session_tracker":
{"type":"POST","url":"https://vdo.pokkt.com/api/sessionTracker/trackV2?","params":"
timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_G
DPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&stat=[SDK_STAT]&appId=511374ddba5da
f16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.ti
nylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b"},"iga_tracker":{"type":"P
OST","url":"https://vdo.pokkt.com/api/igaTracker/trackV2?","params":"timestamp=[SDK
_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&u
did=[SDK_UD_ID]&token=[SDK_TOKEN]&stat=[SDK_STAT]&session_time=[SDK_SESSION_TIME]&a
ppId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_
name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-
9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b"},"network_event_tracker":
{"type":"POST","url":"https://vdo.pokkt.com/api/NetworkEventTrackerV2?","params":"t
imestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GD
PR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&network_event_count=[SDK_NETWORK_EVE
NT_COUNT]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&
app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=
b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b"},"failed_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/urlTracker/trackV2?","params":"offer
_id=[SDK_OFFER_ID]&url=[SDK_URL]&timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDP
R_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&ap
pId=511374ddba5daf16929850844a9df59a"},"submit_feedback":
{"type":"GET","url":"https://vdo.pokkt.com/api/submitFeedbackV2?","params":"timesta
mp=[SDK_TIMESTAMP]&sex=[SDK_SEX]&age=[SDK_AGE]&offer_id=[SDK_OFFER_ID]&reason=[SDK_
REASON]&watch_time=[SDK_WATCH_TIME]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&advertisingID=b7009d36-
9444-4afb-acaf-c833f6e4c098&appId=511374ddba5daf16929850844a9df59a"},"iap_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/iapTracker/trackV2?","params":"times
tamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_C
ONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&productId=[SDK_PRODUCT_ID]&productPrice=
[SDK_PRODUCT_PRICE]&currencyCode=[SDK_CURRENCY_CODE]&productTitle=[SDK_PRODUCT_TITL
E]&productDesc=[SDK_PRODUCT_DESC]&productStore=[SDK_PRODUCT_STORE]&productData=[SDK
_PRODUCT_DATA]&productSignature=[SDK_PRODUCT_SIGNATURE]&appId=511374ddba5daf1692985
0844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabpro
ductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b"},"get_notification":
{"type":"GET","url":"https://vdo.pokkt.com/api/notification/getNotificationsV2?","p
arams":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consen
t=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&os_id=[SDK_OS_ID]&appId=511
374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com
.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-
acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b&ip=43.245.9.43"},"notification_event_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/NotificationEventsTracker/trackV2?",
"params":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&notification_id=[SDK_ID_N
OTIFICATION]&os_id=[SDK_OS_ID]&track_id=[SDK_TRACK_ID]&event=[SDK_EVENT]&appId=5113
74ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.
nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-
acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b"},"app_install_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/installTracker/trackV2?","params":"t
imestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GD
PR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&appId=511374ddba5daf16929850844a9df5
9a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.
oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b"},"gratification_tracker":
{"type":"GET","url":"https://vdo.pokkt.com/api/gratificationEventTracker/trackV2?",
"params":"timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_cons
ent=[SDK_GDPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&vc=[SDK_VC]&network_id=[S
DK_NETWORK_ID]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=
1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisi
ngID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b"},"get_categories":
{"type":"GET","url":"https://ias.pokkt.com/installedapps/get?","params":"timestamp=
[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSEN
T]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&appId=511374ddba5daf16929850844a9df59a&os_ver
sion=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_
version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b&ip=43.245.9.43"},"post_categories_count":
{"type":"POST","url":"https://ias.pokkt.com/installedapps/categorycount","params":"
timestamp=[SDK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_G
DPR_CONSENT]&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&categories=[SDK_CATEGORIES]&appId=5
11374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=c
om.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b&ip=43.245.9.43"},"get_apps_list":
{"type":"GET","url":"https://vdo.pokkt.com/api/appList/get?","params":"timestamp=[S
DK_TIMESTAMP]&gdpr_applicable=[SDK_GDPR_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]
&udid=[SDK_UD_ID]&token=[SDK_TOKEN]&os_id=[SDK_OS_ID]&appId=511374ddba5daf169298508
44a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabprodu
ctions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&androidID=&device_type=Phone&connection_type=3G&screen_density_x=409.4
32&screen_density_y=406.4&sheight=1080.0&swidth=2040.0&carrier_name=Ufone&screen_de
nsity_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b&ip=43.245.9.43","refresh_rate_in_days":4}}}

1556473543225 com.nazara.tinylabproductions.oggy Network name POKKT_VIDEO

1556473543227 com.nazara.tinylabproductions.oggy Network name POKKT_BANNER

1556473543229 com.nazara.tinylabproductions.oggy Network name POKKT_INTERSTITIAL

1556473543230 com.nazara.tinylabproductions.oggy Network name POKKT_INGAME_BRANDING

1556473543235 com.nazara.tinylabproductions.oggy creating new network!

1556473543237 com.nazara.tinylabproductions.oggy network created: POKKT_VIDEO

1556473543238 com.nazara.tinylabproductions.oggy creating new network!

1556473543238 com.nazara.tinylabproductions.oggy network created: POKKT_BANNER

1556473543239 com.nazara.tinylabproductions.oggy creating new network!

1556473543240 com.nazara.tinylabproductions.oggy network created:


POKKT_INTERSTITIAL

1556473543241 com.nazara.tinylabproductions.oggy creating new network!

1556473543241 com.nazara.tinylabproductions.oggy network created:


POKKT_INGAME_BRANDING

1556473543244 com.nazara.tinylabproductions.oggy cacheAd requested for: rewarded


ad, ad-format: VIDEO, screen-name: screen!

1556473543245 com.nazara.tinylabproductions.oggy acquiring caching lock

1556473543246 com.nazara.tinylabproductions.oggy acquiring caching lock on:


screen_true_VIDEO

1556473543248 com.nazara.tinylabproductions.oggy lock acquired rewarded ad, ad-


format: VIDEO, screen-name: screen!

1556473543249 com.nazara.tinylabproductions.oggy activeAdSlots does not contain


mentioned adConfig

1556473543251 com.nazara.tinylabproductions.oggy activeAdSlots contains null value


for mentioned adConfig

1556473543257 com.nazara.tinylabproductions.oggy attempting to cache ad with ad-


network: POKKT_VIDEO

1556473543259 com.nazara.tinylabproductions.oggy checking ad-availability with ad-


network: POKKT_VIDEO
1556473543260 com.nazara.tinylabproductions.oggy fetching ad for slot: rewarded
ad, ad-format: VIDEO, screen-name: screen

1556473543262 com.nazara.tinylabproductions.oggy category last get at :1556473543

1556473543263 com.nazara.tinylabproductions.oggy sending session data...

1556473543264 com.nazara.tinylabproductions.oggy total sessions to send: 3

1556473543266 com.nazara.tinylabproductions.oggy Active Session

1556473543267 com.nazara.tinylabproductions.oggy Gesture path not found

1556473543270 com.nazara.tinylabproductions.oggy executing f...

1556473543270 com.nazara.tinylabproductions.oggy executing f...

1556473543271 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/sdkplugin/imasupport/pokktIMAWrapper.html

1556473543272 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/sdkplugin/omidsupport/omsdk-v1.js

1556473543580 com.nazara.tinylabproductions.oggy executing f...

1556473543582 com.nazara.tinylabproductions.oggy f Request url:


https://pokktjs.pokkt.com/vjs/pokktVpaidWrapper.html

1556473544319 com.nazara.tinylabproductions.oggy f response: <html>


<head>
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/style.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/video-js.min.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ads.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ima.css" />
</head>
<body>
<div id="pokkt-ima-adcontainer" class="pokkt-ima-adcontainer">
<div id="pokkt-ima-videoplayer" class="pokkt-ima-videoplayer">
<video id="pokkt-video-ad" class="video-js vjs-default-skin vjs-fullscreen
pokkt-video-ad" autoplay preload="auto" playsinline
poster="https://pokktjs.pokkt.com/video-js-4.12/poster.png"></video>
</div>
</div>

<script src="https://imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/video.min.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ads.min.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ima.js"></script>
<script type="text/javascript">
/**
* console logger
**/
(function() {
var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};

var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};

log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};

log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};

log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());

/**
* bridge
**/
(function() {
window.pokktNativeBridge = {};
window.pokktNativeBridge.notifyNative = function(operation, params) {
log.i('notifying native of: ' + operation + ' , with params: ' + params);

var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "pokktbridge://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};
} ());

/**
* POKKT-IMA Wrapper
**/
var PokktIMAWrapper = function(debugEnabled) {
log.i('preparing ima wrapper for pokkt...');

this.player = videojs('pokkt-video-ad');
this.player.fluid(true);

// Remove controls from the player on iPad to stop native controls from
stealing our click
if (navigator.userAgent.match(/iPad/i) ||
navigator.userAgent.match(/Android/i)){
var contentPlayer = document.getElementById('content_video_html5_api');
if (contentPlayer != null && contentPlayer.hasAttribute('controls')) {
contentPlayer.removeAttribute('controls');
}

this.player.controls(false);
}

var options = {
debug: debugEnabled,
id: 'pokkt-video-ad',
autoPlayAdBreaks: false,
showControlsForJSAds: false,
vpaidMode: 'INSECURE',
disableCustomPlaybackForIOS10Plus: true,
adsManagerLoadedCallback: this.adsManagerLoadedCallback.bind(this)
};
this.player.ima(options);

this.player.ima.setAdBreakReadyListener(function(){
log.i('ad-break ready, attempting ad playback...');
this.player.ima.playAdBreak();
});

pokktNativeBridge.notifyNative('wrapperPrepared');
};

PokktIMAWrapper.prototype.initWithAdTag = function(adTag, isAdTagAUrl) {


log.i('initializing ima...');

this.player.ima.initializeAdDisplayContainer();

if (isAdTagAUrl) {
this.player.ima.setContentWithAdTag(null, adTag, false);
} else {
this.player.ima.setContentWithAdsResponse(null, adTag, false);
}

this.player.ima.requestAds();
};

PokktIMAWrapper.prototype.adsManagerLoadedCallback = function(event) {
log.i('ads-manager loaded, registering remaining listners...');

var events = [
google.ima.AdEvent.Type.AD_BREAK_READY,
google.ima.AdEvent.Type.AD_CAN_PLAY,
google.ima.AdEvent.Type.AD_METADATA,
google.ima.AdEvent.Type.ALL_ADS_COMPLETED,
google.ima.AdEvent.Type.CLICK,
google.ima.AdEvent.Type.COMPLETE,
google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,
google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,
google.ima.AdEvent.Type.DURATION_CHANGE,
google.ima.AdEvent.Type.EXPANDED_CHANGED,
google.ima.AdEvent.Type.FIRST_QUARTILE,
google.ima.AdEvent.Type.IMPRESSION,
google.ima.AdEvent.Type.INTERACTION,
google.ima.AdEvent.Type.LINEAR_CHANGED,
google.ima.AdEvent.Type.LOADED,
google.ima.AdEvent.Type.LOG,
google.ima.AdEvent.Type.MIDPOINT,
google.ima.AdEvent.Type.PAUSED,
google.ima.AdEvent.Type.RESUMED,
google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,
google.ima.AdEvent.Type.SKIPPED,
google.ima.AdEvent.Type.STARTED,
google.ima.AdEvent.Type.THIRD_QUARTILE,
google.ima.AdEvent.Type.USER_CLOSE,
google.ima.AdEvent.Type.VIEWABLE_IMPRESSION,
google.ima.AdEvent.Type.VOLUME_CHANGED,
google.ima.AdEvent.Type.VOLUME_MUTED,
google.ima.AdErrorEvent.Type.AD_ERROR
];

for (var index = 0; index < events.length; index++) {


log.i('registering listner for ' + events[index]);
this.player.ima.addEventListener(events[index],
this.onAdEvent.bind(this));
}

window.addEventListener('resize', this.onWindowResize.bind(this));
};

PokktIMAWrapper.prototype.onAdEvent = function(event) {
var message = 'Ad event: ' + event.type;
log.i(message);

// notify this event to native


window.pokktNativeBridge.notifyNative('adEvent', event.type);
};

PokktIMAWrapper.prototype.playAd = function() {
this.player.ima.playAdBreak();
};

PokktIMAWrapper.prototype.pauseAd = function() {
this.player.pause();
};

PokktIMAWrapper.prototype.onWindowResize = function() {
var adContainer = document.getElementById('pokkt-ima-adcontainer');
var videoElement = document.getElementById('pokkt-video-ad');
var adContainerWidth = adContainer.offsetWidth;
var videoHeight = videoElement.offsetHeight;
var adsManager = this.player.ima.getAdsManager();
if (adsManager) {
adsManager.resize(adContainerWidth, videoHeight,
google.ima.ViewMode.NORMAL);
}
};

function prepareIMA(debugEnabled) {
window.imaAds = new PokktIMAWrapper(debugEnabled);
}

function initIMAWithTag(adTag, isAdTagAUrl) {


window.imaAds.initWithAdTag(adTag, isAdTagAUrl);
}

function playAd() {
window.imaAds.playAd();
}

function pauseAd() {
window.imaAds.pauseAd();
}

</script>
</body>
</html>

1556473544322 com.nazara.tinylabproductions.oggy executing f...

1556473544322 com.nazara.tinylabproductions.oggy Successfully downloaded IMA HTML

1556473544324 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/sdkplugin/omidsupport/omsdk-v1.js

1556473544560 com.nazara.tinylabproductions.oggy f response: ;(function(omidGlobal)


{
'use strict';var h,aa='function'==typeof Object.defineProperties?
Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!
=Object.prototype&&(a[b]=c.value)},k='undefined'!=typeof window&&window===this?
this:'undefined'!=typeof global&&global?global:this;function ba(){ba=function()
{};k.Symbol||(k.Symbol=ca)}var da=0;function ca(a){return'jscomp_symbol_'+(a||'')
+da++}
function n(){ba();var a=k.Symbol.iterator;a||
(a=k.Symbol.iterator=k.Symbol('iterator'));'function'!=typeof
Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!
0,value:function(){return ea(this)}});n=function(){}}function ea(a){var b=0;return
fa(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}function fa(a)
{n();a={next:a};a[k.Symbol.iterator]=function(){return this};return a}function p(a)
{n();ba();n();var b=a[Symbol.iterator];return b?b.call(a):ea(a)}
function q(a,b){function c()
{}c.prototype=b.prototype;a.oa=b.prototype;a.prototype=new
c;a.prototype.constructor=a;for(var d in b)if('prototype'!
=d)if(Object.defineProperties){var
e=Object.getOwnPropertyDescriptor(b,d);e&&Object.defineProperty(a,d,e)}else
a[d]=b[d]}function r(a){if(!(a instanceof Array)){a=p(a);for(var b,c=[];!
(b=a.next()).done;)c.push(b.value);a=c}return a}
function ha(a,b){if(b){var c=k;a=a.split('.');for(var d=0;d<a.length-1;d++){var
e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!
=b&&aa(c,a,{configurable:!0,writable:!0,value:b})}}ha('Object.assign',function(a)
{return a?a:function(a,c){for(var b=1;b<arguments.length;b++){var
e=arguments[b];if(e)for(var f in
e)Object.prototype.hasOwnProperty.call(e,f)&&(a[f]=e[f])}return a}});
ha('Object.values',function(a){return a?a:function(a){var b=[],d;for(d in
a)Object.prototype.hasOwnProperty.call(a,d)&&b.push(a[d]);return b}});function
ia(a){return/\d+\.\d+\.\d+(-.*)?/.test(a)}function ja(a){a=a.split('-')
[0].split('.');for(var b=['1','0','3'],c=0;3>c;c++){var
d=parseInt(a[c],10),e=parseInt(b[c],10);if(d>e)break;else if(d<e)return!1}return!
0};function ka(a,b){return ia(a)&&ja(a)?b?b:[]:b&&'string'===typeof b?
JSON.parse(b):[]};var
t={da:'loaded',ka:'start',Z:'firstQuartile',ea:'midpoint',la:'thirdQuartile',Y:'com
plete',ga:'pause',ia:'resume',X:'bufferStart',W:'bufferFinish',ja:'skipped',na:'vol
umeChange',ha:'playerStateChange',U:'adUserInteraction'},la={aa:'generic',ma:'video
'},ma={F:'native',ba:'html'},na={F:'native',ca:'javascript',NONE:'none'},oa={V:'bac
kgrounded',$:'foregrounded'},pa={fa:'app'};function u(a,b,c,d)
{this.b=a;this.method=b;this.version=c;this.a=d}function qa(a){return!!a&&void 0!
==a.omid_message_guid&&void 0!==a.omid_message_method&&void 0!
==a.omid_message_version&&'string'===typeof a.omid_message_guid&&'string'===typeof
a.omid_message_method&&'string'===typeof a.omid_message_version&&(void
0===a.omid_message_args||void 0!==a.omid_message_args)}function ra(a){return new
u(a.omid_message_guid,a.omid_message_method,a.omid_message_version,a.omid_message_a
rgs)}
function sa(a){var
b={};b=(b.omid_message_guid=a.b,b.omid_message_method=a.method,b.omid_message_versi
on=a.version,b);void 0!==a.a&&(b.omid_message_args=a.a);return b};function ta(a)
{this.b=a};function ua(a){var
b=a.document.createElement('iframe');b.id='omid_v1_present';b.name='omid_v1_present
';b.style.display='none';a.document.body.appendChild(b)}function za(){var a=v,b=new
MutationObserver(function(c){c.forEach(function(c)
{'BODY'===c.addedNodes[0].nodeName&&(ua(a),b.disconnect())})});b.observe(a.document
.documentElement,{childList:!0})};function z(a)
{this.b=a;this.handleExportedMessage=z.prototype.c.bind(this)}q(z,ta);z.prototype.s
endMessage=function(a,b){b=void 0===b?this.b:b;if(!b)throw Error('Message
destination must be defined at construction time or when sending the
message.');b.handleExportedMessage(sa(a),this)};z.prototype.c=function(a,b)
{qa(a)&&this.a&&this.a(ra(a),b)};function C(a){for(var b=[],c=0;c<arguments.length;
++c)b[c-0]=arguments[c];Aa(function(){throw new
(Function.prototype.bind.apply(Error,[null].concat(['Could not complete the test
successfully - '],r(b))));},function(){return console.error.apply(console,
[].concat(r(b)))})}function Ba(a){for(var b=[],c=0;c<arguments.length;++c)b[c-
0]=arguments[c];Aa(function(){},function(){return console.error.apply(console,
[].concat(r(b)))})}
function Aa(a,b){'undefined'!==typeof jasmine&&jasmine?a():'undefined'!==typeof
console&&console&&console.error&&b()};var Ca=eval('this'),v=function()
{if('undefined'!==typeof omidGlobal&&omidGlobal)return omidGlobal;if('undefined'!
==typeof global&&global)return global;if('undefined'!==typeof window&&window)return
window;if('undefined'!==typeof Ca&&Ca)return Ca;throw Error('Could not determine
global object context.');}();function E(a,b){this.b=b=b?b:v;var
c=this;a.addEventListener('message',function(a){if('object'===typeof a.data){var
b=a.data;qa(b)&&a.source&&c.a&&c.a(ra(b),a.source)}})}q(E,ta);E.prototype.sendMessa
ge=function(a,b){b=b?b:this.b;if(!b)throw Error('Message destination must be
defined at construction time or when sending the
message.');b.postMessage(sa(a),'*')};function Da(a,b)
{this.y=this.x=0;this.width=a;this.height=b};function F(a,b)
{this.x=a.x;this.y=a.y;this.width=a.width;this.height=a.height;this.endX=this.x+thi
s.width;this.endY=this.y+this.height;this.adSessionId=a.adSessionId||void
0;this.isFriendlyObstructionFor=a.isFriendlyObstructionFor||
[];this.clipsToBounds=void 0!==a.clipsToBounds?!0===a.clipsToBounds:!
0;this.childViews=a.childViews||[];this.isCreative=a.isCreative||!
1;this.a=b}function Ea(a){var b={};return b.width=a.width,b.height=a.height,b}
function I(a){var b={};return Object.assign({},Ea(a),(b.x=a.x,b.y=a.y,b))}function
J(a){var b=I(a),c={};return Object.assign({},b,
(c.endX=a.endX,c.endY=a.endY,c))}function Fa(a,b,c)
{a.x+=b;a.y+=c;a.endX+=b;a.endY+=c}F.prototype.u=function(a){if(!a)return!
1;a=I(a);var b=a.y,c=a.width,d=a.height;return
this.x===a.x&&this.y===b&&this.width===c&&this.height===d};function Ga(a){return
a.width*a.height};function Ha(a,b){a=I(a);for(var c=[],d=[],e=0;e<b.length;e++){var
f=I(b[e]),l=Math.max(a.y,f.y),g=Math.min(a.x+a.width,f.x+f.width),m=Math.min(a.y+a.
height,f.y+f.height);K(c,Math.max(a.x,f.x));K(c,g);K(d,l);K(d,m)}c=c.sort(function(
a,b){return a-b});d=d.sort(function(a,b){return a-b});return{S:c,T:d}}function
K(a,b){-1===a.indexOf(b)&&a.push(b)};function Ia()
{this.a=this.b=this.l=this.j=this.c=this.i=void
0;this.m=0;this.g=[];this.f=[];this.h=[]}Ia.prototype.u=function(a){return a?
JSON.stringify(L(this))===JSON.stringify(L(a)):!1};
function L(a){var b=[],c={viewport:a.i,adView:
{percentageInView:a.m,reasons:a.h}};if(a.b)
{c.adView.geometry=I(a.b);c.adView.onScreenGeometry=I(a.a);for(var
d=0;d<a.f.length;d+
+)b.push(I(a.f[d]));c.adView.onScreenGeometry.obstructions=b;a.j&&a.l&&(c.adView.co
ntainerGeometry=I(a.j),c.adView.onScreenContainerGeometry=I(a.l),c.adView.measuring
Element=!0)}return c}
function Ja(a,b)
{b=Ea(b);a.i={};a.i.width=b.width;a.i.height=b.height;a.c={};a.c.x=0;a.c.y=0;a.c.wi
dth=b.width;a.c.height=b.height;a.c.endX=b.width;a.c.endY=b.height}function Ka(a,b)
{var
c={};c.x=Math.max(a.x,b.x);c.y=Math.max(a.y,b.y);c.endX=Math.min(a.endX,b.endX);c.e
ndY=Math.min(a.endY,b.endY);c.width=Math.max(0,c.endX-
c.x);c.height=Math.max(0,c.endY-c.y);return c}function La(a,b){return
a.width<b.width||a.height<b.height}
function Ma(a){var b=Ga(a.b);if(b){var c=Ga(a.a);var d=a.f,e=0;if(0<d.length){var
f=Ha(a.a,d),l=f.S;f=f.T;for(var g=0;g<l.length-1;g++)for(var m=(l[g]+(l[g]
+1))/2,N=l[g+1]-l[g],x=0;x<f.length-1;x++){for(var A=(f[x]+(f[x]+1))/2,G=f[x+1]-
f[x],H=!1,B=0;B<d.length;B++){var
w=I(d[B]);if(w.x<m&&w.x+w.width>m&&w.y<A&&w.y+w.height>A){H=!
0;break}}H&&(e+=Math.round(N)*Math.round(G))}}b=Math.round((c-
e)/b*100);a.m=Math.max(b,0)}}
function M(a,b){for(var c=!1,d=0;d<a.h.length;d++)a.h[d]===b&&(c=!0);c||
a.h.push(b)};function Na(){}function Oa(a,b,c,d){var e=new Ia(0);b=new F(b,!
1);Ja(e,b);Pa(a,b,e,d);if('backgrounded'===c)M(e,'backgrounded');else if(e.b)
{for(a=0;a<e.g.length;a++){c=e.g[a];if(0!==c.width&&0!==c.height&&e.a)
{d=J(e.a);b=d.y;var f=d.endX,l=d.endY;c=!(c.endX<=d.x||c.x>=f||c.endY<=b||
c.y>=l)}else c=!1;if(c){a:{c=e.g[a];for(d=0;d<e.f.length;d++)if(e.f[d].u(c)){c=!
0;break a}c=!1}c=!c}c&&(M(e,'obstructed'),e.f.push(e.g[a]))}Ma(e)}else
M(e,'notFound');return e}
function Pa(a,b,c,d){var e=b.isCreative?!0:b.adSessionId===d;if(e){c.b=b;var
f=J(c.b);a=Ka(c.c,f);La(a,f)&&M(c,'clipped');c.a=new F(a,!1)}else if(f=!0,b.a&&(f=-
1!==b.isFriendlyObstructionFor.indexOf(d)?!1:!1===b.clipsToBounds),f)for(var
l=b.childViews,g=0;g<l.length;g++)f=!!c.b,Pa(a,new F(l[g],f),c,d);!e&&c.b&&(b.a?-1!
==b.isFriendlyObstructionFor.indexOf(d)||c.g.push(b):
(e=J(b),d=J(c.a),I(c.a),a=c.a,0!==a.width&&0!
==a.height&&b.clipsToBounds&&(b=Ka(d,e),La(b,d)&&(M(c,'clipped'),c.a=new F(b,!
1)))))}
;function Qa(){return{apiVersion:'1.0',accessMode:'limited',omidJsInfo:
{omidImplementer:'omsdk',serviceVersion:'1.1.3-iab493'}}}function Ra()
{this.adSessionId=null;this.c=Qa();this.j='foregrounded';this.b=this.a='none';this.
i=this.g=this.f=this.A=this.B=this.l=null;this.m=!0}var O;function P(){O||(O=new
Ra);return O};function Sa(a,b)
{this.b=a;this.c=b}k.Object.defineProperties(Sa.prototype,{a:{configurable:!
0,enumerable:!0,get:function(){return this.b}},origin:{configurable:!0,enumerable:!
0,get:function(){return this.c}}});function Ta()
{this.b=[];this.c=[];this.g=[];this.h=[];this.f={};this.a=P()}function Ua(a)
{a.b=[];a.c=[];a.g=[];a.h=[];a.f={};O.adSessionId=null;O.c=Qa();O.v=void 0;O.w=void
0;O.h=null;O.s=null;O.C=null;O.j='foregrounded';O.a='none';O.b='none';O.l=null;O.B=
null;O.A=null;O.f=null;O.g=null;O.i=null;O.m=!0}function Va(a,b){!1!
==Wa(b)&&a.g.filter(function(a){return a.type===b.a.type}).forEach(function(c)
{return a.i(c.o,b.a)})}
function Xa(a,b,c){a.b.filter(function(a){return
a.a.type===b&&Wa(a)}).map(function(a){return a.a}).forEach(c)}function Wa(a){var
b=a.a.type,c=-1!==Object.values(t).indexOf(b)&&'volumeChange'!
==b;return'impression'===b?a.origin===P().b:c?a.origin===P().a:!0}function
Ya(a,b,c){'video'===b?Za(a,c):(a.g.push({type:b,o:c}),Xa(a,b,c))}function Za(a,b)
{Object.keys(t).forEach(function(c){c=t[c];a.g.push({type:c,o:b});Xa(a,c,b)})}
function $a(a,b,c){a.h.push({R:c,o:b});a.c.forEach(function(d){var
e=ab(d);'sessionStart'===d.a.type&&(e.data.verificationParameters=c&&a.f[c]);a.i(b,
e)})}function bb(a){return a.b.some(function(a){return'impression'===a.a.type})||
a.c.some(function(a){return'impression'===a.a.type})}function Q(a,b,c){var
d=S(a,'sessionError','native',
{errorType:b,message:c});a.c.push(d);a.h.forEach(function(b){a.i(b.o,d.a)})}
function cb(a,b){a.f=Object.assign(a.f,b);if(b=a.a.c){var
c=S(a,'sessionStart','native',{context:b});a.c.push(c);a.h.forEach(function(b){var
d=b.o,f=ab(c);b=b.R;f.data.verificationParameters=b&&a.f[b];a.i(d,f)},a)}}function
db(a){var
b=a.h,c=S(a,'sessionFinish','native');a.c.push(c);Ua(a);b.forEach(function(b)
{return a.i(b.o,c.a)})}Ta.prototype.i=function(a,b){for(var
c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];try{a.apply(null,
[].concat(r(c)))}catch(e){Ba(e)}};
function eb(a,b){var c=a.a.A;var d=(d=P().h)?L(d).viewport:void 0;var e=(e=P().h)?
L(e).adView:void 0;b=S(a,'impression',b,
{mediaType:c,viewport:d,adView:e});a.b.push(b);Va(a,b)}function fb(a,b,c,d)
{'start'!==b&&'volumeChange'!==b||null!=(d&&d.deviceVolume)||
(d.deviceVolume=a.a.l);'start'!==b&&'volumeChange'!==b||
null==(d&&d.videoPlayerVolume)||
(a.a.B=d.videoPlayerVolume);b=S(a,b,c,d);a.b.push(b);Va(a,b)}
function gb(a,b){var c=a.g.filter(function(a)
{return'loaded'===a.type}).map(function(a){return a.o}),d=a.b.filter(function(a)
{return'loaded'===a.a.type&&a.origin===b}).map(function(a){return
a.a});c.forEach(function(a){d.forEach(a)})}function hb(a,b){return'none'!
==a.a.b&&a.a.b!==b?(C('Impression event is owned by '+(a.a.b+', not '+b+'.')),!1):!
0}function ib(a,b){return'none'!==a.a.a&&a.a.a!==b?(C('Video events are owned by '+
(a.a.a+', not '+b+'.')),!1):!0}
function S(a,b,c,d){return new Sa({adSessionId:a.a.adSessionId||'',timestamp:(new
Date).getTime(),type:b,data:d},c)}function ab(a)
{a=a.a;return{adSessionId:a.adSessionId,timestamp:a.timestamp,type:a.type,data:a.da
ta}};function jb(a,b,c){'container'===b&&void 0!==a.a.v&&a.a&&null!
=a.a.adSessionId&&(a.a.h=Oa(a.b,a.a.v,a.a.j,a.a.adSessionId));'creative'===b&&a.a.w
&&(a.a.s=Oa(a.b,a.a.w,a.a.j,a.a.adSessionId));if(a.a.h)if(a.a.s){b=new Ia(0);var
d=a.a.h,e=a.a.s,f=d.i,l=d.b,g=d.a,m=e.b;e=e.a;f&&l&&g&&m&&e&&(Ja(b,f),b.j=new F(l,!
1),b.l=new F(g,!
1),b.g=Object.assign([],d.g),b.f=Object.assign([],d.f),b.h=Object.assign([],d.h),d=
b.j.x,f=b.j.y,m=new F(m,!1),e=new F(e,!1),Fa(m,d,f),Fa(e,d,f),b.b=m,b.a=Ka(e,g),-
1===b.h.indexOf('backgrounded')&&
Ma(b))}else b=a.a.h;else b=null;g=a.a.C;if(b&&!b.u(g)||
c)g=L(b),c&&(g.adView.reasons=g.adView.reasons||
[c]),c=a.c,g=S(c,'geometryChange','native',
{viewport:g.viewport,adView:g.adView}),c.b.push(g),Va(c,g),a.a.C=b};function
lb(a,b,c){this.i=a;this.v=b;this.j=c;this.c=P();this.b=null;this.a=this.g=void
0;this.m=!0;T(this)}function T(a){if(!a.b){var b;a:
{if((b=a.i.document)&&b.getElementsByClassName&&(b=b.getElementsByClassName('omid-
element'))){if(1==b.length){b=b[0];break a}1<b.length&&a.m&&(Q(a.j,'generic',"More
than one element with 'omid-element' class name."),a.m=!
1)}b=null}b&&(b.tagName&&'video'===b.tagName.toLowerCase()?a.c.g=b:a.c.f=b,mb(a))}}
function mb(a){a.c.g?
(a.b=a.c.g,a.h()):a.c.f&&(a.b=a.c.f,'iframe'===a.b.tagName.toLowerCase()?
a.c.i&&a.h():a.h())}function nb(a)
{if(a.a&&a.g)if(a.b.tagName&&'iframe'===a.b.tagName.toLowerCase()){if(a.c.i)
{a:if(a.c.i){var b=new F(a.c.i,!1);Fa(b,a.a.x,a.a.y);b.clipsToBounds=!
0;b.isCreative=!0;for(var c=0;c<a.a.childViews.length;c+
+)if(a.a.childViews[c].isCreative){a.a.childViews[c]=b;break
a}a.a.childViews.push(b)}ob(a)}}else a.a.isCreative=!0,ob(a)}function ob(a)
{a.c.w=a.g;jb(a.v,'creative')};function pb(a,b,c){return qb(a,'setInterval')
(b,c)}function rb(a,b){qb(a,'clearInterval')(b)}function sb(a,b)
{qb(a,'clearTimeout')(b)}function qb(a,b){return a.a&&a.a[b]?a.a[b]:tb(a,b)}
function ub(a,b,c,d){if(a.a.document&&a.a.document.body){var
e=a.a.document.createElement('img');e.width=1;e.height=1;e.style.display='none';e.s
rc=b;c&&e.addEventListener('load',function(){return
c()});d&&e.addEventListener('error',function(){return
d()});a.a.document.body.appendChild(e)}else tb(a,'sendUrl')(b,c,d)}function tb(a,b)
{if(a.a&&a.a.omidNative&&a.a.omidNative[b])return
a.a.omidNative[b].bind(a.a.omidNative);throw Error('Native interface method "'+b+'"
not found.');};function vb(a,b,c,d){lb.call(this,a,b,d);this.f=void
0;this.l=c}q(vb,lb);vb.prototype.s=function(){void 0!
==this.f&&(rb(this.l,this.f),this.f=void 0)};vb.prototype.h=function(){var
a=this;this.b?void 0===this.f&&(this.f=pb(this.l,function(){return
wb(a)},200),wb(this)):this.f=void 0};
function wb(a){if(void 0!==a.f){var b=new F(new
Da(a.i.innerWidth,a.i.innerHeight),!1),c=a.b.getBoundingClientRect();if(null==c.x||
isNaN(c.x))c.x=c.left;if(null==c.y||isNaN(c.y))c.y=c.top;c=new F(c,!
1);b.u(a.g)&&c.u(a.a)||(a.a=c,a.a.clipsToBounds=!
0,a.g=b,a.g.childViews.push(a.a),nb(a))}};function xb(a,b,c)
{lb.call(this,a,b,c);this.f=void 0}q(xb,lb);xb.prototype.s=function()
{this.f&&this.b&&this.f.unobserve(this.b)};xb.prototype.h=function(){this.b&&!
this.f&&(this.f=yb(this),this.f.observe(this.b))};
function yb(a){return new a.i.IntersectionObserver(function(b){try{if(b.length)
{for(var c=b[0],d=1;d<b.length;d++)b[d].time>c.time&&(c=b[d]);b=c;a.g=new
F(b.rootBounds,!1);a.a=new F(b.boundingClientRect,!1);a.a.clipsToBounds=!
0;a.g.childViews.push(a.a);nb(a)}}catch(e){a.s(),Q(a.j,'generic','Problem handling
IntersectionObserver callback: '+e.message)}},
{root:null,rootMargin:'0px',threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]})};function
U(a){return'string'===typeof a}function V(a){return'object'===typeof a}function
zb(a){return'number'===typeof a&&!isNaN(a)&&0<=a}function W(a,b){return U(a)&&-1!
==Object.values(b).indexOf(a)};function X(a,b,c,d,e)
{this.b=a;this.f=b;this.g=c;this.c=e;this.a=P()}h=X.prototype;
h.H=function(a){if(a&&V(a)&&W(a.impressionOwner,na)&&(!('videoEventsOwner'in
a&&null!=a.videoEventsOwner)||W(a.videoEventsOwner,na))){var
b=a.videoEventsOwner;this.a.A=null==b||'none'===b?'display':'video';a&&null!
=a.isolateVerificationScripts&&'boolean'===typeof
a.isolateVerificationScripts&&(this.a.m=a.isolateVerificationScripts);b=this.b;var
c=a.impressionOwner;a=a.videoEventsOwner;bb(b)?C('Impression event has occcured
before the event owners have been registered.'):(b.a.b!==c&&'none'===b.a.b&&
(b.a.b=c),b.a.a!==a&&'none'===b.a.a&&(b.a.a=a),gb(b,a))}};
h.P=function(a,b,c){var d;if(d=V(b))
{if(d=W(b.environment,pa)&&W(b.adSessionType,ma))d=b.omidNativeInfo,d=V(d)?
U(d.partnerName)&&U(d.partnerVersion):!1;d&&(d=b.app,d=V(d)?
U(d.libraryVersion)&&U(d.appId):!1)}d&&(this.a.adSessionId=a,a=b,b=this.a.c||
{},a.omidJsInfo=Object.assign({},b.omidJsInfo||{},a.omidJsInfo||
{}),b=a=Object.assign({},b,a),this.a.m||(this.a.g?
(b.videoElement=this.a.g,b.accessMode='full'):this.a.f&&(b.slotElement=this.a.f,b.a
ccessMode='full')),this.a.c=a,cb(this.b,c),this.c&&T(this.c))};
h.G=function(){db(this.b)};h.N=function(a)
{V(a)&&zb(a.x)&&zb(a.y)&&zb(a.width)&&zb(a.height)&&(this.a.v=a,jb(this.f,'containe
r'))};h.O=function(a){W(a,oa)&&(this.a.j=a,'backgrounded'===a?
jb(this.f,'container','backgrounded'):jb(this.f,'container'))};h.L=function(a)
{'impression'===a&&(this.D(),this.c&&T(this.c))};h.D=function()
{hb(this.b,'native')&&eb(this.b,'native')};h.error=function(a,b)
{W(a,la)&&Q(this.b,a,b)};
h.I=function(a,b){ib(this.b,'native')&&W(a,t)&&(void 0===b||
V(b))&&fb(this.b,a,'native',b)};h.M=function(a){if('none'!
==this.b.a.a&&'number'===typeof a&&!isNaN(a)){this.a.l=a;a=this.g;var b=a.a.B;null!
=b&&fb(a.b,'volumeChange','native',
{videoPlayerVolume:b,deviceVolume:a.a.l})}};X.prototype.startSession=X.prototype.P;
X.prototype.error=X.prototype.error;X.prototype.finishSession=X.prototype.G;X.proto
type.publishAdEvent=X.prototype.L;X.prototype.publishImpressionEvent=X.prototype.D;
X.prototype.publishVideoEvent=X.prototype.I;X.prototype.setNativeViewHierarchy=X.pr
ototype.N;X.prototype.setState=X.prototype.O;X.prototype.setDeviceVolume=X.prototyp
e.M;X.prototype.init=X.prototype.H;function Ab(a,b,c){var d=this;c=c?
c:v;this.b=a;this.a=b;this.i=c;this.h=new z;c.omid=c.omid||
{};c.omid.v1_SessionServiceCommunication=this.h;this.f=null;c&&c.addEventListener&&
c.postMessage&&(this.f=new
E(c));this.h.a=this.J.bind(this);this.f&&(this.f.a=this.K.bind(this));this.c=[];thi
s.g=!1;Bb(this,function(a){return Cb(d,a)})}function Bb(a,b){$a(a.b,b)}function
Db(a,b){P().f=b;a.a&&mb(a.a)}function Eb(a,b){P().g=b;a.a&&mb(a.a)}function Fb(a,b)
{P().i=b;a.a&&mb(a.a);a.a&&nb(a.a)}h=Ab.prototype;
h.error=function(a,b){Q(this.b,a,b)};function Gb(a)
{hb(a.b,'javascript')&&(eb(a.b,'javascript'),a.a&&T(a.a))}h.loaded=function(a){var
b={skippable:a.isSkippable,autoPlay:a.isAutoPlay,position:a.position};a.isSkippable
&&(b.skipOffset=a.skipOffset);fb(this.b,'loaded','javascript',b);this.a&&T(this.a)}
;h.start=function(a,b){Y(this,'start',
{duration:a,videoPlayerVolume:b});this.a&&T(this.a)};
function Hb(a){if(a.g&&a.c.length){var b=a.c;if(a.i&&'undefined'!==typeof
a.i.document)for(var c=P().m,d=0;d<b.length;d++){var
e=b[d],f=d,l=e.resourceUrl,g=a.i.document,m=g.createElement('iframe');c&&(m.sandbox
='allow-scripts');m.id='omid-verification-script-
frame-'+f;m.style.display='none';m.srcdoc='<html><head>'+('<script
type="text/javascript" src="'+l+'">\x3c/script>')
+'</head><body></body></html>';g.body.appendChild(m);f=e.vendorKey;e=e.verification
Parameters;f=void 0===f?'':f;e=void 0===e?'':
e;f&&'string'===typeof f&&''!==f&&e&&'string'===typeof e&&''!==e&&(a.b.f[f]=e)}else
C('OMID Session Client is not running within a window');a.c=[]}}function Ib(a){var
b=P().c.omidJsInfo;a(b.serviceVersion)}function Cb(a,b)
{'sessionStart'===b.type&&(a.g=!0,Hb(a));'sessionFinish'===b.type&&(a.g=!
1,Bb(a,function(b){return Cb(a,b)}))}function Jb(a,b,c){var d=P().c||
{};d.omidJsInfo=Object.assign({},d.omidJsInfo,
{sessionClientVersion:a,partnerName:b,partnerVersion:c});P().c=d}
function Y(a,b,c){'javascript'===P().a&&fb(a.b,b,'javascript',c)}h.K=function(a,b)
{Kb(this,a,b,this.f)};h.J=function(a,b){Kb(this,a,b,this.h)};
function Kb(a,b,c,d){function e(a){for(var b=[],e=0;e<arguments.length;++e)b[e-
0]=arguments[e];b=new u(f,'response',g,ia(g)&&ja(g)?
b:JSON.stringify(b));d.sendMessage(b,c)}var
f=b.b,l=b.method,g=b.version;b=ka(g,b.a);try{switch(l){case
'SessionService.registerAdEvents':hb(a.b,'javascript');break;case
'SessionService.registerVideoEvents':ib(a.b,'javascript');break;case
'SessionService.registerSessionObserver':Bb(a,e);break;case
'SessionService.setSlotElement':var m=p(b).next().value;Db(a,m);break;case
'SessionService.setVideoElement':var N=
p(b).next().value;Eb(a,N);break;case 'SessionService.setElementBounds':var
x=p(b).next().value;Fb(a,x);break;case
'SessionService.impressionOccurred':Gb(a);break;case 'SessionService.loaded':var
A=p(b).next().value;a.loaded(A);break;case 'SessionService.start':var
G=p(b),H=G.next().value,B=G.next().value;a.start(H,B);break;case
'SessionService.firstQuartile':Y(a,'firstQuartile');break;case
'SessionService.midpoint':Y(a,'midpoint');break;case
'SessionService.thirdQuartile':Y(a,'thirdQuartile');break;
case 'SessionService.complete':Y(a,'complete');break;case
'SessionService.pause':Y(a,'pause');break;case
'SessionService.resume':Y(a,'resume');break;case
'SessionService.bufferStart':Y(a,'bufferStart');break;case
'SessionService.bufferFinish':Y(a,'bufferFinish');break;case
'SessionService.skipped':Y(a,'skipped');break;case
'SessionService.volumeChange':var w=p(b).next().value;Y(a,'volumeChange',
{videoPlayerVolume:w});break;case 'SessionService.playerStateChange':var
va=p(b).next().value;Y(a,'playerStateChange',
{state:va});break;case 'SessionService.adUserInteraction':var
wa=p(b).next().value;Y(a,'adUserInteraction',{interactionType:wa});break;case
'SessionService.setClientInfo':var
R=p(b),xa=R.next().value,ya=R.next().value,y=R.next().value;Jb(xa,ya,y);Ib(e);break
;case 'SessionService.injectVerificationScriptResources':var
Rb=p(b).next().value;a.c.push.apply(a.c,[].concat(r(Rb)));Hb(a);break;case
'SessionService.sessionError':var
kb=p(b),Sb=kb.next().value,Tb=kb.next().value;a.error(Sb,Tb)}}catch(D)
{d.sendMessage(new u(f,
'error',g,'\n name: '+D.name+'\n message: '+D.message+'\n
filename: '+D.filename+'\n lineNumber: '+D.lineNumber+'\n
columnNumber: '+D.columnNumber+'\n stack: '+D.stack+'\n
toString(): '+D.toString()+'\n '),c)}};function Lb(a,b,c){c=c?
c:v;this.g=a;this.a=b;this.h={};this.f={};this.c=new z;c.omid=c.omid||
{};c.omid.v1_VerificationServiceCommunication=this.c;this.b=null;c&&c.addEventListe
ner&&c.postMessage&&(this.b=new
E(c));this.c.a=this.i.bind(this);this.b&&(this.b.a=this.j.bind(this))}function
Mb(a,b,c,d){ub(a.a,b,c,d)}function Nb(a,b,c,d){tb(a.a,'downloadJavaScriptResource')
(b,c,d)}Lb.prototype.j=function(a,b)
{this.b&&Ob(this,a,b,this.b)};Lb.prototype.i=function(a,b){Ob(this,a,b,this.c)};
function Ob(a,b,c,d){function e(a){for(var b=[],e=0;e<arguments.length;++e)b[e-
0]=arguments[e];b=new u(f,'response',g,ia(g)&&ja(g)?
b:JSON.stringify(b));d.sendMessage(b,c)}var
f=b.b,l=b.method,g=b.version;b=ka(g,b.a);try{switch(l){case
'VerificationService.addEventListener':var
m=p(b).next().value;Ya(a.g,m,e);break;case
'VerificationService.addSessionListener':var N=p(b).next().value;
$a(a.g,e,N);break;case 'VerificationService.sendUrl':var
x=p(b).next().value;Mb(a,x,function(){return e(!0)},function(){return e(!1)});
break;case 'VerificationService.setTimeout':var
A=p(b),G=A.next().value,H=A.next().value;a.h[G]=qb(a.a,'setTimeout')
(e,H);break;case 'VerificationService.clearTimeout':var
B=p(b).next().value;sb(a.a,a.h[B]);break;case 'VerificationService.setInterval':var
w=p(b),va=w.next().value,wa=w.next().value;a.f[va]=pb(a.a,e,wa);break;case
'VerificationService.clearInterval':var
R=p(b).next().value;rb(a.a,a.f[R]);break;case
'VerificationService.injectJavaScriptResource':var
xa=p(b).next().value;Nb(a,xa,function(a){return e(!0,
a)},function(){return e(!1)});break;case
'VerificationService.getVersion':p(b).next();var
ya=P().c.omidJsInfo;e(ya.serviceVersion)}}catch(y){d.sendMessage(new
u(f,'error',g,'\n name: '+y.name+'\n message:
'+y.message+'\n filename: '+y.filename+'\n lineNumber:
'+y.lineNumber+'\n columnNumber: '+y.columnNumber+'\n
stack: '+y.stack+'\n toString(): '+y.toString()+'\n
'),c)}};var Z=new Ta,Pb=new function(){var a;this.a=a=void 0===a?omidGlobal:a};new
Lb(Z,Pb);var Qb=new function(){var a=new Na;this.c=Z;this.b=a;this.a=P()},Ub=v?
v.IntersectionObserver?new xb(v,Qb,Z):new vb(v,Qb,Pb,Z):null;new
Ab(Z,Ub);v.omidBridge=new X(Z,Qb,new function(){var a=P();this.b=Z;this.a=a},new
function(){},Ub);if(v.frames&&v.document&&!('omid_v1_present'in v.frames)){var
Vb;if(Vb=!v.document.body)Vb='MutationObserver'in v;Vb?za():v.document.body?
ua(v):v.document.write('<iframe style="display:none" id="omid_v1_present"
name="omid_v1_present"></iframe>')};
}).call(this, this);

1556473544564 com.nazara.tinylabproductions.oggy Successfully downloaded OM JS

1556473544567 com.nazara.tinylabproductions.oggy executing f...

1556473544568 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/sdkplugin/imasupport/pokktIMAWrapper.html

1556473545168 com.nazara.tinylabproductions.oggy f response: <html>


<head>
<meta charset="utf-8" />
<title>Pokkt Video</title>

<!-- Console Logger -->


<script type="text/javascript">
/**
* console logger
**/
(function() {
var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};

var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};

log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};

log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};
log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());
</script>

<!-- Pokkt Specific -->


<script type="text/javascript">
//alert('hi!');
window.name = "pokkt_video_window";
log.i('window name: ' + window.name);

function is_pokkt_sdk() {
return true;
}

function pokkt_on_close() {
pauseAd();
if (typeof(Android) != "undefined" && Android.closeInterstitial) {
Android.closeInterstitial();
} else {
if (window.external && window.external.notify) {
window.external.notify("closeInterstitial");
}
}
}

function pokktOnComplete() {
if (typeof(Android) != "undefined" && Android.gratifyInterstitial)
{
Android.gratifyInterstitial();
} else {
if(window && window.external && window.external.notify) {
window.external.notify("gratifyInterstitial");
}
}
}

// function injectScript() {
// var Android = {};
// function closeInterstitial() {
// setTimeout(function() {
// window.location = 'pokkt://closeInterstitial';
// }, 1000);
// };

// function gratifyInterstitial() {
// window.location = 'pokkt://gratifyInterstitial';
// };
// Android.closeInterstitial = closeInterstitial;
// Android.gratifyInterstitial = gratifyInterstitial;
// window.Android = Android;
// }
// injectScript();
</script>

<!-- VideoJS -->


<link href="https://pokktjs.pokkt.com/vjs/videojs7/video-js.css"
rel="stylesheet">
<script src="https://pokktjs.pokkt.com/vjs/videojs7/video.min.js"
type="text/javascript"></script>

<!-- VideoJS VAST-VPAID Plugin -->


<link href="https://pokktjs.pokkt.com/vjs/videojs.vast.vpaid.min.css"
rel="stylesheet">
<script src="https://pokktjs.pokkt.com/vjs/vjs_plugin.min.js"></script>

<!-- OM SESSION CLIENT -->


<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/omidsupport/omid-session-client-v1.js"></script>

<!-- Pokkt-JS Bridge -->


<script type="text/javascript">
/**
* bridge
**/
(function() {
window.pokktNativeBridge = {};
window.pokktNativeBridge.notifyNative = function(operation, params)
{
log.i('notifying native of: ' + operation + ' , with params: ' +
params);

var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "pokktbridge://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};
} ());
</script>

<!-- Pokkt-OM Wrapper -->


<script type="text/javascript">
(function() {
var pokktOMIDBridge = window.pokktOMIDBridge = {};

pokktOMIDBridge.createOMIDSession = function(omidSDKVersion,
vendors, partnerName, partnerVersion) {
log.i('creating omid session...');

var sessionClient;

try {
sessionClient = OmidSessionClient[omidSDKVersion];
} catch (e) {
log.i('error creating sessionClient!');
}

if (!sessionClient) {
log.i('sessionClient not available!');
pokktNativeBridge.notifyNative('omWrapperFailed');
return;
}

const AdSession = sessionClient.AdSession;


const Partner = sessionClient.Partner;
const Context = sessionClient.Context;
const VerificationScriptResource =
sessionClient.VerificationScriptResource;
const AdEvents = sessionClient.AdEvents;
const VideoEvents = sessionClient.VideoEvents;

log.i('compiling verification resources...');


var resources = [];
for (var i = 0; i < vendors.length; i++) {
var vendor = vendors[i];
var resource = new
VerificationScriptResource(vendor.javascriptResourceUrl, vendor.vendorKey,
vendor.verificationParameters);
resources.push(resource);
}

if (!resources.length) {
log.i('no verification resources found!');
pokktNativeBridge.notifyNative('omWrapperFailed');
return;
}

var partner = new Partner(partnerName, partnerVersion);


var context = new Context(partner, resources);
var adSession = new AdSession(context);
pokktOMIDBridge.adSession = adSession;

const videoElement = document.getElementById("pokkt-video-ad");


context.setVideoElement(videoElement);

const adEvents = new AdEvents(adSession);


const videoEvents = new VideoEvents(adSession);
pokktOMIDBridge.videoEvents = videoEvents;

adSession.registerSessionObserver(function (event) {
log.i('omid session event: ' + event.type)
if (event.type === "sessionStart") {
videoEvents.loaded({ isSkippable: true, isAutoPlay:
true, position: 'standalone' });
adEvents.impressionOccurred();
} else if (event.type === "sessionError") {
log.i('session error occured! ' + event);
} else if (event.type === "sessionFinish") {
log.i('session finished!');
}
});

log.i('notifying omid wrapper ready...');


pokktNativeBridge.notifyNative('omWrapperReady');
};
} ());

function initOMIDSession(pokktOMConfig) {
log.i('initializing omid session...');

if (pokktOMConfig === undefined) {


log.i('using dummy verification data');
// TEST DATA
pokktOMConfig = {
"omid_sdk_version" : "1.1.3-iab493",
"partner_name" : "Pokkt",
"partner_version" : "7.3.0",
"vendors" : [
{
"vendorKey": "iabtechlab.com-omid",
"javascriptResourceUrl": " https://s3-us-west-
2.amazonaws.com/omsdk-files/compliance-js/omid-validation-verification-script-
v1.js",
"verificationParameters": "iabtechlab-pokkt"
}
]
};
}

if (window.pokktOMIDBridge !== undefined && pokktOMConfig !==


undefined) {
var omidSDKVersion = pokktOMConfig.omid_sdk_version;
var partnerName = pokktOMConfig.partner_name;
var partnerVersion = pokktOMConfig.partner_version;
var vendors = pokktOMConfig.vendors;

log.i('omid version is ' + omidSDKVersion);


log.i('creating omid session with ' + partnerName + ', for
version ' + partnerVersion);
window.pokktOMIDBridge.createOMIDSession(omidSDKVersion,
vendors, partnerName, partnerVersion)
} else {
log.e('invalid pokktOMConfig OR pokktOMIDBridge not
available!');
}
}
</script>
</head>
<body>
<div class="pokkt-video-container" id="pokkt-video-container"
style="opacity:100">
<video id="pokkt-video-ad" class="video-js vjs-default-skin vjs-16-9"
controls webkit-playsinline playsinline preload="auto"
poster="https://pokktjs.pokkt.com/vjs/assets/logo.png" data-
setup='{}'>
<source src="https://pokktjs.pokkt.com/vjs/assets/blank.mp4"
type='video/mp4'>
</video>
</div>

<script type="text/javascript">
window.vjsPlayer = videojs('pokkt-video-ad', {
'controls':false,
'forceSSL':true
}, function () {
log.i('videojs is ready!');
setupEventListeners(this);
window.pokktNativeBridge.notifyNative('vjsPlayerReady');
//this.play();
});
var vastResponseXML = '';
function requestVASTXML(callback) {
setTimeout(function () {
// the macro should be replaced with a proper VAST xml
callback(null, vastResponseXML);
}, 0);
}

function setupVJS(isTagAnURL, vastTag, moatData, moatPartnerCode) {


var vastClientSettings = {};
vastClientSettings.adsCancelTimeout = 200000;
vastClientSettings.adsEnabled = true;
vastClientSettings.playAdAlways = true;
vastClientSettings.vpaidFlashLoaderPath =
'https://vdo.pokkt.com/video-js-4.12/vpaid/VPAIDFlash.swf';
vastClientSettings.moatData = moatData;
vastClientSettings.moatPartnerCode = moatPartnerCode;
vastClientSettings.verbosity = 4;

if (isTagAnURL) {
vastClientSettings.adTagUrl = vastTag;
} else {
vastResponseXML = vastTag;
vastClientSettings.adTagXML = 'requestVASTXML';
}

window.vjsPlayer.vastClient(vastClientSettings);
}

function setupEventListeners(player) {
log.i('setting up listeners on player: ' + player);

player.on('vpaid.AdVideoStart', function(e) {
log.i('window.pokktOMIDBridge start');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
var duration = player.duration();
var muted = player.muted() ? 0 : 1;
if (!isNaN(duration)) {
window.pokktOMIDBridge.videoEvents.start(duration, muted);
} else {
// TODO: wait until duration is available to start
}
});

player.on('vpaid.AdVideoFirstQuartile', function(e) {
log.i('window.pokktOMIDBridge first quartile');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.firstQuartile();
});
player.on('vpaid.AdVideoMidpoint', function(e) {
log.i('window.pokktOMIDBridge midpoint');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.midpoint();
});

player.on('vpaid.AdVideoThirdQuartile', function(e) {
log.i('window.pokktOMIDBridge third quartile');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.thirdQuartile();
});

player.on('vpaid.AdVideoComplete', function(e) {
log.i('window.pokktOMIDBridge complete');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.complete();
});

player.on('vpaid.AdSkipped', function(e) {
log.i('window.pokktOMIDBridge skipped');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.skipped();
});

player.on('vpaid.AdPaused', function(e) {
log.i('window.pokktOMIDBridge paused');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.pause();
});

player.on('vpaid.AdPlaying', function(e) {
log.i('window.pokktOMIDBridge resumed');
if (window.pokktOMIDBridge === undefined ||
window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.resume();
});

player.on('vpaid.AdVolumeChange', function(e) {
log.i('window.pokktOMIDBridge volume changed');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
var videoPlayerVolume = player.volume();
log.i('device volume is: ' + videoPlayerVolume);

window.pokktOMIDBridge.videoEvents.volumeChange(videoPlayerVolume);
});
}

function playAd() {
window.vjsPlayer.play();
}

function pauseAd() {
window.vjsPlayer.pause();
}
</script>

<script type="text/javascript">
// replace macros and call the following
// setupVJS(isTagAnURL, vastTag, moatData, moatPartnerCode);
setupVJS({{IS_TAG_A_URL}}, '{{VAST_TAG}}', {{MOAT_DATA}},
'{{MOAT_PARTNER_CODE}}');
</script>
</body>
</html>

1556473545172 com.nazara.tinylabproductions.oggy Successfully downloaded VPAID HTML

1556473545172 com.nazara.tinylabproductions.oggy executing f...

1556473545173 com.nazara.tinylabproductions.oggy f Request url:


https://pokktjs.pokkt.com/vjs/pokktVpaidWrapper.html

1556473545236 com.nazara.tinylabproductions.oggy f response: <html>


<head>
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/style.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/video-js.min.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ads.css" />
<link rel="stylesheet" href="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ima.css" />
</head>
<body>
<div id="pokkt-ima-adcontainer" class="pokkt-ima-adcontainer">
<div id="pokkt-ima-videoplayer" class="pokkt-ima-videoplayer">
<video id="pokkt-video-ad" class="video-js vjs-default-skin vjs-fullscreen
pokkt-video-ad" autoplay preload="auto" playsinline
poster="https://pokktjs.pokkt.com/video-js-4.12/poster.png"></video>
</div>
</div>

<script src="https://imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/video.min.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ads.min.js"></script>
<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/imasupport/videojs.ima.js"></script>
<script type="text/javascript">
/**
* console logger
**/
(function() {
var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};

var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};

log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};

log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};

log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());

/**
* bridge
**/
(function() {
window.pokktNativeBridge = {};
window.pokktNativeBridge.notifyNative = function(operation, params) {
log.i('notifying native of: ' + operation + ' , with params: ' + params);

var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "pokktbridge://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};
} ());

/**
* POKKT-IMA Wrapper
**/
var PokktIMAWrapper = function(debugEnabled) {
log.i('preparing ima wrapper for pokkt...');

this.player = videojs('pokkt-video-ad');
this.player.fluid(true);

// Remove controls from the player on iPad to stop native controls from
stealing our click
if (navigator.userAgent.match(/iPad/i) ||
navigator.userAgent.match(/Android/i)){
var contentPlayer = document.getElementById('content_video_html5_api');
if (contentPlayer != null && contentPlayer.hasAttribute('controls')) {
contentPlayer.removeAttribute('controls');
}

this.player.controls(false);
}

var options = {
debug: debugEnabled,
id: 'pokkt-video-ad',
autoPlayAdBreaks: false,
showControlsForJSAds: false,
vpaidMode: 'INSECURE',
disableCustomPlaybackForIOS10Plus: true,
adsManagerLoadedCallback: this.adsManagerLoadedCallback.bind(this)
};
this.player.ima(options);

this.player.ima.setAdBreakReadyListener(function(){
log.i('ad-break ready, attempting ad playback...');
this.player.ima.playAdBreak();
});

pokktNativeBridge.notifyNative('wrapperPrepared');
};

PokktIMAWrapper.prototype.initWithAdTag = function(adTag, isAdTagAUrl) {


log.i('initializing ima...');

this.player.ima.initializeAdDisplayContainer();

if (isAdTagAUrl) {
this.player.ima.setContentWithAdTag(null, adTag, false);
} else {
this.player.ima.setContentWithAdsResponse(null, adTag, false);
}

this.player.ima.requestAds();
};

PokktIMAWrapper.prototype.adsManagerLoadedCallback = function(event) {
log.i('ads-manager loaded, registering remaining listners...');

var events = [
google.ima.AdEvent.Type.AD_BREAK_READY,
google.ima.AdEvent.Type.AD_CAN_PLAY,
google.ima.AdEvent.Type.AD_METADATA,
google.ima.AdEvent.Type.ALL_ADS_COMPLETED,
google.ima.AdEvent.Type.CLICK,
google.ima.AdEvent.Type.COMPLETE,
google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,
google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,
google.ima.AdEvent.Type.DURATION_CHANGE,
google.ima.AdEvent.Type.EXPANDED_CHANGED,
google.ima.AdEvent.Type.FIRST_QUARTILE,
google.ima.AdEvent.Type.IMPRESSION,
google.ima.AdEvent.Type.INTERACTION,
google.ima.AdEvent.Type.LINEAR_CHANGED,
google.ima.AdEvent.Type.LOADED,
google.ima.AdEvent.Type.LOG,
google.ima.AdEvent.Type.MIDPOINT,
google.ima.AdEvent.Type.PAUSED,
google.ima.AdEvent.Type.RESUMED,
google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,
google.ima.AdEvent.Type.SKIPPED,
google.ima.AdEvent.Type.STARTED,
google.ima.AdEvent.Type.THIRD_QUARTILE,
google.ima.AdEvent.Type.USER_CLOSE,
google.ima.AdEvent.Type.VIEWABLE_IMPRESSION,
google.ima.AdEvent.Type.VOLUME_CHANGED,
google.ima.AdEvent.Type.VOLUME_MUTED,
google.ima.AdErrorEvent.Type.AD_ERROR
];

for (var index = 0; index < events.length; index++) {


log.i('registering listner for ' + events[index]);
this.player.ima.addEventListener(events[index],
this.onAdEvent.bind(this));
}

window.addEventListener('resize', this.onWindowResize.bind(this));
};

PokktIMAWrapper.prototype.onAdEvent = function(event) {
var message = 'Ad event: ' + event.type;
log.i(message);
// notify this event to native
window.pokktNativeBridge.notifyNative('adEvent', event.type);
};

PokktIMAWrapper.prototype.playAd = function() {
this.player.ima.playAdBreak();
};

PokktIMAWrapper.prototype.pauseAd = function() {
this.player.pause();
};

PokktIMAWrapper.prototype.onWindowResize = function() {
var adContainer = document.getElementById('pokkt-ima-adcontainer');
var videoElement = document.getElementById('pokkt-video-ad');
var adContainerWidth = adContainer.offsetWidth;
var videoHeight = videoElement.offsetHeight;

var adsManager = this.player.ima.getAdsManager();


if (adsManager) {
adsManager.resize(adContainerWidth, videoHeight,
google.ima.ViewMode.NORMAL);
}
};

function prepareIMA(debugEnabled) {
window.imaAds = new PokktIMAWrapper(debugEnabled);
}

function initIMAWithTag(adTag, isAdTagAUrl) {


window.imaAds.initWithAdTag(adTag, isAdTagAUrl);
}

function playAd() {
window.imaAds.playAd();
}

function pauseAd() {
window.imaAds.pauseAd();
}

</script>
</body>
</html>

1556473545239 com.nazara.tinylabproductions.oggy executing d...

1556473545242 com.nazara.tinylabproductions.oggy Successfully downloaded IMA HTML

1556473545261 com.nazara.tinylabproductions.oggy 360 POKKT SDK not found

1556473545263 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155647354526222d09d9c8535860dbe79c66456b12c9f

1556473545265 com.nazara.tinylabproductions.oggy md5_token id


65b47086432bdc99a26fd9afa3cb9590

1556473545289 com.nazara.tinylabproductions.oggy d Request url:


https://vdo.pokkt.com/api/AdRequestV2?
network_id=31&ad_format=0&response_format=1&resolution=0&screen=screen&offerids=0&a
ppId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&androidID=&app_version=1.32&
device_id=&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&adv
ertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&connection_type=3G&swidth=2040
&sheight=1080&carrier_name=Ufone&device_model=HUAWEI+RNE-
L21&language=en&opt_userid=3a2a404e8e2b1393&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n=
&ip=43.245.9.43&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+RNE-L21+Build%2FHUAWEIRNE-
L21%29&timestamp=1556473545262&page=1&token=65b47086432bdc99a26fd9afa3cb9590&mac_ad
dress=&mobile_no=&email_address=&screen_density_x=409.432&screen_density_y=406.4&sc
reen_density_category=XXHDPI&maturity_rating=&asset_value=&pub_meta=&source=&name=&
age=&sex=&location=&marital_status=&birthday=&facebook_id=&twitter_handle=&educatio
n=&nationality=&latitude=&longitude=&address=&sessionId=57fc11df-a44b-438d-9c8d-
a61b314f1b4b&incent=1&preroll=1&udid=6254babc-98e5-42b8-a1a9-
9af626a79056&battery_level=57&encodedPubParams=&vdo_pt=0&gdpr_applicable=false&gdpr
_consent=true

1556473545334 com.nazara.tinylabproductions.oggy f response: ;(function(omidGlobal)


{
'use strict';var h,aa='function'==typeof Object.defineProperties?
Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!
=Object.prototype&&(a[b]=c.value)},k='undefined'!=typeof window&&window===this?
this:'undefined'!=typeof global&&global?global:this;function ba(){ba=function()
{};k.Symbol||(k.Symbol=ca)}var da=0;function ca(a){return'jscomp_symbol_'+(a||'')
+da++}
function n(){ba();var a=k.Symbol.iterator;a||
(a=k.Symbol.iterator=k.Symbol('iterator'));'function'!=typeof
Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!
0,value:function(){return ea(this)}});n=function(){}}function ea(a){var b=0;return
fa(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}function fa(a)
{n();a={next:a};a[k.Symbol.iterator]=function(){return this};return a}function p(a)
{n();ba();n();var b=a[Symbol.iterator];return b?b.call(a):ea(a)}
function q(a,b){function c()
{}c.prototype=b.prototype;a.oa=b.prototype;a.prototype=new
c;a.prototype.constructor=a;for(var d in b)if('prototype'!
=d)if(Object.defineProperties){var
e=Object.getOwnPropertyDescriptor(b,d);e&&Object.defineProperty(a,d,e)}else
a[d]=b[d]}function r(a){if(!(a instanceof Array)){a=p(a);for(var b,c=[];!
(b=a.next()).done;)c.push(b.value);a=c}return a}
function ha(a,b){if(b){var c=k;a=a.split('.');for(var d=0;d<a.length-1;d++){var
e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!
=b&&aa(c,a,{configurable:!0,writable:!0,value:b})}}ha('Object.assign',function(a)
{return a?a:function(a,c){for(var b=1;b<arguments.length;b++){var
e=arguments[b];if(e)for(var f in
e)Object.prototype.hasOwnProperty.call(e,f)&&(a[f]=e[f])}return a}});
ha('Object.values',function(a){return a?a:function(a){var b=[],d;for(d in
a)Object.prototype.hasOwnProperty.call(a,d)&&b.push(a[d]);return b}});function
ia(a){return/\d+\.\d+\.\d+(-.*)?/.test(a)}function ja(a){a=a.split('-')
[0].split('.');for(var b=['1','0','3'],c=0;3>c;c++){var
d=parseInt(a[c],10),e=parseInt(b[c],10);if(d>e)break;else if(d<e)return!1}return!
0};function ka(a,b){return ia(a)&&ja(a)?b?b:[]:b&&'string'===typeof b?
JSON.parse(b):[]};var
t={da:'loaded',ka:'start',Z:'firstQuartile',ea:'midpoint',la:'thirdQuartile',Y:'com
plete',ga:'pause',ia:'resume',X:'bufferStart',W:'bufferFinish',ja:'skipped',na:'vol
umeChange',ha:'playerStateChange',U:'adUserInteraction'},la={aa:'generic',ma:'video
'},ma={F:'native',ba:'html'},na={F:'native',ca:'javascript',NONE:'none'},oa={V:'bac
kgrounded',$:'foregrounded'},pa={fa:'app'};function u(a,b,c,d)
{this.b=a;this.method=b;this.version=c;this.a=d}function qa(a){return!!a&&void 0!
==a.omid_message_guid&&void 0!==a.omid_message_method&&void 0!
==a.omid_message_version&&'string'===typeof a.omid_message_guid&&'string'===typeof
a.omid_message_method&&'string'===typeof a.omid_message_version&&(void
0===a.omid_message_args||void 0!==a.omid_message_args)}function ra(a){return new
u(a.omid_message_guid,a.omid_message_method,a.omid_message_version,a.omid_message_a
rgs)}
function sa(a){var
b={};b=(b.omid_message_guid=a.b,b.omid_message_method=a.method,b.omid_message_versi
on=a.version,b);void 0!==a.a&&(b.omid_message_args=a.a);return b};function ta(a)
{this.b=a};function ua(a){var
b=a.document.createElement('iframe');b.id='omid_v1_present';b.name='omid_v1_present
';b.style.display='none';a.document.body.appendChild(b)}function za(){var a=v,b=new
MutationObserver(function(c){c.forEach(function(c)
{'BODY'===c.addedNodes[0].nodeName&&(ua(a),b.disconnect())})});b.observe(a.document
.documentElement,{childList:!0})};function z(a)
{this.b=a;this.handleExportedMessage=z.prototype.c.bind(this)}q(z,ta);z.prototype.s
endMessage=function(a,b){b=void 0===b?this.b:b;if(!b)throw Error('Message
destination must be defined at construction time or when sending the
message.');b.handleExportedMessage(sa(a),this)};z.prototype.c=function(a,b)
{qa(a)&&this.a&&this.a(ra(a),b)};function C(a){for(var b=[],c=0;c<arguments.length;
++c)b[c-0]=arguments[c];Aa(function(){throw new
(Function.prototype.bind.apply(Error,[null].concat(['Could not complete the test
successfully - '],r(b))));},function(){return console.error.apply(console,
[].concat(r(b)))})}function Ba(a){for(var b=[],c=0;c<arguments.length;++c)b[c-
0]=arguments[c];Aa(function(){},function(){return console.error.apply(console,
[].concat(r(b)))})}
function Aa(a,b){'undefined'!==typeof jasmine&&jasmine?a():'undefined'!==typeof
console&&console&&console.error&&b()};var Ca=eval('this'),v=function()
{if('undefined'!==typeof omidGlobal&&omidGlobal)return omidGlobal;if('undefined'!
==typeof global&&global)return global;if('undefined'!==typeof window&&window)return
window;if('undefined'!==typeof Ca&&Ca)return Ca;throw Error('Could not determine
global object context.');}();function E(a,b){this.b=b=b?b:v;var
c=this;a.addEventListener('message',function(a){if('object'===typeof a.data){var
b=a.data;qa(b)&&a.source&&c.a&&c.a(ra(b),a.source)}})}q(E,ta);E.prototype.sendMessa
ge=function(a,b){b=b?b:this.b;if(!b)throw Error('Message destination must be
defined at construction time or when sending the
message.');b.postMessage(sa(a),'*')};function Da(a,b)
{this.y=this.x=0;this.width=a;this.height=b};function F(a,b)
{this.x=a.x;this.y=a.y;this.width=a.width;this.height=a.height;this.endX=this.x+thi
s.width;this.endY=this.y+this.height;this.adSessionId=a.adSessionId||void
0;this.isFriendlyObstructionFor=a.isFriendlyObstructionFor||
[];this.clipsToBounds=void 0!==a.clipsToBounds?!0===a.clipsToBounds:!
0;this.childViews=a.childViews||[];this.isCreative=a.isCreative||!
1;this.a=b}function Ea(a){var b={};return b.width=a.width,b.height=a.height,b}
function I(a){var b={};return Object.assign({},Ea(a),(b.x=a.x,b.y=a.y,b))}function
J(a){var b=I(a),c={};return Object.assign({},b,
(c.endX=a.endX,c.endY=a.endY,c))}function Fa(a,b,c)
{a.x+=b;a.y+=c;a.endX+=b;a.endY+=c}F.prototype.u=function(a){if(!a)return!
1;a=I(a);var b=a.y,c=a.width,d=a.height;return
this.x===a.x&&this.y===b&&this.width===c&&this.height===d};function Ga(a){return
a.width*a.height};function Ha(a,b){a=I(a);for(var c=[],d=[],e=0;e<b.length;e++){var
f=I(b[e]),l=Math.max(a.y,f.y),g=Math.min(a.x+a.width,f.x+f.width),m=Math.min(a.y+a.
height,f.y+f.height);K(c,Math.max(a.x,f.x));K(c,g);K(d,l);K(d,m)}c=c.sort(function(
a,b){return a-b});d=d.sort(function(a,b){return a-b});return{S:c,T:d}}function
K(a,b){-1===a.indexOf(b)&&a.push(b)};function Ia()
{this.a=this.b=this.l=this.j=this.c=this.i=void
0;this.m=0;this.g=[];this.f=[];this.h=[]}Ia.prototype.u=function(a){return a?
JSON.stringify(L(this))===JSON.stringify(L(a)):!1};
function L(a){var b=[],c={viewport:a.i,adView:
{percentageInView:a.m,reasons:a.h}};if(a.b)
{c.adView.geometry=I(a.b);c.adView.onScreenGeometry=I(a.a);for(var
d=0;d<a.f.length;d+
+)b.push(I(a.f[d]));c.adView.onScreenGeometry.obstructions=b;a.j&&a.l&&(c.adView.co
ntainerGeometry=I(a.j),c.adView.onScreenContainerGeometry=I(a.l),c.adView.measuring
Element=!0)}return c}
function Ja(a,b)
{b=Ea(b);a.i={};a.i.width=b.width;a.i.height=b.height;a.c={};a.c.x=0;a.c.y=0;a.c.wi
dth=b.width;a.c.height=b.height;a.c.endX=b.width;a.c.endY=b.height}function Ka(a,b)
{var
c={};c.x=Math.max(a.x,b.x);c.y=Math.max(a.y,b.y);c.endX=Math.min(a.endX,b.endX);c.e
ndY=Math.min(a.endY,b.endY);c.width=Math.max(0,c.endX-
c.x);c.height=Math.max(0,c.endY-c.y);return c}function La(a,b){return
a.width<b.width||a.height<b.height}
function Ma(a){var b=Ga(a.b);if(b){var c=Ga(a.a);var d=a.f,e=0;if(0<d.length){var
f=Ha(a.a,d),l=f.S;f=f.T;for(var g=0;g<l.length-1;g++)for(var m=(l[g]+(l[g]
+1))/2,N=l[g+1]-l[g],x=0;x<f.length-1;x++){for(var A=(f[x]+(f[x]+1))/2,G=f[x+1]-
f[x],H=!1,B=0;B<d.length;B++){var
w=I(d[B]);if(w.x<m&&w.x+w.width>m&&w.y<A&&w.y+w.height>A){H=!
0;break}}H&&(e+=Math.round(N)*Math.round(G))}}b=Math.round((c-
e)/b*100);a.m=Math.max(b,0)}}
function M(a,b){for(var c=!1,d=0;d<a.h.length;d++)a.h[d]===b&&(c=!0);c||
a.h.push(b)};function Na(){}function Oa(a,b,c,d){var e=new Ia(0);b=new F(b,!
1);Ja(e,b);Pa(a,b,e,d);if('backgrounded'===c)M(e,'backgrounded');else if(e.b)
{for(a=0;a<e.g.length;a++){c=e.g[a];if(0!==c.width&&0!==c.height&&e.a)
{d=J(e.a);b=d.y;var f=d.endX,l=d.endY;c=!(c.endX<=d.x||c.x>=f||c.endY<=b||
c.y>=l)}else c=!1;if(c){a:{c=e.g[a];for(d=0;d<e.f.length;d++)if(e.f[d].u(c)){c=!
0;break a}c=!1}c=!c}c&&(M(e,'obstructed'),e.f.push(e.g[a]))}Ma(e)}else
M(e,'notFound');return e}
function Pa(a,b,c,d){var e=b.isCreative?!0:b.adSessionId===d;if(e){c.b=b;var
f=J(c.b);a=Ka(c.c,f);La(a,f)&&M(c,'clipped');c.a=new F(a,!1)}else if(f=!0,b.a&&(f=-
1!==b.isFriendlyObstructionFor.indexOf(d)?!1:!1===b.clipsToBounds),f)for(var
l=b.childViews,g=0;g<l.length;g++)f=!!c.b,Pa(a,new F(l[g],f),c,d);!e&&c.b&&(b.a?-1!
==b.isFriendlyObstructionFor.indexOf(d)||c.g.push(b):
(e=J(b),d=J(c.a),I(c.a),a=c.a,0!==a.width&&0!
==a.height&&b.clipsToBounds&&(b=Ka(d,e),La(b,d)&&(M(c,'clipped'),c.a=new F(b,!
1)))))}
;function Qa(){return{apiVersion:'1.0',accessMode:'limited',omidJsInfo:
{omidImplementer:'omsdk',serviceVersion:'1.1.3-iab493'}}}function Ra()
{this.adSessionId=null;this.c=Qa();this.j='foregrounded';this.b=this.a='none';this.
i=this.g=this.f=this.A=this.B=this.l=null;this.m=!0}var O;function P(){O||(O=new
Ra);return O};function Sa(a,b)
{this.b=a;this.c=b}k.Object.defineProperties(Sa.prototype,{a:{configurable:!
0,enumerable:!0,get:function(){return this.b}},origin:{configurable:!0,enumerable:!
0,get:function(){return this.c}}});function Ta()
{this.b=[];this.c=[];this.g=[];this.h=[];this.f={};this.a=P()}function Ua(a)
{a.b=[];a.c=[];a.g=[];a.h=[];a.f={};O.adSessionId=null;O.c=Qa();O.v=void 0;O.w=void
0;O.h=null;O.s=null;O.C=null;O.j='foregrounded';O.a='none';O.b='none';O.l=null;O.B=
null;O.A=null;O.f=null;O.g=null;O.i=null;O.m=!0}function Va(a,b){!1!
==Wa(b)&&a.g.filter(function(a){return a.type===b.a.type}).forEach(function(c)
{return a.i(c.o,b.a)})}
function Xa(a,b,c){a.b.filter(function(a){return
a.a.type===b&&Wa(a)}).map(function(a){return a.a}).forEach(c)}function Wa(a){var
b=a.a.type,c=-1!==Object.values(t).indexOf(b)&&'volumeChange'!
==b;return'impression'===b?a.origin===P().b:c?a.origin===P().a:!0}function
Ya(a,b,c){'video'===b?Za(a,c):(a.g.push({type:b,o:c}),Xa(a,b,c))}function Za(a,b)
{Object.keys(t).forEach(function(c){c=t[c];a.g.push({type:c,o:b});Xa(a,c,b)})}
function $a(a,b,c){a.h.push({R:c,o:b});a.c.forEach(function(d){var
e=ab(d);'sessionStart'===d.a.type&&(e.data.verificationParameters=c&&a.f[c]);a.i(b,
e)})}function bb(a){return a.b.some(function(a){return'impression'===a.a.type})||
a.c.some(function(a){return'impression'===a.a.type})}function Q(a,b,c){var
d=S(a,'sessionError','native',
{errorType:b,message:c});a.c.push(d);a.h.forEach(function(b){a.i(b.o,d.a)})}
function cb(a,b){a.f=Object.assign(a.f,b);if(b=a.a.c){var
c=S(a,'sessionStart','native',{context:b});a.c.push(c);a.h.forEach(function(b){var
d=b.o,f=ab(c);b=b.R;f.data.verificationParameters=b&&a.f[b];a.i(d,f)},a)}}function
db(a){var
b=a.h,c=S(a,'sessionFinish','native');a.c.push(c);Ua(a);b.forEach(function(b)
{return a.i(b.o,c.a)})}Ta.prototype.i=function(a,b){for(var
c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];try{a.apply(null,
[].concat(r(c)))}catch(e){Ba(e)}};
function eb(a,b){var c=a.a.A;var d=(d=P().h)?L(d).viewport:void 0;var e=(e=P().h)?
L(e).adView:void 0;b=S(a,'impression',b,
{mediaType:c,viewport:d,adView:e});a.b.push(b);Va(a,b)}function fb(a,b,c,d)
{'start'!==b&&'volumeChange'!==b||null!=(d&&d.deviceVolume)||
(d.deviceVolume=a.a.l);'start'!==b&&'volumeChange'!==b||
null==(d&&d.videoPlayerVolume)||
(a.a.B=d.videoPlayerVolume);b=S(a,b,c,d);a.b.push(b);Va(a,b)}
function gb(a,b){var c=a.g.filter(function(a)
{return'loaded'===a.type}).map(function(a){return a.o}),d=a.b.filter(function(a)
{return'loaded'===a.a.type&&a.origin===b}).map(function(a){return
a.a});c.forEach(function(a){d.forEach(a)})}function hb(a,b){return'none'!
==a.a.b&&a.a.b!==b?(C('Impression event is owned by '+(a.a.b+', not '+b+'.')),!1):!
0}function ib(a,b){return'none'!==a.a.a&&a.a.a!==b?(C('Video events are owned by '+
(a.a.a+', not '+b+'.')),!1):!0}
function S(a,b,c,d){return new Sa({adSessionId:a.a.adSessionId||'',timestamp:(new
Date).getTime(),type:b,data:d},c)}function ab(a)
{a=a.a;return{adSessionId:a.adSessionId,timestamp:a.timestamp,type:a.type,data:a.da
ta}};function jb(a,b,c){'container'===b&&void 0!==a.a.v&&a.a&&null!
=a.a.adSessionId&&(a.a.h=Oa(a.b,a.a.v,a.a.j,a.a.adSessionId));'creative'===b&&a.a.w
&&(a.a.s=Oa(a.b,a.a.w,a.a.j,a.a.adSessionId));if(a.a.h)if(a.a.s){b=new Ia(0);var
d=a.a.h,e=a.a.s,f=d.i,l=d.b,g=d.a,m=e.b;e=e.a;f&&l&&g&&m&&e&&(Ja(b,f),b.j=new F(l,!
1),b.l=new F(g,!
1),b.g=Object.assign([],d.g),b.f=Object.assign([],d.f),b.h=Object.assign([],d.h),d=
b.j.x,f=b.j.y,m=new F(m,!1),e=new F(e,!1),Fa(m,d,f),Fa(e,d,f),b.b=m,b.a=Ka(e,g),-
1===b.h.indexOf('backgrounded')&&
Ma(b))}else b=a.a.h;else b=null;g=a.a.C;if(b&&!b.u(g)||
c)g=L(b),c&&(g.adView.reasons=g.adView.reasons||
[c]),c=a.c,g=S(c,'geometryChange','native',
{viewport:g.viewport,adView:g.adView}),c.b.push(g),Va(c,g),a.a.C=b};function
lb(a,b,c){this.i=a;this.v=b;this.j=c;this.c=P();this.b=null;this.a=this.g=void
0;this.m=!0;T(this)}function T(a){if(!a.b){var b;a:
{if((b=a.i.document)&&b.getElementsByClassName&&(b=b.getElementsByClassName('omid-
element'))){if(1==b.length){b=b[0];break a}1<b.length&&a.m&&(Q(a.j,'generic',"More
than one element with 'omid-element' class name."),a.m=!
1)}b=null}b&&(b.tagName&&'video'===b.tagName.toLowerCase()?a.c.g=b:a.c.f=b,mb(a))}}
function mb(a){a.c.g?
(a.b=a.c.g,a.h()):a.c.f&&(a.b=a.c.f,'iframe'===a.b.tagName.toLowerCase()?
a.c.i&&a.h():a.h())}function nb(a)
{if(a.a&&a.g)if(a.b.tagName&&'iframe'===a.b.tagName.toLowerCase()){if(a.c.i)
{a:if(a.c.i){var b=new F(a.c.i,!1);Fa(b,a.a.x,a.a.y);b.clipsToBounds=!
0;b.isCreative=!0;for(var c=0;c<a.a.childViews.length;c+
+)if(a.a.childViews[c].isCreative){a.a.childViews[c]=b;break
a}a.a.childViews.push(b)}ob(a)}}else a.a.isCreative=!0,ob(a)}function ob(a)
{a.c.w=a.g;jb(a.v,'creative')};function pb(a,b,c){return qb(a,'setInterval')
(b,c)}function rb(a,b){qb(a,'clearInterval')(b)}function sb(a,b)
{qb(a,'clearTimeout')(b)}function qb(a,b){return a.a&&a.a[b]?a.a[b]:tb(a,b)}
function ub(a,b,c,d){if(a.a.document&&a.a.document.body){var
e=a.a.document.createElement('img');e.width=1;e.height=1;e.style.display='none';e.s
rc=b;c&&e.addEventListener('load',function(){return
c()});d&&e.addEventListener('error',function(){return
d()});a.a.document.body.appendChild(e)}else tb(a,'sendUrl')(b,c,d)}function tb(a,b)
{if(a.a&&a.a.omidNative&&a.a.omidNative[b])return
a.a.omidNative[b].bind(a.a.omidNative);throw Error('Native interface method "'+b+'"
not found.');};function vb(a,b,c,d){lb.call(this,a,b,d);this.f=void
0;this.l=c}q(vb,lb);vb.prototype.s=function(){void 0!
==this.f&&(rb(this.l,this.f),this.f=void 0)};vb.prototype.h=function(){var
a=this;this.b?void 0===this.f&&(this.f=pb(this.l,function(){return
wb(a)},200),wb(this)):this.f=void 0};
function wb(a){if(void 0!==a.f){var b=new F(new
Da(a.i.innerWidth,a.i.innerHeight),!1),c=a.b.getBoundingClientRect();if(null==c.x||
isNaN(c.x))c.x=c.left;if(null==c.y||isNaN(c.y))c.y=c.top;c=new F(c,!
1);b.u(a.g)&&c.u(a.a)||(a.a=c,a.a.clipsToBounds=!
0,a.g=b,a.g.childViews.push(a.a),nb(a))}};function xb(a,b,c)
{lb.call(this,a,b,c);this.f=void 0}q(xb,lb);xb.prototype.s=function()
{this.f&&this.b&&this.f.unobserve(this.b)};xb.prototype.h=function(){this.b&&!
this.f&&(this.f=yb(this),this.f.observe(this.b))};
function yb(a){return new a.i.IntersectionObserver(function(b){try{if(b.length)
{for(var c=b[0],d=1;d<b.length;d++)b[d].time>c.time&&(c=b[d]);b=c;a.g=new
F(b.rootBounds,!1);a.a=new F(b.boundingClientRect,!1);a.a.clipsToBounds=!
0;a.g.childViews.push(a.a);nb(a)}}catch(e){a.s(),Q(a.j,'generic','Problem handling
IntersectionObserver callback: '+e.message)}},
{root:null,rootMargin:'0px',threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]})};function
U(a){return'string'===typeof a}function V(a){return'object'===typeof a}function
zb(a){return'number'===typeof a&&!isNaN(a)&&0<=a}function W(a,b){return U(a)&&-1!
==Object.values(b).indexOf(a)};function X(a,b,c,d,e)
{this.b=a;this.f=b;this.g=c;this.c=e;this.a=P()}h=X.prototype;
h.H=function(a){if(a&&V(a)&&W(a.impressionOwner,na)&&(!('videoEventsOwner'in
a&&null!=a.videoEventsOwner)||W(a.videoEventsOwner,na))){var
b=a.videoEventsOwner;this.a.A=null==b||'none'===b?'display':'video';a&&null!
=a.isolateVerificationScripts&&'boolean'===typeof
a.isolateVerificationScripts&&(this.a.m=a.isolateVerificationScripts);b=this.b;var
c=a.impressionOwner;a=a.videoEventsOwner;bb(b)?C('Impression event has occcured
before the event owners have been registered.'):(b.a.b!==c&&'none'===b.a.b&&
(b.a.b=c),b.a.a!==a&&'none'===b.a.a&&(b.a.a=a),gb(b,a))}};
h.P=function(a,b,c){var d;if(d=V(b))
{if(d=W(b.environment,pa)&&W(b.adSessionType,ma))d=b.omidNativeInfo,d=V(d)?
U(d.partnerName)&&U(d.partnerVersion):!1;d&&(d=b.app,d=V(d)?
U(d.libraryVersion)&&U(d.appId):!1)}d&&(this.a.adSessionId=a,a=b,b=this.a.c||
{},a.omidJsInfo=Object.assign({},b.omidJsInfo||{},a.omidJsInfo||
{}),b=a=Object.assign({},b,a),this.a.m||(this.a.g?
(b.videoElement=this.a.g,b.accessMode='full'):this.a.f&&(b.slotElement=this.a.f,b.a
ccessMode='full')),this.a.c=a,cb(this.b,c),this.c&&T(this.c))};
h.G=function(){db(this.b)};h.N=function(a)
{V(a)&&zb(a.x)&&zb(a.y)&&zb(a.width)&&zb(a.height)&&(this.a.v=a,jb(this.f,'containe
r'))};h.O=function(a){W(a,oa)&&(this.a.j=a,'backgrounded'===a?
jb(this.f,'container','backgrounded'):jb(this.f,'container'))};h.L=function(a)
{'impression'===a&&(this.D(),this.c&&T(this.c))};h.D=function()
{hb(this.b,'native')&&eb(this.b,'native')};h.error=function(a,b)
{W(a,la)&&Q(this.b,a,b)};
h.I=function(a,b){ib(this.b,'native')&&W(a,t)&&(void 0===b||
V(b))&&fb(this.b,a,'native',b)};h.M=function(a){if('none'!
==this.b.a.a&&'number'===typeof a&&!isNaN(a)){this.a.l=a;a=this.g;var b=a.a.B;null!
=b&&fb(a.b,'volumeChange','native',
{videoPlayerVolume:b,deviceVolume:a.a.l})}};X.prototype.startSession=X.prototype.P;
X.prototype.error=X.prototype.error;X.prototype.finishSession=X.prototype.G;X.proto
type.publishAdEvent=X.prototype.L;X.prototype.publishImpressionEvent=X.prototype.D;
X.prototype.publishVideoEvent=X.prototype.I;X.prototype.setNativeViewHierarchy=X.pr
ototype.N;X.prototype.setState=X.prototype.O;X.prototype.setDeviceVolume=X.prototyp
e.M;X.prototype.init=X.prototype.H;function Ab(a,b,c){var d=this;c=c?
c:v;this.b=a;this.a=b;this.i=c;this.h=new z;c.omid=c.omid||
{};c.omid.v1_SessionServiceCommunication=this.h;this.f=null;c&&c.addEventListener&&
c.postMessage&&(this.f=new
E(c));this.h.a=this.J.bind(this);this.f&&(this.f.a=this.K.bind(this));this.c=[];thi
s.g=!1;Bb(this,function(a){return Cb(d,a)})}function Bb(a,b){$a(a.b,b)}function
Db(a,b){P().f=b;a.a&&mb(a.a)}function Eb(a,b){P().g=b;a.a&&mb(a.a)}function Fb(a,b)
{P().i=b;a.a&&mb(a.a);a.a&&nb(a.a)}h=Ab.prototype;
h.error=function(a,b){Q(this.b,a,b)};function Gb(a)
{hb(a.b,'javascript')&&(eb(a.b,'javascript'),a.a&&T(a.a))}h.loaded=function(a){var
b={skippable:a.isSkippable,autoPlay:a.isAutoPlay,position:a.position};a.isSkippable
&&(b.skipOffset=a.skipOffset);fb(this.b,'loaded','javascript',b);this.a&&T(this.a)}
;h.start=function(a,b){Y(this,'start',
{duration:a,videoPlayerVolume:b});this.a&&T(this.a)};
function Hb(a){if(a.g&&a.c.length){var b=a.c;if(a.i&&'undefined'!==typeof
a.i.document)for(var c=P().m,d=0;d<b.length;d++){var
e=b[d],f=d,l=e.resourceUrl,g=a.i.document,m=g.createElement('iframe');c&&(m.sandbox
='allow-scripts');m.id='omid-verification-script-
frame-'+f;m.style.display='none';m.srcdoc='<html><head>'+('<script
type="text/javascript" src="'+l+'">\x3c/script>')
+'</head><body></body></html>';g.body.appendChild(m);f=e.vendorKey;e=e.verification
Parameters;f=void 0===f?'':f;e=void 0===e?'':
e;f&&'string'===typeof f&&''!==f&&e&&'string'===typeof e&&''!==e&&(a.b.f[f]=e)}else
C('OMID Session Client is not running within a window');a.c=[]}}function Ib(a){var
b=P().c.omidJsInfo;a(b.serviceVersion)}function Cb(a,b)
{'sessionStart'===b.type&&(a.g=!0,Hb(a));'sessionFinish'===b.type&&(a.g=!
1,Bb(a,function(b){return Cb(a,b)}))}function Jb(a,b,c){var d=P().c||
{};d.omidJsInfo=Object.assign({},d.omidJsInfo,
{sessionClientVersion:a,partnerName:b,partnerVersion:c});P().c=d}
function Y(a,b,c){'javascript'===P().a&&fb(a.b,b,'javascript',c)}h.K=function(a,b)
{Kb(this,a,b,this.f)};h.J=function(a,b){Kb(this,a,b,this.h)};
function Kb(a,b,c,d){function e(a){for(var b=[],e=0;e<arguments.length;++e)b[e-
0]=arguments[e];b=new u(f,'response',g,ia(g)&&ja(g)?
b:JSON.stringify(b));d.sendMessage(b,c)}var
f=b.b,l=b.method,g=b.version;b=ka(g,b.a);try{switch(l){case
'SessionService.registerAdEvents':hb(a.b,'javascript');break;case
'SessionService.registerVideoEvents':ib(a.b,'javascript');break;case
'SessionService.registerSessionObserver':Bb(a,e);break;case
'SessionService.setSlotElement':var m=p(b).next().value;Db(a,m);break;case
'SessionService.setVideoElement':var N=
p(b).next().value;Eb(a,N);break;case 'SessionService.setElementBounds':var
x=p(b).next().value;Fb(a,x);break;case
'SessionService.impressionOccurred':Gb(a);break;case 'SessionService.loaded':var
A=p(b).next().value;a.loaded(A);break;case 'SessionService.start':var
G=p(b),H=G.next().value,B=G.next().value;a.start(H,B);break;case
'SessionService.firstQuartile':Y(a,'firstQuartile');break;case
'SessionService.midpoint':Y(a,'midpoint');break;case
'SessionService.thirdQuartile':Y(a,'thirdQuartile');break;
case 'SessionService.complete':Y(a,'complete');break;case
'SessionService.pause':Y(a,'pause');break;case
'SessionService.resume':Y(a,'resume');break;case
'SessionService.bufferStart':Y(a,'bufferStart');break;case
'SessionService.bufferFinish':Y(a,'bufferFinish');break;case
'SessionService.skipped':Y(a,'skipped');break;case
'SessionService.volumeChange':var w=p(b).next().value;Y(a,'volumeChange',
{videoPlayerVolume:w});break;case 'SessionService.playerStateChange':var
va=p(b).next().value;Y(a,'playerStateChange',
{state:va});break;case 'SessionService.adUserInteraction':var
wa=p(b).next().value;Y(a,'adUserInteraction',{interactionType:wa});break;case
'SessionService.setClientInfo':var
R=p(b),xa=R.next().value,ya=R.next().value,y=R.next().value;Jb(xa,ya,y);Ib(e);break
;case 'SessionService.injectVerificationScriptResources':var
Rb=p(b).next().value;a.c.push.apply(a.c,[].concat(r(Rb)));Hb(a);break;case
'SessionService.sessionError':var
kb=p(b),Sb=kb.next().value,Tb=kb.next().value;a.error(Sb,Tb)}}catch(D)
{d.sendMessage(new u(f,
'error',g,'\n name: '+D.name+'\n message: '+D.message+'\n
filename: '+D.filename+'\n lineNumber: '+D.lineNumber+'\n
columnNumber: '+D.columnNumber+'\n stack: '+D.stack+'\n
toString(): '+D.toString()+'\n '),c)}};function Lb(a,b,c){c=c?
c:v;this.g=a;this.a=b;this.h={};this.f={};this.c=new z;c.omid=c.omid||
{};c.omid.v1_VerificationServiceCommunication=this.c;this.b=null;c&&c.addEventListe
ner&&c.postMessage&&(this.b=new
E(c));this.c.a=this.i.bind(this);this.b&&(this.b.a=this.j.bind(this))}function
Mb(a,b,c,d){ub(a.a,b,c,d)}function Nb(a,b,c,d){tb(a.a,'downloadJavaScriptResource')
(b,c,d)}Lb.prototype.j=function(a,b)
{this.b&&Ob(this,a,b,this.b)};Lb.prototype.i=function(a,b){Ob(this,a,b,this.c)};
function Ob(a,b,c,d){function e(a){for(var b=[],e=0;e<arguments.length;++e)b[e-
0]=arguments[e];b=new u(f,'response',g,ia(g)&&ja(g)?
b:JSON.stringify(b));d.sendMessage(b,c)}var
f=b.b,l=b.method,g=b.version;b=ka(g,b.a);try{switch(l){case
'VerificationService.addEventListener':var
m=p(b).next().value;Ya(a.g,m,e);break;case
'VerificationService.addSessionListener':var N=p(b).next().value;
$a(a.g,e,N);break;case 'VerificationService.sendUrl':var
x=p(b).next().value;Mb(a,x,function(){return e(!0)},function(){return e(!1)});
break;case 'VerificationService.setTimeout':var
A=p(b),G=A.next().value,H=A.next().value;a.h[G]=qb(a.a,'setTimeout')
(e,H);break;case 'VerificationService.clearTimeout':var
B=p(b).next().value;sb(a.a,a.h[B]);break;case 'VerificationService.setInterval':var
w=p(b),va=w.next().value,wa=w.next().value;a.f[va]=pb(a.a,e,wa);break;case
'VerificationService.clearInterval':var
R=p(b).next().value;rb(a.a,a.f[R]);break;case
'VerificationService.injectJavaScriptResource':var
xa=p(b).next().value;Nb(a,xa,function(a){return e(!0,
a)},function(){return e(!1)});break;case
'VerificationService.getVersion':p(b).next();var
ya=P().c.omidJsInfo;e(ya.serviceVersion)}}catch(y){d.sendMessage(new
u(f,'error',g,'\n name: '+y.name+'\n message:
'+y.message+'\n filename: '+y.filename+'\n lineNumber:
'+y.lineNumber+'\n columnNumber: '+y.columnNumber+'\n
stack: '+y.stack+'\n toString(): '+y.toString()+'\n
'),c)}};var Z=new Ta,Pb=new function(){var a;this.a=a=void 0===a?omidGlobal:a};new
Lb(Z,Pb);var Qb=new function(){var a=new Na;this.c=Z;this.b=a;this.a=P()},Ub=v?
v.IntersectionObserver?new xb(v,Qb,Z):new vb(v,Qb,Pb,Z):null;new
Ab(Z,Ub);v.omidBridge=new X(Z,Qb,new function(){var a=P();this.b=Z;this.a=a},new
function(){},Ub);if(v.frames&&v.document&&!('omid_v1_present'in v.frames)){var
Vb;if(Vb=!v.document.body)Vb='MutationObserver'in v;Vb?za():v.document.body?
ua(v):v.document.write('<iframe style="display:none" id="omid_v1_present"
name="omid_v1_present"></iframe>')};
}).call(this, this);

1556473545336 com.nazara.tinylabproductions.oggy Successfully downloaded OM JS

1556473545336 com.nazara.tinylabproductions.oggy executing q...


1556473545338 com.nazara.tinylabproductions.oggy Checking array data
[{"network_id":31,"event":2,"count":1}] after encoding %5B%7B%22network_id
%22%3A31%2C%22event%22%3A2%2C%22count%22%3A1%7D%5D

1556473545339 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155647354533922d09d9c8535860dbe79c66456b12c9f

1556473545341 com.nazara.tinylabproductions.oggy md5_token id


0de842346bdaefa415d0e6aa73d226da

1556473545367 com.nazara.tinylabproductions.oggy q Request url:


https://vdo.pokkt.com/api/NetworkEventTrackerV2? parameters :
timestamp=1556473545339&gdpr_applicable=false&gdpr_consent=true&udid=6254babc-98e5-
42b8-a1a9-
9af626a79056&token=0de842346bdaefa415d0e6aa73d226da&network_event_count=[{"network_
id":31,"event":2,"count":1}]&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.
0&app_version=1.32&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7
.4.0&advertisingID=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-a61b314f1b4b

1556473546232 com.nazara.tinylabproductions.oggy f response: <html>


<head>
<meta charset="utf-8" />
<title>Pokkt Video</title>

<!-- Console Logger -->


<script type="text/javascript">
/**
* console logger
**/
(function() {
var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};

var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};

log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};
log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};

log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());
</script>

<!-- Pokkt Specific -->


<script type="text/javascript">
//alert('hi!');
window.name = "pokkt_video_window";
log.i('window name: ' + window.name);

function is_pokkt_sdk() {
return true;
}

function pokkt_on_close() {
pauseAd();
if (typeof(Android) != "undefined" && Android.closeInterstitial) {
Android.closeInterstitial();
} else {
if (window.external && window.external.notify) {
window.external.notify("closeInterstitial");
}
}
}

function pokktOnComplete() {
if (typeof(Android) != "undefined" && Android.gratifyInterstitial)
{
Android.gratifyInterstitial();
} else {
if(window && window.external && window.external.notify) {
window.external.notify("gratifyInterstitial");
}
}
}

// function injectScript() {
// var Android = {};
// function closeInterstitial() {
// setTimeout(function() {
// window.location = 'pokkt://closeInterstitial';
// }, 1000);
// };

// function gratifyInterstitial() {
// window.location = 'pokkt://gratifyInterstitial';
// };
// Android.closeInterstitial = closeInterstitial;
// Android.gratifyInterstitial = gratifyInterstitial;
// window.Android = Android;
// }
// injectScript();
</script>

<!-- VideoJS -->


<link href="https://pokktjs.pokkt.com/vjs/videojs7/video-js.css"
rel="stylesheet">
<script src="https://pokktjs.pokkt.com/vjs/videojs7/video.min.js"
type="text/javascript"></script>

<!-- VideoJS VAST-VPAID Plugin -->


<link href="https://pokktjs.pokkt.com/vjs/videojs.vast.vpaid.min.css"
rel="stylesheet">
<script src="https://pokktjs.pokkt.com/vjs/vjs_plugin.min.js"></script>

<!-- OM SESSION CLIENT -->


<script src="https://s3-ap-southeast-
1.amazonaws.com/sdkplugin/omidsupport/omid-session-client-v1.js"></script>

<!-- Pokkt-JS Bridge -->


<script type="text/javascript">
/**
* bridge
**/
(function() {
window.pokktNativeBridge = {};
window.pokktNativeBridge.notifyNative = function(operation, params)
{
log.i('notifying native of: ' + operation + ' , with params: ' +
params);

var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "pokktbridge://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};
} ());
</script>

<!-- Pokkt-OM Wrapper -->


<script type="text/javascript">
(function() {
var pokktOMIDBridge = window.pokktOMIDBridge = {};

pokktOMIDBridge.createOMIDSession = function(omidSDKVersion,
vendors, partnerName, partnerVersion) {
log.i('creating omid session...');

var sessionClient;

try {
sessionClient = OmidSessionClient[omidSDKVersion];
} catch (e) {
log.i('error creating sessionClient!');
}
if (!sessionClient) {
log.i('sessionClient not available!');
pokktNativeBridge.notifyNative('omWrapperFailed');
return;
}

const AdSession = sessionClient.AdSession;


const Partner = sessionClient.Partner;
const Context = sessionClient.Context;
const VerificationScriptResource =
sessionClient.VerificationScriptResource;
const AdEvents = sessionClient.AdEvents;
const VideoEvents = sessionClient.VideoEvents;

log.i('compiling verification resources...');


var resources = [];
for (var i = 0; i < vendors.length; i++) {
var vendor = vendors[i];
var resource = new
VerificationScriptResource(vendor.javascriptResourceUrl, vendor.vendorKey,
vendor.verificationParameters);
resources.push(resource);
}

if (!resources.length) {
log.i('no verification resources found!');
pokktNativeBridge.notifyNative('omWrapperFailed');
return;
}

var partner = new Partner(partnerName, partnerVersion);


var context = new Context(partner, resources);
var adSession = new AdSession(context);
pokktOMIDBridge.adSession = adSession;

const videoElement = document.getElementById("pokkt-video-ad");


context.setVideoElement(videoElement);

const adEvents = new AdEvents(adSession);


const videoEvents = new VideoEvents(adSession);
pokktOMIDBridge.videoEvents = videoEvents;

adSession.registerSessionObserver(function (event) {
log.i('omid session event: ' + event.type)
if (event.type === "sessionStart") {
videoEvents.loaded({ isSkippable: true, isAutoPlay:
true, position: 'standalone' });
adEvents.impressionOccurred();
} else if (event.type === "sessionError") {
log.i('session error occured! ' + event);
} else if (event.type === "sessionFinish") {
log.i('session finished!');
}
});

log.i('notifying omid wrapper ready...');


pokktNativeBridge.notifyNative('omWrapperReady');
};
} ());

function initOMIDSession(pokktOMConfig) {
log.i('initializing omid session...');

if (pokktOMConfig === undefined) {


log.i('using dummy verification data');
// TEST DATA
pokktOMConfig = {
"omid_sdk_version" : "1.1.3-iab493",
"partner_name" : "Pokkt",
"partner_version" : "7.3.0",
"vendors" : [
{
"vendorKey": "iabtechlab.com-omid",
"javascriptResourceUrl": " https://s3-us-west-
2.amazonaws.com/omsdk-files/compliance-js/omid-validation-verification-script-
v1.js",
"verificationParameters": "iabtechlab-pokkt"
}
]
};
}

if (window.pokktOMIDBridge !== undefined && pokktOMConfig !==


undefined) {
var omidSDKVersion = pokktOMConfig.omid_sdk_version;
var partnerName = pokktOMConfig.partner_name;
var partnerVersion = pokktOMConfig.partner_version;
var vendors = pokktOMConfig.vendors;

log.i('omid version is ' + omidSDKVersion);


log.i('creating omid session with ' + partnerName + ', for
version ' + partnerVersion);
window.pokktOMIDBridge.createOMIDSession(omidSDKVersion,
vendors, partnerName, partnerVersion)
} else {
log.e('invalid pokktOMConfig OR pokktOMIDBridge not
available!');
}
}
</script>
</head>
<body>
<div class="pokkt-video-container" id="pokkt-video-container"
style="opacity:100">
<video id="pokkt-video-ad" class="video-js vjs-default-skin vjs-16-9"
controls webkit-playsinline playsinline preload="auto"
poster="https://pokktjs.pokkt.com/vjs/assets/logo.png" data-
setup='{}'>
<source src="https://pokktjs.pokkt.com/vjs/assets/blank.mp4"
type='video/mp4'>
</video>
</div>

<script type="text/javascript">
window.vjsPlayer = videojs('pokkt-video-ad', {
'controls':false,
'forceSSL':true
}, function () {
log.i('videojs is ready!');
setupEventListeners(this);
window.pokktNativeBridge.notifyNative('vjsPlayerReady');
//this.play();
});

var vastResponseXML = '';


function requestVASTXML(callback) {
setTimeout(function () {
// the macro should be replaced with a proper VAST xml
callback(null, vastResponseXML);
}, 0);
}

function setupVJS(isTagAnURL, vastTag, moatData, moatPartnerCode) {


var vastClientSettings = {};
vastClientSettings.adsCancelTimeout = 200000;
vastClientSettings.adsEnabled = true;
vastClientSettings.playAdAlways = true;
vastClientSettings.vpaidFlashLoaderPath =
'https://vdo.pokkt.com/video-js-4.12/vpaid/VPAIDFlash.swf';
vastClientSettings.moatData = moatData;
vastClientSettings.moatPartnerCode = moatPartnerCode;
vastClientSettings.verbosity = 4;

if (isTagAnURL) {
vastClientSettings.adTagUrl = vastTag;
} else {
vastResponseXML = vastTag;
vastClientSettings.adTagXML = 'requestVASTXML';
}

window.vjsPlayer.vastClient(vastClientSettings);
}

function setupEventListeners(player) {
log.i('setting up listeners on player: ' + player);

player.on('vpaid.AdVideoStart', function(e) {
log.i('window.pokktOMIDBridge start');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
var duration = player.duration();
var muted = player.muted() ? 0 : 1;
if (!isNaN(duration)) {
window.pokktOMIDBridge.videoEvents.start(duration, muted);
} else {
// TODO: wait until duration is available to start
}
});

player.on('vpaid.AdVideoFirstQuartile', function(e) {
log.i('window.pokktOMIDBridge first quartile');
if (window.pokktOMIDBridge === undefined ||
window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.firstQuartile();
});

player.on('vpaid.AdVideoMidpoint', function(e) {
log.i('window.pokktOMIDBridge midpoint');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.midpoint();
});

player.on('vpaid.AdVideoThirdQuartile', function(e) {
log.i('window.pokktOMIDBridge third quartile');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.thirdQuartile();
});

player.on('vpaid.AdVideoComplete', function(e) {
log.i('window.pokktOMIDBridge complete');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.complete();
});

player.on('vpaid.AdSkipped', function(e) {
log.i('window.pokktOMIDBridge skipped');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.skipped();
});

player.on('vpaid.AdPaused', function(e) {
log.i('window.pokktOMIDBridge paused');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.pause();
});

player.on('vpaid.AdPlaying', function(e) {
log.i('window.pokktOMIDBridge resumed');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
window.pokktOMIDBridge.videoEvents.resume();
});

player.on('vpaid.AdVolumeChange', function(e) {
log.i('window.pokktOMIDBridge volume changed');

if (window.pokktOMIDBridge === undefined ||


window.pokktOMIDBridge.videoEvents === undefined) {
log.i('bridge or video-events not available');
return;
}
var videoPlayerVolume = player.volume();
log.i('device volume is: ' + videoPlayerVolume);

window.pokktOMIDBridge.videoEvents.volumeChange(videoPlayerVolume);
});
}

function playAd() {
window.vjsPlayer.play();
}

function pauseAd() {
window.vjsPlayer.pause();
}
</script>

<script type="text/javascript">
// replace macros and call the following
// setupVJS(isTagAnURL, vastTag, moatData, moatPartnerCode);
setupVJS({{IS_TAG_A_URL}}, '{{VAST_TAG}}', {{MOAT_DATA}},
'{{MOAT_PARTNER_CODE}}');
</script>
</body>
</html>

1556473546235 com.nazara.tinylabproductions.oggy executing t...

1556473546235 com.nazara.tinylabproductions.oggy Successfully downloaded VPAID HTML

1556473546237 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155647354623622d09d9c8535860dbe79c66456b12c9f

1556473546239 com.nazara.tinylabproductions.oggy md5_token id


b016890a3af5e11f4cdf041d498f39f5

1556473546268 com.nazara.tinylabproductions.oggy t Request url:


https://vdo.pokkt.com/api/sessionTracker/trackV2? parameters :
timestamp=1556473546236&gdpr_applicable=false&gdpr_consent=true&udid=6254babc-98e5-
42b8-a1a9-9af626a79056&token=b016890a3af5e11f4cdf041d498f39f5&stat=%7B%22s_id%22%3A
%224b57cb2e-d029-48fe-93e4-1b0012d4ddb2%22%2C%22s_ct%22%3A1554983722819%2C%22s_lt
%22%3A1554983722819%2C%22s_et%22%3A-1%2C%22s_d%22%3A0%2C%22s_tvc%22%3A0%2C%22s_pe
%22%3A0%2C%22s_pc%22%3A0%2C%22s_pp
%22%3A0%7D&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32
&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID
=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-a61b314f1b4b

1556473547004 com.nazara.tinylabproductions.oggy d response: <?xml version="1.0"


encoding="UTF-8" ?><VAST version="2.0"></VAST>

1556473547045 com.nazara.tinylabproductions.oggy VAST element is present

1556473547051 com.nazara.tinylabproductions.oggy First element value: {} 2.0

1556473547054 com.nazara.tinylabproductions.oggy vast version ---- {} 2.0

1556473547060 com.nazara.tinylabproductions.oggy Ad element is absent

1556473547062 com.nazara.tinylabproductions.oggy Error Code 19 : No Campaign


Available Vast Error 303

1556473547064 com.nazara.tinylabproductions.oggy executing q...

1556473547065 com.nazara.tinylabproductions.oggy Checking array data [] after


encoding %5B%5D

1556473547066 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155647354706622d09d9c8535860dbe79c66456b12c9f

1556473547067 com.nazara.tinylabproductions.oggy md5_token id


27adf6b87d79fec7ad8079521cbc00cf

1556473547088 com.nazara.tinylabproductions.oggy q Request url:


https://vdo.pokkt.com/api/NetworkEventTrackerV2? parameters :
timestamp=1556473547066&gdpr_applicable=false&gdpr_consent=true&udid=6254babc-98e5-
42b8-a1a9-
9af626a79056&token=27adf6b87d79fec7ad8079521cbc00cf&network_event_count=[]&appId=51
1374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=co
m.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID=b7009d36-9444-
4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-a61b314f1b4b

1556473549487 com.nazara.tinylabproductions.oggy q response:


{"status":1,"message":"success","response":{}}
1556473549488 com.nazara.tinylabproductions.oggy saving session-details...

1556473549488 com.nazara.tinylabproductions.oggy executing t...

1556473549490 com.nazara.tinylabproductions.oggy hashKey id 6254babc-98e5-42b8-


a1a9-9af626a79056155647354949022d09d9c8535860dbe79c66456b12c9f

1556473549492 com.nazara.tinylabproductions.oggy md5_token id


411854e7734d29010eedf2ef47cee056

1556473549501 com.nazara.tinylabproductions.oggy saving session-details...

1556473549514 com.nazara.tinylabproductions.oggy t Request url:


https://vdo.pokkt.com/api/sessionTracker/trackV2? parameters :
timestamp=1556473549490&gdpr_applicable=false&gdpr_consent=true&udid=6254babc-98e5-
42b8-a1a9-9af626a79056&token=411854e7734d29010eedf2ef47cee056&stat=%7B%22s_id%22%3A
%2280f6f020-d11f-42a7-adbb-24b7e5c9cadd%22%2C%22s_ct%22%3A1556218698374%2C%22s_lt
%22%3A1556218698374%2C%22s_et%22%3A-1%2C%22s_d%22%3A0%2C%22s_tvc%22%3A0%2C%22s_pe
%22%3A0%2C%22s_pc%22%3A0%2C%22s_pp
%22%3A0%7D&appId=511374ddba5daf16929850844a9df59a&os_version=8.0.0&app_version=1.32
&app_bundle_name=com.nazara.tinylabproductions.oggy&sdk_version=7.4.0&advertisingID
=b7009d36-9444-4afb-acaf-
c833f6e4c098&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=3G&screen_density_x=409.432&screen_density_y=406.4&sheight=1080.0&swidt
h=2040.0&carrier_name=Ufone&screen_density_category=XXHDPI&device_model=HUAWEI+RNE-
L21&language=en&maturity_rating=&opt_userid=3a2a404e8e2b1393&name=&age=&sex=&locati
on=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=&
lat=0.0&long=0.0&address=&sessionId=57fc11df-a44b-438d-9c8d-a61b314f1b4b

1556473549970 com.nazara.tinylabproductions.oggy q response:


{"status":1,"message":"success","response":{}}

1556473549972 com.nazara.tinylabproductions.oggy saving session-details...

1556473549976 com.nazara.tinylabproductions.oggy saving session-details...

1556473549981 com.nazara.tinylabproductions.oggy saving session-details...

1556473550014 com.nazara.tinylabproductions.oggy executing f...

1556473550015 com.nazara.tinylabproductions.oggy f Request url: https://s3-ap-


southeast-1.amazonaws.com/pokktmraid/mraid.js

1556473550369 com.nazara.tinylabproductions.oggy t response:


{"status":1,"message":"success","response":{}}

1556473550372 com.nazara.tinylabproductions.oggy removing session with id:


4b57cb2e-d029-48fe-93e4-1b0012d4ddb2

1556473550373 com.nazara.tinylabproductions.oggy saving session-details...

1556473550549 com.nazara.tinylabproductions.oggy f response: /**


* mraid.js
*
* (c) Pokkt
*
* Supports MRAID 3
**/
/**
* mraid functionalities
**/
(function() {
if (console.oldLog === undefined) {
console.oldLog = console.log;

console.log = function(log) {
if (console.oldLog !== undefined) {
console.oldLog(log);
}

// native console logger for ios


var isIOS = (/iphone|ipad|
ipod/i).test(window.navigator.userAgent.toLowerCase());
if (isIOS) {
var iframe = document.createElement("IFRAME");
iframe.setAttribute("src", "console-log://" + log);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
}
};
}

var LOG_LEVEL = {
"DEBUG" : 0,
"INFO" : 1,
"WARNING" : 2,
"ERROR" : 3
};

var logLevel = LOG_LEVEL.DEBUG;

var log = window.log = {};

log.d = function(msg) {
if (logLevel <= LOG_LEVEL.DEBUG) {
console.log("[DEBUG] " + msg);
}
};

log.i = function(msg) {
if (logLevel <= LOG_LEVEL.INFO) {
console.log("[INFO] " + msg);
}
};

log.w = function(msg) {
if (logLevel <= LOG_LEVEL.WARN) {
console.log("[WARN] " + msg);
}
};

log.e = function(msg) {
console.log("[ERROR] " + msg);
};
} ());
/**
* console logger
**/
(function() {
log.i("init mraid...");

/**
* globals
**/
var mraid = window.mraid = {};

var bridge = window.mraidBridge = {};

var mraidUtils = window.mraidUtils = {};

/**
* constants
**/
var VERSION = "3.0";

var SUPPORTED_FEATURES = mraid.SUPPORTED_FEATURES = {


"SMS" : "sms",
"TEL" : "tel",
"CALENDAR" : "calendar",
"STOREPICTURE" : "storePicture",
"INLINEVIDEO" : "inlineVideo",
"VPAID" : "vpaid",
"LOCATION" : "location"
};

var PLACEMENT_TYPE = mraid.PLACEMENT_TYPE = {


"INLINE" : "inline",
"INTERSTITIAL" : "interstitial",
"UNKNOWN" : "unknown"
};

var DEVICE_ORIENTATIONS = mraid.DEVICE_ORIENTATIONS = {


"PORTRAIT" : "portrait",
"LANDSCAPE" : "landscape",
"NONE" : "none"
};

var STATES = mraid.STATES = {


"LOADING" : "loading",
"DEFAULT" : "default",
"EXPANDED" : "expanded",
"RESIZED" : "resized",
"HIDDEN" : "hidden"
};

var CUSTOM_CLOSE_POSITION = mraid.CUSTOM_CLOSE_POSITION = {


"TOP_LEFT" : "top-left",
"TOP_CENTER" : "top-center",
"TOP_RIGHT" : "top-right",
"CENTER" : "center",
"BOTTOM_LEFT" : "bottom-left",
"BOTTOM_CENTER" : "bottom-center",
"BOTTOM_RIGHT" : "bottom-right"
};

var LOCATION_PROVIDER_TYPES = mraid.LOCATION_PROVIDER_TYPES = {


"GPS" : 1,
"IP" : 2,
"USER" : 3
};

var EVENTS = mraid.EVENTS = {


"ERROR" : "error",
"READY" : "ready",
"SIZECHANGE" : "sizeChange",
"STATECHANGE" : "stateChange",
"VIEWABLECHANGE" : "viewableChange",
"EXPOSURECHANGE" : "exposureChange",
"AUDIOVOLUMECHANGE" : "audioVolumeChange"
};

/**
* states
**/
var supportedFeatures = {};

var placementType = PLACEMENT_TYPE.UNKNOWN;

var state = STATES.LOADING;

var isViewable = false;

var volumePercentage = 1.0;

var isResizeReady = false;

var eventListeners = {};

var orientationProperties = {
"allowOrientationChange" : true,
"forceOrientation" : DEVICE_ORIENTATIONS.NONE
};

var currentAppOrientation = {
"orientation" : DEVICE_ORIENTATIONS.NONE,
"locked" : false
};

var currentPosition = {
"x" : 0,
"y" : 0,
"width" : 0,
"height" : 0
};

var defaultPosition = {
"x" : 0,
"y" : 0,
"width" : 0,
"height" : 0
};

var expandProperties = {
"width" : 0,
"height" : 0,
"useCustomClose" : false,
"isModal" : true
};

var maxSize = {
"width" : 0,
"height" : 0
};

var screenSize = {
"width" : 0,
"height" : 0
};

var resizeProperties = {
"width" : 0,
"height" : 0,
"offsetX" : 0,
"offsetY" : 0,
"customClosePosition" : CUSTOM_CLOSE_POSITION.TOP_RIGHT,
"allowOffscreen" : true
};

var locationData = {
"lat" : 0.0,
"lon" : 0.0,
"type" : LOCATION_PROVIDER_TYPES.GPS,
"accuracy" : 0.0,
"lastfix" : 0,
"ipservice" : ""
};

var exposureProperties = {
"exposedPercentage" : 0,
"visibleRectangle" : {},
"occlusionRectangles" : null // not used in this version
};

//\\//\\//\\//\\//\\//\\//\\// BRIDGE \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: mraid-native bridge...");

var notifyNative = bridge.notifyNative = function(operation, params) {


var command = operation + "?params=" + params;

var iframe = document.createElement("IFRAME");


iframe.setAttribute("src", "mraid://" + command);
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;
};
bridge.setSupportedFeature = function(feature, isSupported) {
supportedFeatures[feature] = isSupported;
};

bridge.setPlacementType = function(pt) {
placementType = pt;
};

bridge.setCurrentAppOrientation = function(orientation, locked) {


currentAppOrientation.orientation = orientation;
currentAppOrientation.locked = locked;
};

bridge.setCurrentPosition = function(x, y, width, height) {


var previousSize = {};
previousSize.width = currentPosition.width;
previousSize.height = currentPosition.height;
//log.i("previousSize " + previousSize.width + "," + previousSize.height);

currentPosition.x = x;
currentPosition.y = y;
currentPosition.width = width;
currentPosition.height = height;

if (width !== previousSize.width || height !== previousSize.height) {


mraid.fireSizeChangeEvent(width, height);
}
};

bridge.setDefaultPosition = function(x, y, width, height) {


defaultPosition.x = x;
defaultPosition.y = y;
defaultPosition.width = width;
defaultPosition.height = height;
};

bridge.setMaxSize = function(width, height) {


maxSize.width = width;
maxSize.height = height;

// FIXME: do we need a separate method for this??


expandProperties.width = width;
expandProperties.height = height;
};

bridge.setScreenSize = function(width, height) {


screenSize.width = width;
screenSize.height = height;
};

bridge.setLocation = function(lat, lon, type, accuracy, lastfix, ipservice) {


locationData.lat = lat;
locationData.lon = lon;
locationData.type = type;
locationData.accuracy = accuracy;
locationData.lastfix = lastfix;
locationData.ipservice = ipservice;
};
//\\//\\//\\//\\//\\//\\//\\// UTILS \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: utilities...");

var contains = mraidUtils.containsInArray = function(value, array) {


for (var i in array) {
if (array[i] === value)
return true;
}
return false;
};

var resizeUtil = {};


resizeUtil.isCloseRegionOnScreen = function(properties) {
log.d("isCloseRegionOnScreen");
log.d("defaultPosition " + defaultPosition.x + " " + defaultPosition.y);
log.d("offset " + properties.offsetX + " " + properties.offsetY);

var resizeRect = {};


resizeRect.x = defaultPosition.x + properties.offsetX;
resizeRect.y = defaultPosition.y + properties.offsetY;
resizeRect.width = properties.width;
resizeRect.height = properties.height;
resizeUtil.printRect("resizeRect", resizeRect);

var customClosePosition =
properties.hasOwnProperty("customClosePosition") ?
properties.customClosePosition : resizeProperties.customClosePosition;
log.d("customClosePosition " + customClosePosition);

var closeRect = { "width": 50, "height": 50 };

if (customClosePosition.search("left") !== -1) {


closeRect.x = resizeRect.x;
} else if (customClosePosition.search("center") !== -1) {
closeRect.x = resizeRect.x + (resizeRect.width / 2) - 25;
} else if (customClosePosition.search("right") !== -1) {
closeRect.x = resizeRect.x + resizeRect.width - 50;
}

if (customClosePosition.search("top") !== -1) {


closeRect.y = resizeRect.y;
} else if (customClosePosition === "center") {
closeRect.y = resizeRect.y + (resizeRect.height / 2) - 25;
} else if (customClosePosition.search("bottom") !== -1) {
closeRect.y = resizeRect.y + resizeRect.height - 50;
}

var maxRect = { "x": 0, "y": 0 };


maxRect.width = maxSize.width;
maxRect.height = maxSize.height;

return resizeUtil.isRectContained(maxRect, closeRect);


};

resizeUtil.fitResizeViewOnScreen = function(properties) {
log.d("fitResizeViewOnScreen");
log.d("defaultPosition " + defaultPosition.x + " " + defaultPosition.y);
log.d("offset " + properties.offsetX + " " + properties.offsetY);

var resizeRect = {};


resizeRect.x = defaultPosition.x + properties.offsetX;
resizeRect.y = defaultPosition.y + properties.offsetY;
resizeRect.width = properties.width;
resizeRect.height = properties.height;
resizeUtil.printRect("resizeRect", resizeRect);

var maxRect = { "x": 0, "y": 0 };


maxRect.width = maxSize.width;
maxRect.height = maxSize.height;

var adjustments = { "x": 0, "y": 0 };

if (resizeUtil.isRectContained(maxRect, resizeRect)) {
log.d("no adjustment necessary");
return adjustments;
}

if (resizeRect.x < maxRect.x) {


adjustments.x = maxRect.x - resizeRect.x;
} else if ((resizeRect.x + resizeRect.width) > (maxRect.x + maxRect.width))
{
adjustments.x = (maxRect.x + maxRect.width) - (resizeRect.x +
resizeRect.width);
}
log.d("adjustments.x " + adjustments.x);

if (resizeRect.y < maxRect.y) {


adjustments.y = maxRect.y - resizeRect.y;
} else if ((resizeRect.y + resizeRect.height) > (maxRect.y +
maxRect.height)) {
adjustments.y = (maxRect.y + maxRect.height) - (resizeRect.y +
resizeRect.height);
}
log.d("adjustments.y " + adjustments.y);

resizeRect.x = defaultPosition.x + properties.offsetX + adjustments.x;


resizeRect.y = defaultPosition.y + properties.offsetY + adjustments.y;
resizeUtil.printRect("adjusted resizeRect", resizeRect);

return adjustments;
};

resizeUtil.isRectContained = function(containingRect, containedRect) {


log.d("isRectContained");
resizeUtil.printRect("containingRect", containingRect);
resizeUtil.printRect("containedRect", containedRect);
return (containedRect.x >= containingRect.x &&
(containedRect.x + containedRect.width) <= (containingRect.x +
containingRect.width) &&
containedRect.y >= containingRect.y &&
(containedRect.y + containedRect.height) <= (containingRect.y +
containingRect.height));
};

resizeUtil.printRect = function(label, rect) {


log.d(label +
" [" + rect.x + "," + rect.y + "]" +
",[" + (rect.x + rect.width) + "," + (rect.y + rect.height) + "]" +
" (" + rect.width + "x" + rect.height + ")");
};

var dumpListeners = mraidUtils.dumpListeners = function() {


var nEvents = Object.keys(eventListeners).length
log.i("dumping listeners (" + nEvents + " events)");
for (var event in eventListeners) {
var listeners = eventListeners[event];
log.i(" " + event + " contains " + listeners.length + " listeners");
for (var i = 0; i < listeners.length; i++) {
log.i(" " + listeners[i]);
}
}
};

//\\//\\//\\//\\//\\//\\//\\// EVENT MANAGEMENT \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: event-management...");

var EventListeners = function(event) {


this.event = event;
this.count = 0;
var listeners = {};

this.add = function(func) {
var id = String(func);
if (!listeners[id]) {
listeners[id] = func;
this.count++;
}
};

this.remove = function(func) {
var id = String(func);
if (listeners[id]) {
listeners[id] = null;
delete listeners[id];
this.count--;
return true;
} else {
return false;
}
};

this.removeAll = function() {
for (var id in listeners) {
if (listeners.hasOwnProperty(id)) {
this.remove(listeners[id]);
}
}
};

this.broadcast = function(args) {
for (var id in listeners) {
if (listeners.hasOwnProperty(id)) {
listeners[id].apply(mraid, args);
}
}
};

this.toString = function() {
var out = [event, ':'];
for (var id in listeners) {
if (listeners.hasOwnProperty(id)) {
out.push('|', id, '|');
}
}
return out.join('');
};
};

var broadcastEvent = mraidUtils.broadcastEvent = function() {


var args = new Array(arguments.length);
var l = arguments.length;
for (var i = 0; i < l; i++) {
args[i] = arguments[i];
}
var event = args.shift();
if (eventListeners[event]) {
eventListeners[event].broadcast(args);
}
};

//\\//\\//\\//\\//\\//\\//\\// VALIDTORS \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: validators...");

/**
* validators
*
* The action parameter is a string which is the name of the setter function
which called this function
* (in other words, setExpandPropeties, setOrientationProperties, or
setResizeProperties).
* It serves both as the key to get the the appropriate set of validating
functions from the allValidators object
* as well as the action parameter of any error event that may be thrown.
*
* added location-data validation
**/

var allValidators = mraidUtils.allValidators = {


"setExpandProperties": {
"width" : function(width) {
return !isNaN(width);
},
"height" : function(height) {
return !isNaN(height);
},
"useCustomClose" : function(useCustomClose) {
if (VERSION === "3.0")
return true; // ignoring in case of MRAID 3

return (typeof useCustomClose === "boolean");


}
},
"setOrientationProperties": {
"allowOrientationChange" : function(allowOrientationChange) {
return (typeof allowOrientationChange === "boolean");
},
"forceOrientation" : function(forceOrientation) {
var validValues = [ "portrait","landscape","none" ];
return validValues.indexOf(forceOrientation) !== -1;
}
},
"setResizeProperties": {
"width" : function(width) {
return !isNaN(width) && width >= 50;
},
"height" : function(height) {
return !isNaN(height) && height >= 50;
},
"offsetX" : function(offsetX) {
return !isNaN(offsetX);
},
"offsetY" : function(offsetY) {
return !isNaN(offsetY);
},
"customClosePosition" : function(customClosePosition) {
var validPositions = [ "top-left","top-center","top-
right","center","bottom-left","bottom-center","bottom-right" ];
return validPositions.indexOf(customClosePosition) !== -1;
},
"allowOffscreen" : function(allowOffscreen) {
return (typeof allowOffscreen === "boolean");
}
},
"locationData" : {
"lat" : function(lat) {
return !isNaN(lat);
},
"lon" : function(lon) {
return !isNaN(lon);
},
"type" : function(type) {
return !isNaN(type) && type >= 1 && type <= 3;
},
"accuracy" : function(accuracy) {
return !isNaN(accuracy);
},
"lastfix" : function(lastfix) {
return !isNaN(lastfix);
}
}
};

var validate = mraidUtils.validate = function(properties, action) {


var retval = true;
var validators = allValidators[action];
for (var prop in properties) {
var validator = validators[prop];
var value = properties[prop];
if (validator && !validator(value)) {
var message = "Value of property " + prop + " (" + value + ") is
invalid!";
log.e(message);
broadcastEvent(EVENTS.ERROR, message, action);
retval = false;
}
}
return retval;
};

//\\//\\//\\//\\//\\//\\//\\// MRAID \\//\\//\\//\\//\\//\\//\\//\\

log.i("setting up: mraid mraid features...");

/**
* mraid properties
**/
mraid.supports = function(feature) {
log.i("mraid.supports: " + feature + " " + supportedFeatures[feature]);
var retval = supportedFeatures[feature];
if (typeof retval === "undefined") {
retval = false;
}
return retval;
};

mraid.getPlacementType = function() {
log.i("mraid.getPlacementType");
return placementType;
};

mraid.getOrientationProperties = function() {
log.i("mraid.getOrientationProperties");

var properties = {};


properties.allowOrientationChange =
orientationProperties.allowOrientationChange;
properties.forceOrientation = orientationProperties.forceOrientation;
return properties;
};

mraid.setOrientationProperties = function(properties) {
log.i("mraid.setOrientationProperties...");

if (!validate(properties, "setOrientationProperties")) {
log.e("validation failed!");
return;
}

var newOrientationProperties = {};


newOrientationProperties.allowOrientationChange =
orientationProperties.allowOrientationChange,
newOrientationProperties.forceOrientation =
orientationProperties.forceOrientation;

// orientationProperties contains 2 read-write properties:


allowOrientationChange and forceOrientation
var rwProps = [ "allowOrientationChange", "forceOrientation" ];
for (var i = 0; i < rwProps.length; i++) {
var propname = rwProps[i];
if (properties.hasOwnProperty(propname)) {
newOrientationProperties[propname] = properties[propname];
}
}

// setting allowOrientationChange to true while setting forceOrientation to


either portrait or landscape
// is considered an error condition.
if (newOrientationProperties.allowOrientationChange &&
newOrientationProperties.forceOrientation !==
mraid.DEVICE_ORIENTATIONS.NONE) {
var message = "allowOrientationChange is true but forceOrientation is "
+ newOrientationProperties.forceOrientation;
log.e(message);
broadcastEvent(EVENTS.ERROR, message, "setOrientationProperties");
return;
}

orientationProperties.allowOrientationChange =
newOrientationProperties.allowOrientationChange;
orientationProperties.forceOrientation =
newOrientationProperties.forceOrientation;

notifyNative("setOrientationProperties",
JSON.stringify(orientationProperties));
};

mraid.getCurrentAppOrientation = function() {
log.i("mraid.getCurrentAppOrientation");

var appOrientation = {};


appOrientation.orientation = currentAppOrientation.orientation;
appOrientation.locked = currentAppOrientation.locked;
return appOrientation;
};

mraid.getCurrentPosition = function() {
log.i("mraid.getCurrentPosition");

var position = {
"x": currentPosition.x,
"y": currentPosition.y,
"width": currentPosition.width,
"height": currentPosition.height
};
return position;
};

mraid.getDefaultPosition = function() {
log.i("mraid.getDefaultPosition");

var position = {
"x": defaultPosition.x,
"y": defaultPosition.y,
"width": defaultPosition.width,
"height": defaultPosition.height
};
return position;
};

mraid.getState = function() {
log.i("mraid.getState: " + state);
return state;
};

mraid.getExpandProperties = function() {
log.i("mraid.getExpandProperties");

var properties = {
"width" : expandProperties.width,
"height" : expandProperties.height,
"useCustomClose" : expandProperties.useCustomClose,
"isModal" : expandProperties.isModal
};
return properties;
};

mraid.setExpandProperties = function(properties) {
log.i("mraid.setExpandProperties");

if (!validate(properties, "setExpandProperties")) {
log.e("validation failed!");
return;
}

var oldUseCustomClose = expandProperties.useCustomClose;

// expandProperties contains 3 read-write properties: width, height, and


useCustomClose;
// the isModal property is read-only
var rwProps = [ "width", "height", "useCustomClose" ];
for (var i = 0; i < rwProps.length; i++) {
var propname = rwProps[i];
if (properties.hasOwnProperty(propname)) {
expandProperties[propname] = properties[propname];
}
}

// In MRAID v2.0, all expanded ads by definition cover the entire screen,
// so the only property that the native side has to know about is
useCustomClose.
// (That is, the width and height properties are not needed by the native
code.)
if (expandProperties.useCustomClose !== oldUseCustomClose) {
mraid.useCustomClose(properties.useCustomClose);
}
};

mraid.getMaxSize = function() {
log.i("mraid.getMaxSize: " + maxSize.width + " x " + maxSize.height);

var size = {};


size.width = maxSize.width;
size.height = maxSize.height;
return size;
};
mraid.getScreenSize = function() {
log.i("mraid.getScreenSize: " + screenSize.width + " x " +
screenSize.height);

var size = {};


size.width = screenSize.width;
size.height = screenSize.height;
return size;
};

mraid.getResizeProperties = function() {
log.i("mraid.getResizeProperties");

var properties = {
"width" : resizeProperties.width,
"height" : resizeProperties.height,
"offsetX" : resizeProperties.offsetX,
"offsetY" : resizeProperties.offsetY,
"customClosePosition" : resizeProperties.customClosePosition,
"allowOffscreen" : resizeProperties.allowOffscreen
};
return properties;
};

mraid.setResizeProperties = function(properties) {
log.i("mraid.setResizeProperties");

isResizeReady = false;

// resizeProperties contains 6 read-write properties:


// width, height, offsetX, offsetY, customClosePosition, allowOffscreen

// The properties object passed into this function must contain width,
height, offsetX, offsetY.
// The remaining two properties are optional.
var rwProps = [ "width", "height", "offsetX", "offsetY" ];
for (var i = 0; i < rwProps.length; i++) {
var propname = rwProps[i];
if (!properties.hasOwnProperty(propname)) {
var message = "required property " + propname + " is missing";
log.e(message);
broadcastEvent(EVENTS.ERROR, message, "setResizeProperties");
return;
}
}

if (!validate(properties, "setResizeProperties")) {
log.e("validation failed!");
return;
}

var adjustments = { "x": 0, "y": 0 };

var allowOffscreen = properties.hasOwnProperty("allowOffscreen")


? properties.allowOffscreen
: resizeProperties.allowOffscreen;

if (!allowOffscreen) {
if (properties.width > maxSize.width || properties.height >
maxSize.height) {
var message = "Resize width or height is greater than the maxSize
width or height!";
log.e(message);
broadcastEvent(EVENTS.ERROR, message, "setResizeProperties");
return;
}
adjustments = resizeUtil.fitResizeViewOnScreen(properties);
} else if (!resizeUtil.isCloseRegionOnScreen(properties)) {
var message = "Close event region will not appear entirely onscreen!";
log.e(message);
broadcastEvent(EVENTS.ERROR, message, "setResizeProperties");
return;
}

var desiredProperties = ['width', 'height', 'offsetX', 'offsetY',


'customClosePosition', 'allowOffscreen'];
for (var i = 0; i < desiredProperties.length; i++) {
var propname = desiredProperties[i];
if (properties.hasOwnProperty(propname)) {
resizeProperties[propname] = properties[propname];
}
}

var params = {
"width" : resizeProperties.width,
"height" : resizeProperties.height,
"offsetX" : resizeProperties.offsetX + adjustments.x,
"offsetY" : resizeProperties.offsetY + adjustments.y,
"customClosePosition" : resizeProperties.customClosePosition,
"allowOffscreen" : resizeProperties.allowOffscreen
};

notifyNative("setResizeProperties", JSON.stringify(params));

isResizeReady = true;
};

mraid.getLocation = function() {
if (!validate(locationData, "locationData")) {
log.e("invalid location data!");
return -1;
}

// ensure service or provider used to determine geolocation from IP address


(i.e., type = 2)
if (locationData.type == 2 && !ipservice) {
log.e("invalid location data!");
broadcastEvent(EVENTS.ERROR, "invalid location data!", "getLocation");
log.e("invalid location data!");
return -1;
}

var data = {
"lat" : locationData.lat,
"lon" : locationData.lon,
"type" : locationData.type,
"accuracy" : locationData.accuracy,
"lastfix" : locationData.lastfix,
"ipservice" : locationData.ipservice
};
return data;
};

/**
* mraid methods
**/
mraid.getVersion = function() {
log.i("mraid.getVersion: " + VERSION);
return VERSION;
};

mraid.addEventListener = function(event, listener) {


log.i("mraid.addEventListener for event: " + event);

if (!event || !listener) {
broadcastEvent(EVENTS.ERROR, "Both event and listener are required.",
"addEventListener");
return;
}

if (!contains(event, EVENTS)) {
broadcastEvent(EVENTS.ERROR, "Unknown MRAID event: " + event,
"addEventListener");
return;
}

if (!eventListeners[event]) {
eventListeners[event] = new EventListeners(event);
}
eventListeners[event].add(listener);
};

mraid.removeEventListener = function(event, listener) {


log.i("mraid.removeEventListener for event: " + event);

if (!event) {
broadcastEvent(EVENTS.ERROR, "Event is required.",
"removeEventListener");
return;
}

if (!contains(event, EVENTS)) {
broadcastEvent(EVENTS.ERROR, "Unknown MRAID event: " + event,
"removeEventListener");
return;
}

if (eventListeners[event]) {
if (!listener) {
eventListeners[event].removeAll();
} else if (!eventListeners[event].remove(listener)) {
broadcastEvent(EVENTS.ERROR, "Listener not currently registered for
event.", "removeEventListener");
}
}
if (eventListeners[event] && eventListeners[event].count === 0) {
eventListeners[event] = null;
delete eventListeners[event];
}
};

mraid.open = function(url) {
log.i("mraid.open: " + url);

if (!url) {
broadcastEvent(EVENTS.ERROR, "Invalid URL: " + url, "open");
return;
}

// a cheap hack to ensure whether the url is encoded or not,


// if its not encoded, make sure to "double encode" as the sdk does a
double decode
if (url.includes("&")) {
//url = url.replace("&", "%26")
url = encodeURIComponent(url);
}

notifyNative("open", url);
};

mraid.close = function() {
log.i("mraid.close");

if (state === STATES.HIDDEN) {


broadcastEvent(EVENTS.ERROR, "Ad cannot be closed when it is already
hidden.", "close");
return;
}

notifyNative("close");
};

mraid.unload = function() {
log.i("mraid.unload");
notifyNative("unload");
};

mraid.useCustomClose = function(shouldUseCustomClose) {
log.i("mraid.useCustomClose: " + shouldUseCustomClose);

expandProperties.useCustomClose = shouldUseCustomClose;
notifyNative("useCustomClose", shouldUseCustomClose);
};

mraid.expand = function(url) {
log.i("mraid.expand: " + (url === undefined) ? "(1-part)" : url);

// The only time it is valid to call expand is when the ad is


// a banner currently in either default or resized state.
if (placementType !== PLACEMENT_TYPE.INLINE ||
(state !== STATES.DEFAULT && state !== STAES.RESIZED)) {
broadcastEvent(EVENTS.ERROR, "Ad can only be expanded from the default
or resized state.", "expand");
return;
}

notifyNative("expand", (url === undefined) ? "" : url);


};

mraid.isViewable = function() {
log.i("mraid.isViewable");
return isViewable;
};

mraid.playVideo = function(uri) {
log.i("mraid.playVideo: " + uri);

// TODO: consider exposure change event too


if (!mraid.isViewable()) {
broadcastEvent(EVENTS.ERROR, "playVideo cannot be called until the ad
is viewable", "playVideo");
return;
}

if (!uri) {
broadcastEvent(EVENTS.ERROR, "Invalid URI: " + uri, "playVideo");
return;
}

notifyNative("playVideo", uri);
};

mraid.resize = function() {
log.i("mraid.resize");

// The only time it is valid to call resize is when the ad is


// a banner currently in either default or resized state.
// Trigger an error if the current state is expanded.
if (placementType === PLACEMENT_TYPE.INTERSTITIAL || state ===
STATES.LOADING || state === STATES.HIDDEN) {
// do nothing
return;
}
if (state === STATES.EXPANDED) {
broadcastEvent(EVENTS.ERROR, "Ad cannot be resized when in expanded
state.", "resize");
return;
}
if (!isResizeReady) {
broadcastEvent(EVENTS.ERROR, "Ad is not ready for resizing.",
"resize");
return;
}

notifyNative("resize", JSON.stringify(resizeProperties));
};

mraid.storePicture = function(uri) {
log.i("mraid.storePicture: " + uri);

if (!mraid.supports(mraid.SUPPORTED_FEATURES.STOREPICTURE)) {
broadcastEvent(EVENTS.ERROR, "storePicture is not supported",
"storePicture");
return;
}

// TODO: consider exposure change event too


if (!mraid.isViewable()) {
broadcastEvent(EVENTS.ERROR, "storePicture cannot be called until the
ad is viewable", "storePicture");
return;
}

if (!uri) {
broadcastEvent(EVENTS.ERROR, "Invalid URI: " + uri, "storePicture");
return;
}

notifyNative("storePicture", uri);
};

mraid.createCalendarEvent = function(parameters) {
log.i("mraid.createCalendarEvent");

if (!mraid.supports(mraid.SUPPORTED_FEATURES.CALENDAR)) {
broadcastEvent(EVENTS.ERROR, "createCalendarEvent is not supported",
"createCalendarEvent");
return;
}

notifyNative("createCalendarEvent", JSON.stringify(parameters));
};

/**
* event dispatchers
**/
mraid.fireErrorEvent = function(message, action) {
broadcastEvent(EVENTS.ERROR, message, action);
};

mraid.fireReadyEvent = function() {
broadcastEvent(EVENTS.READY);
};

mraid.fireSizeChangeEvent = function(width, height) {


screenSize.width = width;
screenSize.height = height;
broadcastEvent(EVENTS.SIZECHANGE, width, height);
};

mraid.fireStateChangeEvent = function(newState) {
if (state !== newState) {
state = newState;
broadcastEvent(EVENTS.STATECHANGE, state);
}
};

mraid.fireViewableChangeEvent = function(newIsViewable) {
if (isViewable !== newIsViewable) {
isViewable = newIsViewable;
broadcastEvent(EVENTS.VIEWABLECHANGE, isViewable);
}
};

mraid.fireExposureChangeEvent = function(exposedPercentage, visibleRectangle,


occlusionRectangles) {
exposureProperties.exposedPercentage = exposedPercentage;
exposureProperties.visibleRectangle = visibleRectangle;
exposureProperties.occlusionRectangles = occlusionRectangles;
broadcastEvent(EVENTS.EXPOSURECHANGE, exposedPercentage, visibleRectangle,
occlusionRectangles);
};

mraid.fireAudioVolumeChangeEvent = function(percentage) {
if (volumePercentage !== percentage) {
volumePercentage = volumePercentage;
broadcastEvent(EVENTS.AUDIOVOLUMECHANGE, percentage);
}
};

// TODO: VPAID

log.i("mraid object is ready!");


} ());

/**
* pokkt extended featuers
**/
(function() {
log.i("setting up: mraid-extensions...");

var mraid = window.mraid;

if (!mraid || mraid === undefined) {


log.e("error initializing pokkt's extended features!");
return;
}

/**
* pokkt specific constants
**/
var NETWORK = mraid.NETWORK = {
OFFLINE :'offline',
WIFI :'wifi',
CELL :'cell',
UNKNOWN :'unknown'
};

mraid.SUPPORTED_FEATURES.AUDIO = "audio";
mraid.SUPPORTED_FEATURES.CAMERA = "camera";
mraid.SUPPORTED_FEATURES.NETWORK = "network";
mraid.SUPPORTED_FEATURES.SHAKE = "shake";
mraid.SUPPORTED_FEATURES.TILT = "tilt";
mraid.SUPPORTED_FEATURES.HEADING = "heading";
mraid.SUPPORTED_FEATURES.ORIENTATION = "orientation";
mraid.SUPPORTED_FEATURES.MAP = "map";

mraid.EVENTS.SHAKE = "shake";
mraid.EVENTS.TILTCHANGE = "tiltChange";
mraid.EVENTS.HEADINGCHANGE = "headingChange";
mraid.EVENTS.LOCATIONCHANGE = "locationChange";
mraid.EVENTS.NETWORKCHANGE = "networkChange";
mraid.EVENTS.KEYBOARDSTATECHANGE = "keyboardStateChange";

/**
* pokkt specific states
**/
var shakeProperties = {
"interval" : 0,
"intensity" : 0
};

var tiltProperties = {
"interval" : 0,
"intensity" : 0
};

var headingProperties = {
"interval" : 0,
"intensity" : 0
};

var tiltValues = {
"x" : 0,
"y" : 0,
"z" : 0
};

var headingValue = 0;
var currentNetwork = "";
var currentKeyboardState = 0;

/**
* pokkt specific validators
**/
mraidUtils.allValidators.setShakeProperties =
mraidUtils.allValidators.setTiltProperties =
mraidUtils.allValidators.setHeadingProperties = {
"intensity":function(value) { return !isNaN(value); },
"interval":function(value) { return !isNaN(value); }
};

mraidUtils.allValidators.setTilt = {
"x":function(value) { return !isNaN(value); },
"y":function(value) { return !isNaN(value); },
"z":function(value) { return !isNaN(value); }
};

/**
* pokkt's extended properties
**/
mraid.setShakeProperties = function(properties) {
log.i("mraid.setShakeProperties: " + properties);
if (!mraidUtils.validate(properties, "setShakeProperties")) {
log.e("validation failed!");
return;
}

shakeProperties = properties;
mraidBridge.notifyNative("setShakeProperties", JSON.stringify(properties));
};

mraid.getShakeProperties = function() {
log.i("mraid.getShakeProperties");

var properties = {};


properties.interval = shakeProperties.interval;
properties.intensity = shakeProperties.intensity;
return properties;
};

mraid.setTiltProperties = function(properties) {
log.i("mraid.setTiltProperties: " + properties);
if (!mraidUtils.validate(properties, "setTiltProperties")) {
log.e("validation failed!");
return;
}

tiltProperties = properties;
mraidBridge.notifyNative("setTiltProperties", JSON.stringify(properties));
};

mraid.getTiltProperties = function() {
log.i("mraid.getTiltProperties");

var properties = {};


properties.interval = tiltProperties.interval;
properties.intensity = tiltProperties.intensity;
return properties;
}

mraid.setHeadingProperties = function(properties) {
log.i("mraid.setHeadingProperties: " + properties);
if (!mraidUtils.validate(properties, "setHeadingProperties")) {
log.e("validation failed!");
return;
}

headingProperties = properties;
mraidBridge.notifyNative("setHeadingProperties",
JSON.stringify(properties));
};

mraid.getHeadingProperties = function() {
log.i("mraid.getHeadingProperties");

var properties = {};


properties.interval = headingProperties.interval;
properties.intensity = headingProperties.intensity;
return properties;
};

mraid.getTilt = function () {
log.i("mraid.getTilt");

var values = {};


values.x = tiltValues.x;
values.y = tiltValues.y;
values.z = tiltValues.z;
return values;
};

mraid.setTilt = function (newValue) {


log.i("mraid.setTilt: " + newValue);
if (!mraidUtils.validate(newValue, "setTilt")) {
log.e("validation failed!");
return;
}

tiltValues = newValue;
};

mraid.getNetwork = function () {
log.i("mraid.getNetwork");
return currentNetwork;
};

mraid.setNetwork = function (newValue) {


log.i("mraid.setNetwork: " + newValue);
currentNetwork = newValue;
};

mraid.getHeading = function () {
log.i("mraid.getHeading");
return headingValue;
};

mraid.setHeading = function (newValue) {


log.i("mraid.setHeading: " + newValue);
headingValue = newValue;
};

mraid.getKeyboardState = function () {
log.i("mraid.getKeyboardState");
return currentKeyboardState;
}

mraid.setKeyboardState = function (newValue) {


log.i("mraid.setKeyboardState: " + newValue);
currentKeyboardState = newValue;
}

/**
* extended methods
**/
mraid.playAudio = function(url) {
log.i("mraid.playAudio " + url);
if (!mraid.supports(mraid.SUPPORTED_FEATURES.AUDIO)) {
mraidUtils.broadcastEvent(mraid.EVENTS.ERROR, "playAudio is not
supported", "playAudio");
return;
}

mraidBridge.notifyNative("playAudio", url);
};

mraid.openCamera = function () {
log.i("mraid.openCamera");

if (!mraid.supports(mraid.SUPPORTED_FEATURES.CAMERA)) {
mraidUtils.broadcastEvent(mraid.EVENTS.ERROR, "openCamera is not
supported", "openCamera");
return;
}

mraidBridge.notifyNative("openCamera");
}

/**
* event dispatchers
**/
mraid.fireShakeEvent = function() {
log.i("mraid.fireShakeEvent");
mraidUtils.broadcastEvent(mraid.EVENTS.SHAKE);
}

mraid.fireTiltChangeEvent = function(x, y, z) {
log.i("mraid.fireTiltChangeEvent, x: " + x + " y: " + y + " z: " + z);
tiltValues.x = x;
tiltValues.y = y;
tiltValues.z = z;
mraidUtils.broadcastEvent(mraid.EVENTS.TILTCHANGE, x, y, z);
}

mraid.fireLocationChangeEvent = function(lat, lon, type, accuracy, lastfix,


ipservice) {
log.i("mraid.fireLocationChangeEvent, lat: " + lat + " lon: " + lon + "
type: " + type +
" accuracy: " + accuracy + " lastfix: " + lastfix +
" ipservice: " + ipservice);

mraidBridge.setLocation(lat, lon, type, accuracy, lastfix, ipservice);

mraidUtils.broadcastEvent(mraid.EVENTS.LOCATIONCHANGE, lat, lon, type,


accuracy, lastfix, ipservice);
}

mraid.fireHeadingChangeEvent = function(val) {
log.i("mraid.fireHeadingChangeEvent, val: " + val);
if (headingValue != val) {
headingValue = val;
mraidUtils.broadcastEvent(mraid.EVENTS.HEADINGCHANGE, val);
}
}
mraid.fireNetworkChangeEvent = function(network) {
log.d("mraid.fireNetworkChangeEvent: " + network);
if (currentNetwork != network) {
currentNetwork = network;
mraidUtils.broadcastEvent(mraid.EVENTS.NETWORKCHANGE, network);
}
}

mraid.fireKeyboardStateChangeEvent = function(state) {
log.d("mraid.fireKeyboardStateChangeEvent: " + state);
if (currentKeyboardState !== state) {
currentKeyboardState = state;
mraidUtils.broadcastEvent(mraid.EVENTS.KEYBOARDSTATECHANGE, state);
}
}

log.i("mraid extensions are ready!");


} ());

1556473550552 com.nazara.tinylabproductions.oggy caching timeout timer cancelled!

1556473550554 com.nazara.tinylabproductions.oggy error with ad-network:


POKKT_VIDEO, error: failed to get ad with rewarded ad, ad-format: VIDEO, screen-
name: screen! Error Code 19 : No Campaign Available Vast Error 303

1556473550557 com.nazara.tinylabproductions.oggy saving session-details...

1556473550563 com.nazara.tinylabproductions.oggy release caching lock

1556473550565 com.nazara.tinylabproductions.oggy release caching lock on:


screen_true_VIDEO

1556473550623 com.nazara.tinylabproductions.oggy t response:


{"status":1,"message":"success","response":{}}

1556473550664 com.nazara.tinylabproductions.oggy removing session with id:


80f6f020-d11f-42a7-adbb-24b7e5c9cadd

1556473550665 com.nazara.tinylabproductions.oggy saving session-details...

Das könnte Ihnen auch gefallen