requestNativeAd

abstract fun requestNativeAd(@NonNull context: Context, @NonNull serverParametersString: String, @NonNull clientParameters: Map<String, Any>, @NonNull nativeAdAdapterListener: SASMediationNativeAdAdapterListener)

Requests a mediated native ad asynchronously

Parameters

context

the android.content.Context needed by the mediation SDK to make the ad request

serverParametersString

a String containing all needed parameters (as returned by Smart ad delivery) to make the mediation call

clientParameters

additional client-side parameters (user specific, like location)

nativeAdAdapterListener

the SASMediationNativeAdAdapterListener provided to this SASMediationAdapter to notify Smart SDK of events occurring on the mediated native ad