Android Question Firebase Admob Native Ads

Too many parameters.

upload_2019-9-19_10-10-47.png
 
Last edited:
Upvote 0
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
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.

my code are as follows,

Code: Copy
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
Back
Top