Builder

class Builder

Builder class for GfpNativeSimpleAdOptions

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Constructs a GfpNativeSimpleAdOptions object with the specified attributes.

Link copied to clipboard

Sets whether to allow impression measurement of views even if the ad is rendered while the app is in the background.

Link copied to clipboard

Sets the placement of AdChoices icon (if present). The value should be one of ADCHOICES_TOP_LEFT, ADCHOICES_TOP_RIGHT, ADCHOICES_BOTTOM_LEFT, ADCHOICES_BOTTOM_RIGHT. The default value is ADCHOICES_TOP_RIGHT.

Link copied to clipboard

Sets the background style for the light mode.

Link copied to clipboard

Sets the background style for dark mode.

Link copied to clipboard
Link copied to clipboard

Sets the min height set in the native simple ad set to bottom align

Link copied to clipboard
Link copied to clipboard

Sets the native template options

Link copied to clipboard

Sets whether the ad choices icon should be placed in the corner of the GfpNativeSimpleAdView or the corner of the creative.

Link copied to clipboard