Builder

Builder class for creating AdParam instances

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Adds a custom parameter. Please contact NAM admin before using this.

Link copied to clipboard

Adds a keyword for targeting. Please contact NAM admin before using this.

Link copied to clipboard

Adds a prebid parameter

Link copied to clipboard
fun build(): AdParam

Builds and returns an AdParam instance

Link copied to clipboard

Sets the ad unit ID. This is mandatory.

Link copied to clipboard

Sets the APS parameter

Link copied to clipboard

Sets content information

Link copied to clipboard

Sets the current page URL

Link copied to clipboard
fun setCustomParam(customParam: Map<out String?, String?>): AdParam.Builder

Sets custom parameters. Please contact NAM admin before using this.

Link copied to clipboard

Sets keywords for targeting. Please contact NAM admin before using this.

Link copied to clipboard
fun setPrebidParam(prebidParam: Map<out String?, String?>): AdParam.Builder

Sets prebid parameters

Link copied to clipboard

Sets the referer page URL

Link copied to clipboard

Sets the video content length. Currently NAM does not support Video ad.

Link copied to clipboard

Sets the video request ID

Link copied to clipboard

Sets whether a reminder ad is needed for this video request

Link copied to clipboard

Sets the video start delay

Link copied to clipboard

Sets the video schedule ID. Please check with NAM admin.