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

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

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.

Create a Mobile Website
View Site in Mobile | Classic
Share by: