Native Ad
Declare NativeAd and MediaView class
NativeAd and MediaView classimport com.intowow.sdk.NativeAd;
import com.intowow.sdk.NativeAd.MediaView;
private final static String PLACEMENT_NAME = "Obtain from your Intowow account manager";
private NativeAd mNativeAd = null;
private MediaView mMediaView = null;Initialize NativeAd class
NativeAd classmNativeAd = new NativeAd(mActivity);Setup the RequestInfo
RequestInfo requestInfo = new RequestInfo();
requestInfo.setPlacement(PLACEMENT_NAME);
requestInfo.setTimeout(timeout);loadAdInstant
loadAdAsync
Add AdListener to get ad event callback.
AdListener to get ad event callback.Register ad
Release ad
Last updated