Document

Install

vn-native-2-admob --action=install

Params Description
action install | remove
iOS config

Banner

VnNativeCore.screen.admob.banner.config(options)
Banner events
VnNativeCore.screen.admob.banner.events.LOAD
VnNativeCore.screen.admob.banner.events.LOAD_FAIL
VnNativeCore.screen.admob.banner.events.OPEN
VnNativeCore.screen.admob.banner.events.CLOSE
VnNativeCore.screen.admob.banner.events.EXIT_APP

Params Description
id Ad Unit ID (String)
isTesting Receiving test ad ( true ? false )
autoShow Auto show ad when loaded ( true ? false )
Quick test

Interstitial

VnNativeCore.screen.admob.interstitial.config(options)
Banner events
VnNativeCore.screen.admob.interstitial.events.LOAD
VnNativeCore.screen.admob.interstitial.events.LOAD_FAIL
VnNativeCore.screen.admob.interstitial.events.OPEN
VnNativeCore.screen.admob.interstitial.events.CLOSE
VnNativeCore.screen.admob.interstitial.events.EXIT_APP

Params Description
id Ad Unit ID (String)
isTesting Receiving test ad ( true ? false )
autoShow Auto show ad when loaded ( true ? false )
Quick test

Reward Video

VnNativeCore.screen.admob.rewardvideo.config(options)
Banner events
VnNativeCore.screen.admob.rewardvideo.events.LOAD
VnNativeCore.screen.admob.rewardvideo.events.LOAD_FAIL
VnNativeCore.screen.admob.rewardvideo.events.OPEN
VnNativeCore.screen.admob.rewardvideo.events.CLOSE
VnNativeCore.screen.admob.rewardvideo.events.EXIT_APP
VnNativeCore.screen.admob.rewardvideo.events.START
VnNativeCore.screen.admob.rewardvideo.events.REWARD

Params Description
id Ad Unit ID (String)
isTesting Receiving test ad ( true ? false )
autoShow Auto show ad when loaded ( true ? false )
Quick test