In the last update of Admob, if you use the native ad, it shows a popup with tips about the ad.
https://developers.google.com/admob/android/native/validator
If your implementation has no issues, you can disable the validator warning putting this line in the manifest:
AddApplicationText(...
Across the forum, there are pieces of code that you can put together to make native ads work. I put everything together into a class that saves me a lot of time, and hopefully you will find it helpful also.
This example uses a pre-built layout and uses the Unified Native Ad for the type of...
I inserted the following code into the example code for Native Ads as originally posted by Erel here.
Dim MediaView As JavaObject
MediaView.InitializeNewInstance("com/google/android/gms/ads/formats/MediaView".Replace("/", "."), Array(ctxt))
content.AddView(MediaView, 0, 0, 100dip, 100dip)...
This is my sub with Media View implemented and not working, how can i implement the Erel's mediaview code in this sub?
Erel's code:
Dim MediaView As JavaObject
MediaView.InitializeNewInstance("com/google/android/gms/ads/formats/MediaView".Replace("/", "."), Array(ctxt))...