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
The associated content URL for semantic categorization.
Link copied to clipboard
open val formatId: Long
The formatId of this ad placement.
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
The keyword targeting string of this ad placement.
Link copied to clipboard
A map of client side parameters to be forwarded to mediation adapters.
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
The pageId of this ad placement.
Link copied to clipboard
The pageName of this ad placement.
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
List of all SASSellerDefinedAudience objects related to this placement.
Link copied to clipboard
List of all SASSellerDefinedContent objects related to this placement.
Link copied to clipboard
open val siteId: Long
The siteId of this ad placement.
Link copied to clipboard
A Supply Chain Object string representation that will be sent during ad loading to receive more relevant advertising if needed, null otherwise.
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.