GoogleMobileAds.Api.NativeAdOptions

Ad options for configuring the view of native ads.

Summary

Constructors and Destructors

NativeAdOptions()
Create a new default NativeAdOptions object.
NativeAdOptions(NativeAdOptions options)
Create a new NativeAdOptions object.

Public attributes

AdChoicesPlacement
Sets the placement of AdChoices icon (if present).
MediaAspectRatio
Image and video aspect ratios.
VideoOptions
Sets the VideoOptions object.

Public attributes

AdChoicesPlacement

AdChoicesPlacement AdChoicesPlacement

Sets the placement of AdChoices icon (if present).

Default is TopRightCorner.

MediaAspectRatio

MediaAspectRatio MediaAspectRatio

Image and video aspect ratios.

Default is Unknown.

VideoOptions

VideoOptions VideoOptions

Sets the VideoOptions object.

Public functions

NativeAdOptions

 NativeAdOptions()

Create a new default NativeAdOptions object.

NativeAdOptions

 NativeAdOptions(
  NativeAdOptions options
)

Create a new NativeAdOptions object.