Skip to content

NativeAdOptions

The NativeAdOptions class configures preferences for rendering native overlay ads.

Properties

media_aspect_ratio / MediaAspectRatio

The preferred aspect ratio for media content displayed within the native ad.

var media_aspect_ratio: NativeMediaAspectRatio.Values
public NativeMediaAspectRatio MediaAspectRatio { get; set; }

ad_choices_placement / AdChoicesPlacement

The preferred screen corner overlay placement for the AdChoices icon.

var ad_choices_placement: AdChoicesPlacement.Values
public AdChoicesPlacement AdChoicesPlacement { get; set; }

video_options / VideoOptions

The custom video configurations applied to any video elements inside the native ad.

var video_options: AdVideoOptions
public AdVideoOptions VideoOptions { get; set; }