Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 75

1553494707270 com.nazara.tinylabproductions.

oggy starting to cache rewarded ad,


ad-format: VIDEO, screen-name: screen

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

1553494707286 com.nazara.tinylabproductions.oggy checking permissions...

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


requesting...

1553494707293 com.nazara.tinylabproductions.oggy initialising Google Play


services...

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


0

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


getAdvertisingIdThread 2 ::

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


Info {379fa7ad-dfc2-4626-a7d7-adde02849b61}false

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


adinfo

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

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

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

1553494707357 com.nazara.tinylabproductions.oggy no existing session found!

1553494707358 com.nazara.tinylabproductions.oggy creating new session details...

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

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

1553494707366 com.nazara.tinylabproductions.oggy onProviderDisablednetwork

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


execute!

1553494707414 com.nazara.tinylabproductions.oggy executing c...

1553494707428 com.nazara.tinylabproductions.oggy hashKey id 94f5fbb9-def3-4260-


a871-646b0b8a8ea3155349470742122d09d9c8535860dbe79c66456b12c9f

1553494707430 com.nazara.tinylabproductions.oggy md5_token id


f1cabf655d101b47a7ba4a878527edd5

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

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


https://vdo.pokkt.com/api/AdNetworksV2?
token=f1cabf655d101b47a7ba4a878527edd5&timestamp=1553494707421&udid=94f5fbb9-def3-
4260-a871-
646b0b8a8ea3&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=379fa7ad-dfc2-4626-a7d7-
adde02849b61&limitedTracking=false&androidID=&mac_address=&device_type=Phone&mobile
_no=&email_address=&connection_type=4G&screen_density_x=435.428&screen_density_y=43
2.179&sheight=1080&swidth=2190&carrier_name=Jio+4G&screen_density_category=XXHDPI&d
evice_model=HUAWEI+LLD-
AL20&language=en&maturity_rating=&opt_userid=8938d845145fa4e6&name=&age=&sex=&locat
ion=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=
&lat=&long=&address=&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359&gdpr_applicable=false&gdpr_consent=true

