Class of android.adservices.adselection · AdSelectionManager.java · Android's reference
public class AdSelectionManager
On-device ad selection (Off: no ad services). Each call ends in onError with IllegalStateException.
public static AdSelectionManager get(Context context) sourcepublic void selectAds(AdSelectionConfig adSelectionConfig, Executor executor, OutcomeReceiver<AdSelectionOutcome, Exception> receiver) sourcepublic void reportImpression(ReportImpressionRequest request, Executor executor, OutcomeReceiver<Object, Exception> receiver) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.