SASAdPlacement

open class SASAdPlacement

Class representing an ad placement

Constructors

Link copied to clipboard
constructor(siteId: Long, @NonNull pageName: String, formatId: Long, @Nullable keywordTargeting: String, @Nullable supplyChainObjectString: String, master: Boolean)
Creates a SASAdPlacement instance from specified parameters
constructor(siteId: Long, pageId: Long, formatId: Long, @Nullable keywordTargeting: String, @Nullable supplyChainObjectString: String, master: Boolean)
Creates a SASAdPlacement instance from specified parameters
constructor(siteId: Long, pageId: Long, formatId: Long, @Nullable target: String, @Nullable supplyChainObjectString: String)
Creates a SASAdPlacement instance from specified parameters
constructor(siteId: Long, @NonNull pageName: String, formatId: Long, @Nullable target: String, @Nullable supplyChainObjectString: String)
Creates a SASAdPlacement instance from specified parameters
constructor(siteId: Long, pageId: Long, formatId: Long, @Nullable target: String)
Creates a SASAdPlacement instance from specified parameters
constructor(siteId: Long, @NonNull pageName: String, formatId: Long, @Nullable target: String)
Creates a SASAdPlacement instance from specified parameters

Properties

Link copied to clipboard
Link copied to clipboard
open val formatId: Long
Link copied to clipboard
Test placement returning an in-app bidding response for a banner ad.
Link copied to clipboard
Test placement returning an in-app bidding response for an interstitial ad.
Link copied to clipboard
Test placement returning an in-app bidding response for a rewarded ad.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Test placement that will return a MRAID banner ad.
Link copied to clipboard
Test placement that will return a MRAID interstitial ad.
Link copied to clipboard
Test placement returning a native ad containing a cover and some text
Link copied to clipboard
Test placement returning a native ad containing an icon, a cover and some text
Link copied to clipboard
Test placement returning a native ad containing and icon and some text
Link copied to clipboard
Test placement returning a native ad containing some text only
Link copied to clipboard
open val pageId: Long
Link copied to clipboard
Link copied to clipboard
Test placement that will return a parallax banner ad.
Link copied to clipboard
Test placement that will return a rewarded video interstitial ad with an end card.
Link copied to clipboard
open val siteId: Long
Link copied to clipboard
Test placement that will return a video 360° interstitial ad.
Link copied to clipboard
Test placement that will return a video interstitial ad.
Link copied to clipboard
Test placement returning a native ad containing some text only
Link copied to clipboard
Test placement that will return a Video Read 360° banner ad.
Link copied to clipboard
Test placement that will return a Video Read banner ad.

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Equals method to define equality between two SASAdPlacement instances
Link copied to clipboard
open fun hashCode(): Int
Overriden hashcode method to be consistent with equals() override
Link copied to clipboard
open fun isMaster(): Boolean
Returns whether this placement is a master or a slave placement
Link copied to clipboard
open fun toString(): String
Returns a String representing this SASAdPlacement
Link copied to clipboard
open fun usesPageName(): Boolean
Returns whether this placement relies on a page name or a page Id.