InfeedBannerPlacement

Placement used for obtaining banner ads.

Properties

Link copied to clipboard

Setting for Google collapsible banners. Default is null, meaning disabled support for collapsible banners.

Link copied to clipboard

Sets the impression listener for the given placement.

Link copied to clipboard

Set the placement listener that will listen to ad loading and display events.

Link copied to clipboard

Sets the statistics listener that will be notified about placement reporting events, like counted adspace, request etc.

Inherited properties

Link copied to clipboard
abstract val name: String

Functions

Link copied to clipboard
abstract fun cancel(request: BannerRequest)

Cancels the given banner request.

Link copied to clipboard
abstract fun countAdSpace()

Counts the adspace for statistics. Can only be called if manual adspace counting is used.

Link copied to clipboard
abstract fun enableCreativeHistory(size: Int)

Enables the banner creative history.

Link copied to clipboard
abstract fun getCreativeHistory(): Array<PlacementHistoryInfo>?

Retrieves the banner creative history (if it was enabled).

Link copied to clipboard
abstract fun requestAd(request: BannerRequest, listener: BannerRequestCompletionListener?)

Requests a new banner ad.