You have to start the session as it follows (http://sdk.revmobmobileadnetwork.com/android.html#session):
public class YourMainActivity extends Activity {
private RevMob revmob;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// Starting RevMob session
revmob = RevMob.start(this); // RevMob App ID configured in the AndroidManifest.xml file
}
}
In your manifest file, insert your app ID:
<application>
<meta-data android:name="com.revmob.app.id" android:value="copy your RevMob App ID here"/>
</application>
And open the link ad unit using (http://sdk.revmobmobileadnetwork.com/android.html#link)
revmob.openAdLink(this, listener);
or pre-load it the way you did:
RevMobLink link = revmob.createAdLink(this, listener);
and open it after:
link.open();