Builder

class Builder

Helper class to configure AdswizzAdRequest

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Builds an AdswizzAdRequest object

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String

Prints current Builder values

Link copied to clipboard

Set custom analytics data used for analytics events. Optional.

Link copied to clipboard

Set a companion zone aliases list. Optional.

Link copied to clipboard

Set a companion zone ids list. Optional.

Link copied to clipboard

Set AdswizzPrivacyConsent used for encapsulating all consents used by AdswizzSDK. Optional

Link copied to clipboard

Set additional custom parameters to AdswizzAdRequest. Optional. Note that it should be only used at the recommendation of AdsWizz. All parameters must be URL encoded.

Link copied to clipboard

Set maximum total duration of ads to be selected (AdBreak duration) in milliseconds. Optional

Link copied to clipboard

Set the http protocol. Default is "https". Possible values: "http", "https".

Link copied to clipboard

MacroContext used to encapsulate all macro expansion used by AdswizzSDK.

Link copied to clipboard

Set a referrer. Optional.

Link copied to clipboard

Set the Adswizz ad server. This info is mandatory.

Link copied to clipboard

Set the shim zone in case request should fill the ad break with shim ads

Link copied to clipboard

Set the tags used for requesting the ads. Optional.

Link copied to clipboard

Set vast protocol version. Default is "4.0". Possible values: "4.0", "4.1".

Link copied to clipboard

Set the zone alias referencing external zone. Optional.

Link copied to clipboard

Set the zones on which the request will be made. Mandatory.