SASMediationAdElement

open class SASMediationAdElement : SASAdElementInfo

Class holding main information about a mediation Ad.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Constant value set when the ad size is not defined.
Link copied to clipboard
The name of the mediation adapter class.
Link copied to clipboard
open var mediationAdContent: SASMediationAdContent
The SASMediationAdContent object containing the fetched mediation Ad.
Link copied to clipboard
The name of the mediation SDK.

Functions

Link copied to clipboard
Returns the SAS pixel url used to count clicks on this mediation ad impression
Link copied to clipboard
Returns the format type of this SASAdElement
Link copied to clipboard
open fun getHeight(): Int
Returns the ad height if available or SASMediationAdElement.
Link copied to clipboard
Returns the SAS pixel url used to count this mediation ad impression
Link copied to clipboard
open fun getInsertionID(): Int
Returns the id of the insertion of the mediation ad.
Link copied to clipboard
open fun getInsertionId(): Int
Returns the id of the insertion of the mediation ad.
Link copied to clipboard
Returns the Map containing all needed parameters to perform the mediation ad call
Link copied to clipboard
open fun getWidth(): Int
Returns the ad width if available or SASMediationAdElement.
Link copied to clipboard
open fun setClickCountUrl(@Nullable clickCountUrl: String)
Sets the SAS pixel url used to count clicks on this mediation ad impression
Link copied to clipboard
open fun setFormatType(@NonNull formatType: SASFormatType)
Sets the format type for this SASAdElement
Link copied to clipboard
open fun setHeight(height: Int)
Sets ad height
Link copied to clipboard
open fun setImpressionUrl(@Nullable impressionUrl: String)
Sets the SAS pixel url used to count this mediation ad impression
Link copied to clipboard
open fun setInsertionID(insertionID: Int)
Sets the id of the insertion of the mediation ad.
Link copied to clipboard
open fun setInsertionId(insertionId: Int)
Sets the id of the insertion of the mediation ad.
Link copied to clipboard
open fun setPlacementConfigHashMap(@Nullable placementConfigHashMap: HashMap<String, String>)
Sets the Map containing all needed parameters to perform the mediation ad call
Link copied to clipboard
open fun setWidth(width: Int)
Sets ad width