Package-level declarations
Contains all public entities related to responses from the ad server that you will encounter when working with the AdSDK.
Types
Link copied to clipboard
class AdMetadata(val networkId: Int, val campaignId: String, val bannerId: String, val contentUnit: String, val adType: String, val adName: String?, var adData: MutableMap<String, String>?, var renderConfig: JSONObject? = null, val height: Int?, val width: Int?, val aspectRatio: Float?, var durationMetadata: AdMetadata.DurationMetadata?, var rendererMetadata: MutableMap<String, Any>? = null, val isDSAButtonShown: Boolean) : Parcelable
A class that contains the basic data about the advertisement and renderer.
Link copied to clipboard
data class AdResponse(val adType: String, val bannerId: String, val adName: String = "", val body: AdResponse.Body? = null, val campaignId: String, val clickUrl: String, val contentUnitId: String, val files: List<AdResponse.FileItem>, val height: Int, val logId: String, val networkId: Int, val options: AdResponse.Options, val placementType: String, val width: Int) : Parcelable
The data received from the ad server and decoded by the SDK.
Link copied to clipboard
A class that includes both AdResponse and the full JSON response received from the ad server.