AdvertisementParameters

A container that stores all the important information and objects for creating and managing an advertising request.

Constructors

Link copied to clipboard
constructor(contentId: String, adTypes: List<String>, wi: UInt? = null, timeoutAfterSeconds: UInt? = null, profiles: HashMap<String, String> = hashMapOf(), keywords: List<String> = listOf(), gdprPd: Boolean? = null, serverSideHeaderBidding: Boolean? = null, campaignId: String? = null, bannerId: String? = null, placementType: PlacementType = PlacementType.INLINE, dsa: DSA? = null, targetURLHandler: TargetURLHandlerInterface? = null)

Creates a container that stores all the important information and objects for creating and managing an advertising request with the content unit id.

constructor(learningTag: Map<String, String>, adTypes: List<String>, wi: UInt? = null, timeoutAfterSeconds: UInt? = null, profiles: HashMap<String, String> = hashMapOf(), keywords: List<String> = listOf(), gdprPd: Boolean? = null, serverSideHeaderBidding: Boolean? = null, campaignId: String? = null, bannerId: String? = null, placementType: PlacementType = PlacementType.INLINE, dsa: DSA? = null, targetURLHandler: TargetURLHandlerInterface? = null)

Creates a container that stores all the important information and objects for creating and managing an advertising request with the learning tag.

Properties

Link copied to clipboard

All possible renderer names supported by your application.

Link copied to clipboard

The SDK provides functionality to request a specific banner from the backend.

Link copied to clipboard

The SDK provides functionality to request a specific campaign from the backend.

Link copied to clipboard

Unique ID of a content space in the ADITION ad-serving platform.

Link copied to clipboard
val dsa: DSA?

Digital Service Act (“DSA”) is a EU regulation which aims among other things to increase transparency on online platforms for users in relation to recommended content – including advertising.

Link copied to clipboard

If your app passes personal information as part of the user profiles, you can set an gdprPd parameter when creating an Advertisement.

Link copied to clipboard

The keyword targeting is a simple comma separated list of keywords that can be used to make partial or complete keyword list targeting.

Link copied to clipboard

Key-value pairs that are attached to content units.

Link copied to clipboard

Enum class describing the expected type of placement for the Advertisement.

Link copied to clipboard

When requesting an advertisement it is possible to send application targeting profiles which can be used to select the correct banner that should be delivered.

Link copied to clipboard

Defines, if the request should also consider the server side header bidding.

Link copied to clipboard

The object responsible for processing the URL that the SDK wants to open in the browser.

Link copied to clipboard

Timeout for specific ad request.

Link copied to clipboard
val wi: UInt?

The SDK provides functionality to organize window ids so that inclusion and exclusion filters can be evaluated.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)