1553494708428 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=379fa7ad-dfc2-
4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Jio+4G&d
evice_model=HUAWEI+LLD-
AL20&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_
n=&ip=49.35.27.102&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+LLD-AL20+Build%2FHONORLLD-
AL20%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SD
K_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_d
ensity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_dens
ity_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&as
set_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_N
AME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITA
L_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK
_TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[
SDK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incen
t=[SDK_INCENT]&preroll=[SDK_PRE_ROLL]&udid=[SDK_UD_ID]&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"}},{"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=379fa7ad-dfc2-
4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Jio+4G&d
evice_model=HUAWEI+LLD-
AL20&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_
n=&ip=49.35.27.102&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+LLD-AL20+Build%2FHONORLLD-
AL20%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SD
K_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_d
ensity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_dens
ity_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&as
set_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_N
AME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITA
L_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK
_TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[
SDK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incen
t=[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_GDP
R_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=379fa7ad-dfc2-
4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Jio+4G&d
evice_model=HUAWEI+LLD-
AL20&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_
n=&ip=49.35.27.102&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+LLD-AL20+Build%2FHONORLLD-
AL20%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SD
K_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_d
ensity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_dens
ity_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&as
set_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_N
AME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITA
L_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK
_TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[
SDK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incen
t=[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_GDP
R_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&ars=[SDK_ARS]","network_type":3,"cust
om_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=379fa7ad-dfc2-
4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Jio+4G&d
evice_model=HUAWEI+LLD-
AL20&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_
n=&ip=49.35.27.102&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+LLD-AL20+Build%2FHONORLLD-
AL20%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SD
K_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_d
ensity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_dens
ity_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&as
set_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_N
AME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITA
L_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK
_TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[
SDK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incen
t=[SDK_INCENT]&udid=[SDK_UD_ID]&iga_type=[SDK_IGA_TYPE]&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_typ
e":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=379fa7ad-dfc2-4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=4G&screen_density_x=435.428&screen_density_y=432.179&sheight=1080.0&swi
dth=2190.0&carrier_name=Jio+4G&screen_density_category=XXHDPI&device_model=HUAWEI+L
LD-
AL20&language=en&maturity_rating=&opt_userid=8938d845145fa4e6&name=&age=&sex=&locat
ion=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=
&lat=0.0&long=0.0&address=&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359"},"iga_tracker
":
{"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=3
79fa7ad-dfc2-4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=4G&screen_density_x=435.428&screen_density_y=432.179&sheight=1080.0&swi
dth=2190.0&carrier_name=Jio+4G&screen_density_category=XXHDPI&device_model=HUAWEI+L
LD-
AL20&language=en&maturity_rating=&opt_userid=8938d845145fa4e6&name=&age=&sex=&locat
ion=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=
&lat=0.0&long=0.0&address=&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359"},"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=
379fa7ad-dfc2-4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=4G&screen_density_x=435.428&screen_density_y=432.179&sheight=1080.0&swi
dth=2190.0&carrier_name=Jio+4G&screen_density_category=XXHDPI&device_model=HUAWEI+L
LD-
AL20&language=en&maturity_rating=&opt_userid=8938d845145fa4e6&name=&age=&sex=&locat
ion=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=
&lat=0.0&long=0.0&address=&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359"},"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=379fa7ad-
dfc2-4626-a7d7-adde02849b61&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=379fa7ad-dfc2-4626-a7d7-
adde02849b61&androidID=&device_type=Phone&connection_type=4G&screen_density_x=435.4
28&screen_density_y=432.179&sheight=1080.0&swidth=2190.0&carrier_name=Jio+4G&screen
_density_category=XXHDPI&device_model=HUAWEI+LLD-
AL20&language=en&opt_userid=8938d845145fa4e6&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359"},"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=379fa7ad-dfc2-4626-
a7d7-
adde02849b61&androidID=&device_type=Phone&connection_type=4G&screen_density_x=435.4
28&screen_density_y=432.179&sheight=1080.0&swidth=2190.0&carrier_name=Jio+4G&screen
_density_category=XXHDPI&device_model=HUAWEI+LLD-
AL20&language=en&opt_userid=8938d845145fa4e6&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359&ip=49.35.27.102"},"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=379fa7ad-dfc2-4626-
a7d7-
adde02849b61&androidID=&device_type=Phone&connection_type=4G&screen_density_x=435.4
28&screen_density_y=432.179&sheight=1080.0&swidth=2190.0&carrier_name=Jio+4G&screen
_density_category=XXHDPI&device_model=HUAWEI+LLD-
AL20&language=en&opt_userid=8938d845145fa4e6&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359"},"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=379fa7ad-dfc2-4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=4G&screen_density_x=435.428&screen_density_y=432.179&sheight=1080.0&swi
dth=2190.0&carrier_name=Jio+4G&screen_density_category=XXHDPI&device_model=HUAWEI+L
LD-
AL20&language=en&maturity_rating=&opt_userid=8938d845145fa4e6&name=&age=&sex=&locat
ion=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=
&lat=0.0&long=0.0&address=&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359"},"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=379fa7ad-dfc2-4626-a7d7-
adde02849b61&androidID=&device_type=Phone&connection_type=4G&screen_density_x=435.4
28&screen_density_y=432.179&sheight=1080.0&swidth=2190.0&carrier_name=Jio+4G&screen
_density_category=XXHDPI&device_model=HUAWEI+LLD-
AL20&language=en&opt_userid=8938d845145fa4e6&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359"},"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=379fa7ad-dfc2-4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=4G&screen_density_x=435.428&screen_density_y=432.179&sheight=1080.0&swi
dth=2190.0&carrier_name=Jio+4G&screen_density_category=XXHDPI&device_model=HUAWEI+L
LD-
AL20&language=en&maturity_rating=&opt_userid=8938d845145fa4e6&name=&age=&sex=&locat
ion=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=
&lat=0.0&long=0.0&address=&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359&ip=49.35.27.102"},"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=379fa7ad-dfc2-
4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=4G&screen_density_x=435.428&screen_density_y=432.179&sheight=1080.0&swi
dth=2190.0&carrier_name=Jio+4G&screen_density_category=XXHDPI&device_model=HUAWEI+L
LD-
AL20&language=en&maturity_rating=&opt_userid=8938d845145fa4e6&name=&age=&sex=&locat
ion=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=
&lat=0.0&long=0.0&address=&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359&ip=49.35.27.102"},"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=379fa7ad-dfc2-4626-a7d7-
adde02849b61&androidID=&device_type=Phone&connection_type=4G&screen_density_x=435.4
28&screen_density_y=432.179&sheight=1080.0&swidth=2190.0&carrier_name=Jio+4G&screen
_density_category=XXHDPI&device_model=HUAWEI+LLD-
AL20&language=en&opt_userid=8938d845145fa4e6&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359&ip=49.35.27.102","refresh_rate_in_days":4}}}

1553494708431 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=379fa7ad-dfc2-
4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Jio+4G&d
evice_model=HUAWEI+LLD-
AL20&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_
n=&ip=49.35.27.102&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+LLD-AL20+Build%2FHONORLLD-
AL20%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SD
K_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_d
ensity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_dens
ity_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&as
set_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_N
AME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITA
L_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK
_TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[
SDK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incen
t=[SDK_INCENT]&preroll=[SDK_PRE_ROLL]&udid=[SDK_UD_ID]&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"}},{"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=379fa7ad-dfc2-
4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Jio+4G&d
evice_model=HUAWEI+LLD-
AL20&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_
n=&ip=49.35.27.102&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+LLD-AL20+Build%2FHONORLLD-
AL20%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SD
K_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_d
ensity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_dens
ity_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&as
set_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_N
AME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITA
L_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK
_TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[
SDK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incen
t=[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_GDP
R_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=379fa7ad-dfc2-
4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Jio+4G&d
evice_model=HUAWEI+LLD-
AL20&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_
n=&ip=49.35.27.102&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+LLD-AL20+Build%2FHONORLLD-
AL20%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SD
K_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_d
ensity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_dens
ity_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&as
set_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_N
AME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITA
L_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK
_TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[
SDK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incen
t=[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_GDP
R_APPLICABLE]&gdpr_consent=[SDK_GDPR_CONSENT]&ars=[SDK_ARS]","network_type":3,"cust
om_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=379fa7ad-dfc2-
4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&connection_type=[SDK_CONNECTIO
N_TYPE]&swidth=[SDK_SCREEN_WIDTH]&sheight=[SDK_SCREEN_HEIGHT]&carrier_name=Jio+4G&d
evice_model=HUAWEI+LLD-
AL20&language=en&opt_userid=[SDK_OPT_USER_ID]&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_
n=&ip=49.35.27.102&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+LLD-AL20+Build%2FHONORLLD-
AL20%29&timestamp=[SDK_TIMESTAMP]&page=[SDK_PAGE]&token=[SDK_TOKEN]&mac_address=[SD
K_MAC_ADDRESS]&mobile_no=[SDK_MOBILE_NO]&email_address=[SDK_EMAIL_ADDRESS]&screen_d
ensity_x=[SDK_SCREEN_DENSITY_X]&screen_density_y=[SDK_SCREEN_DENSITY_Y]&screen_dens
ity_category=[SDK_SCREEN_DENSITY_CATEGORY]&maturity_rating=[SDK_MATURITY_RATING]&as
set_value=[SDK_ASSET_VALUE]&pub_meta=[SDK_PUB_META]&source=[SDK_SOURCE]&name=[SDK_N
AME]&age=[SDK_AGE]&sex=[SDK_SEX]&location=[SDK_LOCATION]&marital_status=[SDK_MARITA
L_STATUS]&birthday=[SDK_BIRTHDAY]&facebook_id=[SDK_FACEBOOK_ID]&twitter_handle=[SDK
_TWITTER_HANDLE]&education=[SDK_EDUCATION]&nationality=[SDK_NATIONALITY]&latitude=[
SDK_LAT]&longitude=[SDK_LON]&address=[SDK_ADDRESS]&sessionId=[SDK_SESSION_ID]&incen
t=[SDK_INCENT]&udid=[SDK_UD_ID]&iga_type=[SDK_IGA_TYPE]&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_typ
e":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=379fa7ad-dfc2-4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=4G&screen_density_x=435.428&screen_density_y=432.179&sheight=1080.0&swi
dth=2190.0&carrier_name=Jio+4G&screen_density_category=XXHDPI&device_model=HUAWEI+L
LD-
AL20&language=en&maturity_rating=&opt_userid=8938d845145fa4e6&name=&age=&sex=&locat
ion=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=
&lat=0.0&long=0.0&address=&sessionId=a695b779-730e-4fa5-a18f-ab81dce55359"},"iga
_tracker":
{"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=3
79fa7ad-dfc2-4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=4G&screen_density_x=435.428&screen_density_y=432.179&sheight=1080.0&swi
dth=2190.0&carrier_name=Jio+4G&screen_density_category=XXHDPI&device_model=HUAWEI+L
LD-
AL20&language=en&maturity_rating=&opt_userid=8938d845145fa4e6&name=&age=&sex=&locat
ion=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=
&lat=0.0&long=0.0&address=&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359"},"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=
379fa7ad-dfc2-4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=4G&screen_density_x=435.428&screen_density_y=432.179&sheight=1080.0&swi
dth=2190.0&carrier_name=Jio+4G&screen_density_category=XXHDPI&device_model=HUAWEI+L
LD-
AL20&language=en&maturity_rating=&opt_userid=8938d845145fa4e6&name=&age=&sex=&locat
ion=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=
&lat=0.0&long=0.0&address=&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359"},"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=379fa7ad-
dfc2-4626-a7d7-adde02849b61&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=379fa7ad-dfc2-4626-a7d7-
adde02849b61&androidID=&device_type=Phone&connection_type=4G&screen_density_x=435.4
28&screen_density_y=432.179&sheight=1080.0&swidth=2190.0&carrier_name=Jio+4G&screen
_density_category=XXHDPI&device_model=HUAWEI+LLD-
AL20&language=en&opt_userid=8938d845145fa4e6&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359"},"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=379fa7ad-dfc2-4626-
a7d7-
adde02849b61&androidID=&device_type=Phone&connection_type=4G&screen_density_x=435.4
28&screen_density_y=432.179&sheight=1080.0&swidth=2190.0&carrier_name=Jio+4G&screen
_density_category=XXHDPI&device_model=HUAWEI+LLD-
AL20&language=en&opt_userid=8938d845145fa4e6&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359&ip=49.35.27.102"},"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=379fa7ad-dfc2-4626-
a7d7-
adde02849b61&androidID=&device_type=Phone&connection_type=4G&screen_density_x=435.4
28&screen_density_y=432.179&sheight=1080.0&swidth=2190.0&carrier_name=Jio+4G&screen
_density_category=XXHDPI&device_model=HUAWEI+LLD-
AL20&language=en&opt_userid=8938d845145fa4e6&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359"},"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=379fa7ad-dfc2-4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=4G&screen_density_x=435.428&screen_density_y=432.179&sheight=1080.0&swi
dth=2190.0&carrier_name=Jio+4G&screen_density_category=XXHDPI&device_model=HUAWEI+L
LD-
AL20&language=en&maturity_rating=&opt_userid=8938d845145fa4e6&name=&age=&sex=&locat
ion=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=
&lat=0.0&long=0.0&address=&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359"},"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=379fa7ad-dfc2-4626-a7d7-
adde02849b61&androidID=&device_type=Phone&connection_type=4G&screen_density_x=435.4
28&screen_density_y=432.179&sheight=1080.0&swidth=2190.0&carrier_name=Jio+4G&screen
_density_category=XXHDPI&device_model=HUAWEI+LLD-
AL20&language=en&opt_userid=8938d845145fa4e6&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359"},"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=379fa7ad-dfc2-4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=4G&screen_density_x=435.428&screen_density_y=432.179&sheight=1080.0&swi
dth=2190.0&carrier_name=Jio+4G&screen_density_category=XXHDPI&device_model=HUAWEI+L
LD-
AL20&language=en&maturity_rating=&opt_userid=8938d845145fa4e6&name=&age=&sex=&locat
ion=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=
&lat=0.0&long=0.0&address=&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359&ip=49.35.27.102"},"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=379fa7ad-dfc2-
4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=4G&screen_density_x=435.428&screen_density_y=432.179&sheight=1080.0&swi
dth=2190.0&carrier_name=Jio+4G&screen_density_category=XXHDPI&device_model=HUAWEI+L
LD-
AL20&language=en&maturity_rating=&opt_userid=8938d845145fa4e6&name=&age=&sex=&locat
ion=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=
&lat=0.0&long=0.0&address=&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359&ip=49.35.27.102"},"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=379fa7ad-dfc2-4626-a7d7-
adde02849b61&androidID=&device_type=Phone&connection_type=4G&screen_density_x=435.4
28&screen_density_y=432.179&sheight=1080.0&swidth=2190.0&carrier_name=Jio+4G&screen
_density_category=XXHDPI&device_model=HUAWEI+LLD-
AL20&language=en&opt_userid=8938d845145fa4e6&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359&ip=49.35.27.102","refresh_rate_in_days":4}}}

1553494708438 com.nazara.tinylabproductions.oggy Network name POKKT_VIDEO

1553494708459 com.nazara.tinylabproductions.oggy Network name POKKT_BANNER

1553494708460 com.nazara.tinylabproductions.oggy Network name POKKT_INTERSTITIAL

1553494708461 com.nazara.tinylabproductions.oggy Network name POKKT_INGAME_BRANDING

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

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

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

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

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

1553494708470 com.nazara.tinylabproductions.oggy network created:


POKKT_INTERSTITIAL

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

1553494708472 com.nazara.tinylabproductions.oggy network created:


POKKT_INGAME_BRANDING

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


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

1553494708478 com.nazara.tinylabproductions.oggy acquiring caching lock

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


screen_true_VIDEO
1553494708482 com.nazara.tinylabproductions.oggy lock acquired rewarded ad, ad-
format: VIDEO, screen-name: screen!

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


mentioned adConfig

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


for mentioned adConfig

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


network: POKKT_VIDEO

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


network: POKKT_VIDEO

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


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

1553494708494 com.nazara.tinylabproductions.oggy category last get at :1553494708

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

1553494708497 com.nazara.tinylabproductions.oggy total sessions to send: 1

1553494708498 com.nazara.tinylabproductions.oggy Active Session

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

1553494708503 com.nazara.tinylabproductions.oggy executing f...

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


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

1553494708507 com.nazara.tinylabproductions.oggy executing f...

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


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

1553494708502 com.nazara.tinylabproductions.oggy executing f...

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


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

1553494708519 com.nazara.tinylabproductions.oggy executing f...

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


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

1553494709138 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>

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

1553494709154 com.nazara.tinylabproductions.oggy executing f...

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


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

1553494709355 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>

1553494709357 com.nazara.tinylabproductions.oggy executing f...

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

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


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

1553494709470 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);
1553494709472 com.nazara.tinylabproductions.oggy Successfully downloaded OM JS

1553494709473 com.nazara.tinylabproductions.oggy executing d...

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

1553494709491 com.nazara.tinylabproductions.oggy hashKey id 94f5fbb9-def3-4260-


a871-646b0b8a8ea3155349470949022d09d9c8535860dbe79c66456b12c9f

1553494709492 com.nazara.tinylabproductions.oggy md5_token id


efab42511cd7d2dd08b2da222bdb0362

1553494709532 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=379fa7ad-dfc2-4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&connection_type=4G&swidth=2190
&sheight=1080&carrier_name=Jio+4G&device_model=HUAWEI+LLD-
AL20&language=en&opt_userid=8938d845145fa4e6&ru=&uud=&uud_n=&uuw=&uuw_n=&uum=&uum_n
=&ip=49.35.27.102&appName=&app_storeurl=&ua=Dalvik%2F2.1.0+%28Linux%3B+U
%3B+Android+8.0.0%3B+LLD-AL20+Build%2FHONORLLD-
AL20%29&timestamp=1553494709490&page=1&token=efab42511cd7d2dd08b2da222bdb0362&mac_a
ddress=&mobile_no=&email_address=&screen_density_x=435.428&screen_density_y=432.179
&screen_density_category=XXHDPI&maturity_rating=&asset_value=&pub_meta=&source=&nam
e=&age=&sex=&location=&marital_status=&birthday=&facebook_id=&twitter_handle=&educa
tion=&nationality=&latitude=&longitude=&address=&sessionId=a695b779-730e-4fa5-a18f-
ab81dce55359&incent=1&preroll=1&udid=94f5fbb9-def3-4260-a871-
646b0b8a8ea3&battery_level=73&encodedPubParams=&vdo_pt=0&gdpr_applicable=false&gdpr
_consent=true

1553494709611 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>

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

1553494709669 com.nazara.tinylabproductions.oggy executing i...


1553494709670 com.nazara.tinylabproductions.oggy hashKey id 94f5fbb9-def3-4260-
a871-646b0b8a8ea3155349470966922d09d9c8535860dbe79c66456b12c9f

1553494709672 com.nazara.tinylabproductions.oggy md5_token id


cf8eb9d01568050090dc37db1b72e12a

1553494709686 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);

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

1553494709727 com.nazara.tinylabproductions.oggy i Request url:


https://vdo.pokkt.com/api/installTracker/trackV2?
timestamp=1553494709669&gdpr_applicable=false&gdpr_consent=true&udid=94f5fbb9-def3-
4260-a871-
646b0b8a8ea3&token=cf8eb9d01568050090dc37db1b72e12a&appId=511374ddba5daf16929850844
a9df59a&os_version=8.0.0&app_version=1.32&app_bundle_name=com.nazara.tinylabproduct
ions.oggy&sdk_version=7.4.0&advertisingID=379fa7ad-dfc2-4626-a7d7-
adde02849b61&limitedTracking=false&device_type=Phone&mobile_no=&email_address=&conn
ection_type=4G&screen_density_x=435.428&screen_density_y=432.179&sheight=1080.0&swi
dth=2190.0&carrier_name=Jio+4G&screen_density_category=XXHDPI&device_model=HUAWEI+L
LD-
AL20&language=en&maturity_rating=&opt_userid=8938d845145fa4e6&name=&age=&sex=&locat
ion=&marital_status=&birthday=&facebook_id=&twitter_handle=&education=&nationality=
&lat=0.0&long=0.0&address=&sessionId=a695b779-730e-4fa5-a18f-ab81dce55359
1553494709766 com.nazara.tinylabproductions.oggy d response: <?xml version="1.0"
encoding="UTF-8" ?><VAST version="2.0"></VAST>

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

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

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

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

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


Available Vast Error 303

1553494709880 com.nazara.tinylabproductions.oggy executing f...

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


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

1553494710020 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>

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

1553494710318 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!");


} ());

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

1553494710322 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

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

1553494710333 com.nazara.tinylabproductions.oggy release caching lock

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


screen_true_VIDEO
1553494710366 com.nazara.tinylabproductions.oggy i response:
{"status":1,"message":"success","response":{}}

1553494710371 com.nazara.tinylabproductions.oggy successfully notified app install!

You might also like