SASAd Element
This class represents an ad object as returned by the ad servers.
Inheritors
Properties
Link copied to clipboard
ArrayList of adloaded tracking pixels.
Link copied to clipboard
The Bidding Ad Price of the SASAdElement, if any.
Link copied to clipboard
Constant value for a centered bottom close button.
Link copied to clipboard
Constant value for a bottom left close button.
Link copied to clipboard
Constant value for a bottom right close button.
Link copied to clipboard
Constant value for a centered close button.
Link copied to clipboard
Constant value for a centered top close button.
Link copied to clipboard
Constant value for a top left close button.
Link copied to clipboard
Constant value for a top right close button.
Link copied to clipboard
Constant value set when the creative size is not defined.
Link copied to clipboard
Array of tracking events.
Functions
Link copied to clipboard
returns the Ad call date of the ad (EPOCH)
Link copied to clipboard
Returns Ad display duration (for interstitial only)
Link copied to clipboard
Returns the AdResponse string the AdElement is created from.
Link copied to clipboard
Returns the Base url for html contents of this SASAdElement instance
Link copied to clipboard
Returns the list of mediation ads received from the ad delivery
Link copied to clipboard
Returns the click pixel URL called when this ad is clicked
Link copied to clipboard
Returns the click url for this SASAdElement instance
Link copied to clipboard
Returns the close button appearance delay
Link copied to clipboard
Link copied to clipboard
Return a debug info String that describes this creative
Link copied to clipboard
Returns a HashMap containing the extra parameters present in the ad, if any.
Link copied to clipboard
Returns the format type of this SASAdElement
Link copied to clipboard
Returns the html contents of this SASAdElement instance
Link copied to clipboard
Returns the impression pixel list, as comma separated string
Link copied to clipboard
Returns an array of impression pixel urls from the internal String description
Link copied to clipboard
Returns Ad insertion id
Link copied to clipboard
Returns the inventory Id of the ad.
Link copied to clipboard
Returns the creative height in landscape mode if available or SASAdElement.
Link copied to clipboard
Returns the creative width in landscape mode if available or SASAdElement.
Link copied to clipboard
Returns the network id of the ad.
Link copied to clipboard
Returns the creative height if available or SASAdElement.
Link copied to clipboard
Returns the creative width if available or SASAdElement.
Link copied to clipboard
Returns the creative script url
Link copied to clipboard
Returns the mediation ad that was selected from the list and will be displayed
Link copied to clipboard
Returns the expiration date of this Ad
Link copied to clipboard
Returns the tracking script that should be loaded alongside the creative.
Link copied to clipboard
Returns whether the creative be closed when it is clicked.
Link copied to clipboard
Returns whether a countdown should be displayed while waiting for the close button to appear
Link copied to clipboard
Returns whether this ad (only for interstitial) should be displayed on top of current activity
Link copied to clipboard
Returns TRUE if there is an impression pixel in the ad markup, false otherwise.
Link copied to clipboard
Returns whether an ad can be closed using a swipe gesture.
Link copied to clipboard
Sets the ad call date of the ad (milliseconds, EPOCH).
Link copied to clipboard
Sets Ad display duration (for interstitial only)
Link copied to clipboard
Sets the AdResponse string this AdElement is created from.
Link copied to clipboard
Returns the html contents to set on this SASAdElement instance
Link copied to clipboard
Sets the list of mediation ads received from the ad delivery
Link copied to clipboard
Sets the click pixel URL called when this ad is clicked
Link copied to clipboard
Sets the click url for this SASAdElement instance
Link copied to clipboard
Sets the close button appearance delay
Link copied to clipboard
Link copied to clipboard
Sets whether the creative be closed when it is clicked.
Link copied to clipboard
Sets whether a countdown should be displayed while waiting for the close button to appear
Link copied to clipboard
open fun setDisplayInterstitialViewOnCurrentActivity(displayInterstitialViewOnCurrentActivity: Boolean)
Sets whether this ad (only for interstitial) should be displayed on top of current activity
Link copied to clipboard
Sets a HashMap containing the extra parameters for this ad.
Link copied to clipboard
Sets the format type for this SASAdElement
Link copied to clipboard
Returns the html contents to set on this SASAdElement instance
Link copied to clipboard
Sets the information about the impression pixel in the ad markup.
Link copied to clipboard
Sets the impression pixel list, as comma separated string
Link copied to clipboard
Sets Ad insertion id
Link copied to clipboard
Sets the inventory Id of the ad.
Link copied to clipboard
Sets the height of the creative in landscape mode
Link copied to clipboard
Sets the width of the creative in landscape mode
Link copied to clipboard
Sets the network id of the ad.
Link copied to clipboard
Sets the the creative height
Link copied to clipboard
Sets creative width
Link copied to clipboard
Sets the creative script url
Link copied to clipboard
Sets the mediation ad that was selected from the list and will be displayed
Link copied to clipboard
Sets whether an ad can be closed using a swipe gesture.
Link copied to clipboard
Sets the expiration date for this Ad
Link copied to clipboard
Sets the tracking script that should be loaded alongside the creative.