LVDOAdSize adSize = new LVDOAdSize(300, 250); preRollVideoAd.loadAd(adRequest,apiKey, adSize, AdListActivity.this, isMainContentFullscreen); Where, adRequest = Request for targeting parameters apiKey = ID for your app - Please contact Vdopia for this adSize = LVDOAdSize(adSize for preroll Ad) AdListActivity.this = PrerollAdListener isMainContentFullscreen = Boolean to show the main content in full screen or not
Please contact Vdopia to obtain your API key. You can contact us at sdk-support@vdopia.com