I need to add an advertising code (ADMOB) for kids,
I saw an example from 2016 and added. But I only see banner ads for adults.
Is it okay to see adult ads?
An intermediate ad for kids I need the code in full. Thanks
--------Erel------4/2016-------
LoadAdWithTagForChildDirectedTreatment(adview1)
End Sub
Sub LoadAdWithTagForChildDirectedTreatment (ad As AdView)
Dim jo As JavaObject
jo.InitializeNewInstance("com.google.android.gms.ads.AdRequest$Builder", Null)
jo = jo.RunMethodJO("tagForChildDirectedTreatment", Array(True)).RunMethod("build", Null)
Dim jo2 As JavaObject = ad
jo2.RunMethod("loadAd", Array(jo))
End Sub
--------------------------
I saw an example from 2016 and added. But I only see banner ads for adults.
Is it okay to see adult ads?
An intermediate ad for kids I need the code in full. Thanks
--------Erel------4/2016-------
LoadAdWithTagForChildDirectedTreatment(adview1)
End Sub
Sub LoadAdWithTagForChildDirectedTreatment (ad As AdView)
Dim jo As JavaObject
jo.InitializeNewInstance("com.google.android.gms.ads.AdRequest$Builder", Null)
jo = jo.RunMethodJO("tagForChildDirectedTreatment", Array(True)).RunMethod("build", Null)
Dim jo2 As JavaObject = ad
jo2.RunMethod("loadAd", Array(jo))
End Sub
--------------------------