NativeAdOptions
data class NativeAdOptions(val mediaAspectRatio: NativeMediaAspectRatio = NativeMediaAspectRatio.Any, val disableImageLoading: Boolean = false, val requestMultipleImages: Boolean = false, val adChoicesPlacement: AdChoicesPlacement = AdChoicesPlacement.TopRight, val videoOptions: NativeVideoOptions = NativeVideoOptions(), val customClickGesture: NativeCustomClickGesture? = null)(source)
Options for native ad requests and rendering.
Constructors
Link copied to clipboard
constructor(mediaAspectRatio: NativeMediaAspectRatio = NativeMediaAspectRatio.Any, disableImageLoading: Boolean = false, requestMultipleImages: Boolean = false, adChoicesPlacement: AdChoicesPlacement = AdChoicesPlacement.TopRight, videoOptions: NativeVideoOptions = NativeVideoOptions(), customClickGesture: NativeCustomClickGesture? = null)
Properties
Link copied to clipboard
Placement of the AdChoices icon.
Link copied to clipboard
Custom click gesture. Android only. Ignored on iOS.
Link copied to clipboard
Disable image loading by the SDK (load images yourself).
Link copied to clipboard
Preferred media aspect ratio.
Link copied to clipboard
Request multiple images per image asset (where the creative provides them).
Link copied to clipboard
Options for native video ads.