Android Question Firebase Admob Native Ads

DonManfred

Expert
Licensed User
Longtime User
NAd.Initialize("NAd","ca-app-pub-6386760469853814/9104576082",100%x,height)
in your NAD.Initialize you are using two additional parameters. Activity and testing. Additional you are using much more params as expected.
what are the two 10dip values for? maybe you are trying to position left and top where there is no way to set them? Initialize only needs Eventprefix, ID, width and height.
 
Upvote 0

sentechnologies

Member
Licensed User

my code are as follows,

B4X:
Private NAd As NativeExpressAd
NAd.Initialize("NAd","ca-app-pub-6386760469853814/9104576082",100%x,height)

Activity.AddView(NAd,0dip, 100%y - height, 100%x, height)

NAd.LoadAd

code compiled, but displays nothing
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…