Admod ad in scrollview?

pjsmith

Member
Licensed User
Longtime User
Hi,

Is it possible to add a display advert using the addmob library to a scrollview?

I tried

Dim AdView1 As AdView
AdView1.Initialize("Ad", "a14xxxxx5f4")
AdView1.LoadAd
pnl.AddView(AdView1, 0dip, PanelTop+60dip, 320dip, 50dip)

But apart from once getting a red box with an error in it (needed to update api), I can't actually get any ads to show.

pnl is the panel the other objects get added to and do show OK.

Should the above work?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…